When the MFT detector sampling is not equal to the wavefront oversampling the correct value is not passed to the output FITS file header.
Example code:
osys = poppy.OpticalSystem(oversample=18)
osys.add_pupil(poppy.CircularAperture())
osys.add_detector(0.1, fov_pixels=30,oversample=10)
psf=osys.calc_psf()
psf[0].header["OVERSAMP"], psf[0].header["DET_SAMP"]
returns:
(18,18)
rather than (18,10) as expected.
When the MFT detector sampling is not equal to the wavefront oversampling the correct value is not passed to the output FITS file header.
Example code:
returns:
(18,18)rather than
(18,10)as expected.