Skip to content

Rename assign_wcs "grism" frames to "dispersed" #10014

@stscijgbot-jp

Description

@stscijgbot-jp

Issue JP-4185 was created on JIRA by Ned Molter:

Now that MIRI is adding support for a WFSS mode, the names "grism_detector" and "grism_slit" for WFSS-related WCS frames are no longer good names.  MIRI does not have a grism.

This ticket suggests renaming those to "dispersed_detector" and "dispersed_slit".

These names are assigned in the assign_wcs step and the extract_2d step, and called downstream in at least wfss_contam.

For code maintenance reasons, we would like to avoid having multiple names for frames that fundamentally represent the same thing, so we'd like to change these for all modes: NIRISS, NIRCam, and MIRI.

This may have impacts on user or INS workflows if they are accessing transforms or frames of the WCS directly via e.g. wcs.get_transform("grism_detector", "detector")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions