gwcs.wcs.Step

class gwcs.wcs.Step(frame, transform=None)

Bases: object

Represents a step in the WCS pipeline.

Parameters:
  • frame (str | CoordinateFrameProtocol) – A gwcs coordinate frame object.

  • transform (Mdl, default: None) – A transform from this step’s frame to next step’s frame. The transform of the last step should be None.

Attributes

property Step.frame: CoordinateFrameProtocol
property Step.frame_name: str
property Step.inverse: Mdl
property Step.transform: Mdl

Methods

copy()

Step.copy()
Return type:

Self