gwcs.wcs.DirectionalWCS

class gwcs.wcs.DirectionalWCS(wcs, forward)

Bases: Generic

Dataclass to hold the WCS and the direction of the WCS’s pipeline between two frames.

Note that the public use of this class is intended only for use on the full WCS class, which is a subclass of Pipeline.

Variables:
  • wcs – The WCS object that represents the pipeline between two frames.

  • forward – A boolean indicating if the pipeline is forward, True, (from_frame to to_frame) or backward (to_frame to from_frame), False.

Parameters:
  • wcs (TypeVar(Wcs, bound= _BasePipeline))

  • forward (bool)

Attributes

DirectionalWCS.wcs: Wcs
DirectionalWCS.forward: bool

Methods