Skip to content

new use case and enforcing odd parity of PSFs #4

@rchwn

Description

@rchwn

In a public fork of this repo https://github.com/rchwn/jwst_kernels I made a minor change to make_psf.py, where the resample factor is now set to 5 (from 4) and parity is forced to be odd. This ensures the PSF generated by stpsf has the maximum centered on a single pixel.

The other change is the addition of a new function process_source_psf() in kernel_core.py so that one can instantiate the parent class without needing to refer to a target PSF, and save the processed source PSF (same Aniano processing from the original version of kernel_core.py). Just copied it to a new function.

I put some test scripts along with the version of kernel_core.py from the main branch of jwst_kernels so you can compare side by side.

Tagging @francbelf , @akleroy , @thomaswilliamsastro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions