def __init__(self, phase_name, phase_tagging=True, phase_folders=None, galaxies=None, use_intensities=False,<EOL>use_convergence=False,<EOL>use_potential=False,<EOL>use_deflections=False, optimizer_class=non_linear.MultiNest, sub_grid_size=<NUM_LIT:2>,<EOL>mask_function=None, cosmology=cosmo.Planck15):
super(GalaxyFitPhase, self).__init__(phase_name=phase_name, phase_tagging=phase_tagging,<EOL>phase_folders=phase_folders,<EOL>optimizer_class=optimizer_class, cosmology=cosmology)<EOL>self.use_intensities = use_intensities<EOL>self.use_convergence = use_convergence<EOL>self.use_potential = use_potential<EOL>self.use_deflections = use_deflections<EOL>self.galaxies = galaxies<EOL>self.sub_grid_size = sub_grid_size<EOL>self.mask_function = mask_function<EOL>
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