Skip to content

DET_OVERSAMP header keyword does not return detector oversampling #201

@douglase

Description

@douglase

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions