get_detector_psf¶
- pysaber.get_detector_psf(pix_wid, det_pars)¶
Function to compute point spread function (PSF) of detector blur.
- Parameters
pix_wid (float) – Effective width of each detector pixel. Note that this is the effective pixel size given by dividing the physical width of each detector pixel by the zoom factor of the optical lens.
det_pars (dict) – Dictionary containing the estimated parameters of detector PSF. It consists of several key-value pairs. The value for key
detector_FWHM_1
is the FWHM of the first density function in the mixture density model for detector blur. The first density function is the most dominant part of detector blur. The value for keydetector_FWHM_2
is the FWHM of the second density function in the mixture density model. This density function has the largest FWHM and models the long running tails of the detector blur’s PSF. The value for keydetector_weight_1
is between0
and1
and is a measure of the amount of contribution of the first density function to the detector blur. The values for keyscutoff_FWHM_1_multiplier
andcutoff_FWHM_2_multiplier
decide the non-zero spatial extent of the detector PSF. The PSF is clipped to zero beginning at a distance, as measured from the PSF’s origin, equal to the maximum ofdet_pars['cutoff_FWHM_1_multiplier']
timesdet_pars['detector_FWHM_1']/2
anddet_pars['cutoff_FWHM_2_multiplier']
timesdet_pars['detector_FWHM_2']/2
.
- Returns
PSF of detector
- Return type
numpy.ndarray