Skip to content

Deprecate repeated functions in stcal #10115

@stscijirahub

Description

@stscijirahub

Issue JP-4216 was created on JIRA by Timothy Brandt:

Several functions in stcal are unused or are effectively duplicates of functions elsewhere:

outlier_detection.utils.calc_gwcs_pixmap is effectively a duplicate of drizzle.utils.calc_pixmap

outlier_detection.utils.resample is used only by outlier_detection.utils.calc_gwcs_pixmap

alignment.resample_utils.calc_pixmap is effectively a duplicate of drizzle.utils.calc_pixmap and does not seem to be used anyway

alignment.util.reproject is effectively a duplicate of outlier_detection.utils.reproject, and does not appear to be used outside of alignment.resample_utils.calc_pixmap

All will be deprecated.  The calc_pixmap and calc_gwcs_pixmap functions will be mostly removed with only a line to use the drizzle version instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions