# autolens.SettingsImaging¶

class autolens.SettingsImaging(grid_class=<class 'autoarray.structures.grids.two_d.grid_2d.Grid2D'>, grid_inversion_class=<class 'autoarray.structures.grids.two_d.grid_2d.Grid2D'>, sub_size: int = 1, sub_size_inversion=4, fractional_accuracy: float = 0.9999, sub_steps: List[int] = None, signal_to_noise_limit: Optional[float] = None, signal_to_noise_limit_radii: Optional[float] = None, use_normalized_psf: Optional[bool] = True)
__init__(grid_class=<class 'autoarray.structures.grids.two_d.grid_2d.Grid2D'>, grid_inversion_class=<class 'autoarray.structures.grids.two_d.grid_2d.Grid2D'>, sub_size: int = 1, sub_size_inversion=4, fractional_accuracy: float = 0.9999, sub_steps: List[int] = None, signal_to_noise_limit: Optional[float] = None, signal_to_noise_limit_radii: Optional[float] = None, use_normalized_psf: Optional[bool] = True)

The lens dataset is the collection of data_type (image, noise-map, PSF), a mask, grid, convolver and other utilities that are used for modeling and fitting an image of a strong lens.

Whilst the image, noise-map, etc. are loaded in 2D, the lens dataset creates reduced 1D arrays of each for lens calculations.

Parameters: grid_class (ag.Grid2D) – The type of grid used to create the image from the Galaxy and Plane. The options are Grid2D, and Grid2DIterate (see the Grid2D documentation for a description of these options). grid_inversion_class (ag.Grid2D) – The type of grid used to create the grid that maps the LinearEqn source pixels to the data’s image-pixels. The options are Grid2D and Grid2DIterate. (see the Grid2D documentation for a description of these options). sub_size – If the grid and / or grid_inversion use a Grid2D, this sets the sub-size used by the Grid2D. fractional_accuracy – If the grid and / or grid_inversion use a Grid2DIterate, this sets the fractional accuracy it uses when evaluating functions. sub_steps ([int]) – If the grid and / or grid_inversion use a Grid2DIterate, this sets the steps the sub-size is increased by to meet the fractional accuracy when evaluating functions. signal_to_noise_limit – If input, the dataset’s noise-map is rescaled such that no pixel has a signal-to-noise above the signa to noise limit. psf_shape_2d – The shape of the PSF used for convolving model image generated using analytic light profiles. A smaller shape will trim the PSF relative to the input image PSF, giving a faster analysis run-time.

Methods

 __init__([grid_class, grid_inversion_class, …]) The lens dataset is the collection of data_type (image, noise-map, PSF), a mask, grid, convolver and other utilities that are used for modeling and fitting an image of a strong lens. grid_from(mask) grid_inversion_from(mask)