Skip to content

Detector shape for predicted sectors #25

@ben-cassese

Description

@ben-cassese

Hello!

In tesswcs.py, when creating a WCS for a sector that's already been archived, the attribute wcs.pixel_shape is set to (wcs.pixel_shape = (rcolumns, rrows). This correctly sets the detector shape to 2136 x 2078. However, when creating a new WCS for a predicted sector, wcs.pixel_shape is set to wcs.pixel_shape = (rrows, rcolumns), which incorrectly flips the order. Note that pixel_shape sets the order of the wcs._naxis array, which is then used elsewhere.

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