Skip to content

allow large sources to be split into multiple chunks in wfss_contam #9955

@stscijgbot-jp

Description

@stscijgbot-jp

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

Currently, if a single source in the direct image / segmentation map input to the wfss_contam step is larger than the max_pixels_per_chunk parameter, that source is skipped with a warning.

There are real direct image sources, e.g. relatively nearby galaxies, that can span over 100k pixels, which is larger than the default chunk size.

The chunking logic should be updated to allow these sources to process in multiple chunks, then get reconstructed into a single slit.

We may want to still emit warnings for sources that are larger than a certain size – these are often caused by a bad segmentation map, so it might be worth nudging the user to re-check the segmentation map.

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