autocti.ImagingCI#
- class autocti.ImagingCI(data: Array2D, noise_map: Array2D, pre_cti_data: Array2D, layout: Layout2DCI, cosmic_ray_map: Optional[Array2D] = None, noise_scaling_map_dict: Optional[Dict] = None, fpr_value: Optional[float] = None, settings_dict: Optional[Dict] = None)[source]#
A class containing an imaging dataset, including the image data, noise-map and a point spread function (PSF).
- Parameters:
data – The array of the image data, for example in units of electrons per second.
noise_map – An array describing the RMS standard deviation error in each pixel, for example in units of electrons per second.
psf – An array describing the Point Spread Function kernel of the image which accounts for diffraction due to the telescope optics via 2D convolution.
settings – Controls settings of how the dataset is set up (e.g. the types of grids used to perform calculations).
- __init__(data: Array2D, noise_map: Array2D, pre_cti_data: Array2D, layout: Layout2DCI, cosmic_ray_map: Optional[Array2D] = None, noise_scaling_map_dict: Optional[Dict] = None, fpr_value: Optional[float] = None, settings_dict: Optional[Dict] = None)[source]#
A class containing an imaging dataset, including the image data, noise-map and a point spread function (PSF).
- Parameters:
data – The array of the image data, for example in units of electrons per second.
noise_map – An array describing the RMS standard deviation error in each pixel, for example in units of electrons per second.
psf – An array describing the Point Spread Function kernel of the image which accounts for diffraction due to the telescope optics via 2D convolution.
settings – Controls settings of how the dataset is set up (e.g. the types of grids used to perform calculations).
Methods
__init__(data, noise_map, pre_cti_data, layout)A class containing an imaging dataset, including the image data, noise-map and a point spread function (PSF).
apply_mask(mask)Apply a mask to the imaging dataset, whereby the mask is applied to the image data, noise-map and other quantities one-by-one.
apply_settings(settings)Returns a new instance of the imaging with the input SettingsImaging applied to them.
from_fits(layout, pixel_scales[, data_path, ...])Factory for loading the imaging data_type from .fits files, as well as computing properties like the noise-map, exposure-time map, etc.
output_to_fits(data_path[, noise_map_path, ...])set_noise_scaling_map_dict(...)trimmed_after_convolution_from(kernel_shape)Attributes
blurring_gridA property that is only computed once per instance and then replaces itself with an ordinary attribute.
convolverA property that is only computed once per instance and then replaces itself with an ordinary attribute.
imagemasknoise_covariance_matrix_invA property that is only computed once per instance and then replaces itself with an ordinary attribute.
norm_columns_listThe layout describes the 2D regions on the data containing charge whose input signal properties are know beforehand (e.g.
pixel_scalespre_cti_data_residual_mapThe residuals of the data and the pre CTI data.
region_listshape_nativeshape_slimsignal_to_noise_mapThe estimated signal-to-noise_maps mappers of the image.
signal_to_noise_maxThe maximum value of signal-to-noise_maps in an image pixel in the image's signal-to-noise_maps mappers.
w_tildeA property that is only computed once per instance and then replaces itself with an ordinary attribute.