def __init__(self, aperture='slit', mass_profile='power_law', light_profile='Hernquist', anisotropy_type='r_ani',
                 psf_fwhm=0.7, kwargs_cosmo={'D_d': 1000, 'D_s': 2000, 'D_ds': 500}):
        """
        initializes the observation condition and masks
        :param aperture_type: string
        :param psf_fwhm: float
        """
        self._mass_profile = mass_profile
        self._fwhm = psf_fwhm
        self._kwargs_cosmo = kwargs_cosmo
        self.lightProfile = LightProfileOld(light_profile)
        self.aperture = Aperture(aperture)
        self.anisotropy = Anisotropy(anisotropy_type)
        self.FWHM = psf_fwhm
        self.jeans_solver = JeansSolver(kwargs_cosmo, mass_profile, light_profile, anisotropy_type)
def __init__ ( self , aperture = 'slit' , mass_profile = 'power_law' , light_profile = 'Hernquist' , anisotropy_type = 'r_ani' , psf_fwhm = 0.7 , kwargs_cosmo = { 'D_d' : 1000 , 'D_s' : 2000 , 'D_ds' : 500 } ) : self . _mass_profile = mass_profile self . _fwhm = psf_fwhm self . _kwargs_cosmo = kwargs_cosmo self . lightProfile = LightProfileOld ( light_profile ) self . aperture = Aperture ( aperture ) self . anisotropy = Anisotropy ( anisotropy_type ) self . FWHM = psf_fwhm self . jeans_solver = JeansSolver ( kwargs_cosmo , mass_profile , light_profile , anisotropy_type )
initializes the observation condition and masks
        :param aperture_type: string
        :param psf_fwhm: float