fluxcompensator.psf.FunctionPSF¶
-
class
fluxcompensator.psf.
FunctionPSF
(psf_function, width)¶ Convolves 2D val with defined PSF function.
Parameters: psf_function : method
Method
psf_function(X, Y, wavelength)
depends on: the pixel coordinates in x and y direction and the wavelength of the current slice.width : int
Ratio of pixel area of val slice to PSF function slice.
Methods
convolve
(wav, array[, resolution])Actually convolves 2D val array with defined PSF. Methods (detail)
-
convolve
(wav, array, resolution=None)¶ Actually convolves 2D val array with defined PSF.
Parameters: wav : float
Wavelength of val array in microns.
array : numpy.ndarray
Flux array of SyntheticCube or SyntheticImage.
resolution :
None
Just here to keep convolve_PSF in FluxCompensator working.
Returns: val : numpy.ndarray
2D val arrays convolved with PSF.
-