def __init__(self, phase_name, phase_tagging=True, phase_folders=None, galaxies=None, use_intensities=False,
                 use_convergence=False,
                 use_potential=False,
                 use_deflections=False, optimizer_class=non_linear.MultiNest, sub_grid_size=2,
                 mask_function=None, cosmology=cosmo.Planck15):
        """
        A phase in an lens pipeline. Uses the set non_linear optimizer to try to fit models and hyper
        passed to it.

        Parameters
        ----------
        optimizer_class: class
            The class of a non_linear optimizer
        sub_grid_size: int
            The side length of the subgrid
        """

        super(GalaxyFitPhase, self).__init__(phase_name=phase_name, phase_tagging=phase_tagging,
                                             phase_folders=phase_folders,
                                             optimizer_class=optimizer_class, cosmology=cosmology)
        self.use_intensities = use_intensities
        self.use_convergence = use_convergence
        self.use_potential = use_potential
        self.use_deflections = use_deflections
        self.galaxies = galaxies
        self.sub_grid_size = sub_grid_size
        self.mask_function = mask_function
def __init__ ( self , phase_name , phase_tagging = True , phase_folders = None , galaxies = None , use_intensities = False , use_convergence = False , use_potential = False , use_deflections = False , optimizer_class = non_linear . MultiNest , sub_grid_size = 2 , mask_function = None , cosmology = cosmo . Planck15 ) : super ( GalaxyFitPhase , self ) . __init__ ( phase_name = phase_name , phase_tagging = phase_tagging , phase_folders = phase_folders , optimizer_class = optimizer_class , cosmology = cosmology ) self . use_intensities = use_intensities self . use_convergence = use_convergence self . use_potential = use_potential self . use_deflections = use_deflections self . galaxies = galaxies self . sub_grid_size = sub_grid_size self . mask_function = mask_function
A phase in an lens pipeline. Uses the set non_linear optimizer to try to fit models and hyper
        passed to it.

        Parameters
        ----------
        optimizer_class: class
            The class of a non_linear optimizer
        sub_grid_size: int
            The side length of the subgrid