# Path: frbpoppy/paths.py
# class Paths():
#     def __init__(self):
#     def __str__(self):
#     def check(self, path):
#     def store(self, name, default, *args):
#     def data(self, *args):
#     def populations(self, *args):
#     def surveys(self, *args):
#     def models(self, *args):
#     def frbcat(self, *args):


import numpy as np
import frbpoppy.galacticops as go
from scipy.special import j1
from frbpoppy.paths import paths
"""Functions for calculating the intensity of points in a beam."""



def get_beam_props(model, fwhm):
    """Get beam properties.

    Args:
        model (str): Which model to use.
        fwhm (float): FWHM [frac. deg].

    Returns:
        beam_size, pixel_scale, beam_array

    """
    # Set up beam arrays
    models = ('wsrt-apertif', 'parkes-htru', 'chime-frb', 'gaussian', 'airy',
              'wsrt-apertif_real')
    if model in models:

# Path: frbpoppy/paths.py
# class Paths():
#     def __init__(self):
#     def __str__(self):
#     def check(self, path):
#     def store(self, name, default, *args):
#     def data(self, *args):
#     def populations(self, *args):
#     def surveys(self, *args):
#     def models(self, *args):
#     def frbcat(self, *args):


# Path: frbpoppy/beam_dists.py
import numpy as np
import frbpoppy.galacticops as go
from scipy.special import j1
from frbpoppy.paths import paths

"""Functions for calculating the intensity of points in a beam."""



def get_beam_props(model, fwhm):
    """Get beam properties.

    Args:
        model (str): Which model to use.
        fwhm (float): FWHM [frac. deg].

    Returns:
        beam_size, pixel_scale, beam_array

    """
    # Set up beam arrays
    models = ('wsrt-apertif', 'parkes-htru', 'chime-frb', 'gaussian', 'airy',
              'wsrt-apertif_real')
    if model in models:

        place = paths.models() + f'/beams/{model}.npy'