Open
Description
Take for example this:
w = WCS(forward_transform=m.Tabular1D(points=np.arange(10)*u.pix,
lookup_table=np.arange(10)*u.km),
output_frame=frame,
input_frame=cf.CoordinateFrame(1, "PIXEL", (0,), unit=(u.pix,))
)
w.world_to_pixel(0*u.km)
The w.input_frame
property returns the output frame because they have the same name (defaults to the name of the class).
Metadata
Assignees
Labels
No labels
Activity
Fix test fail to work around spacetelescope#327
Cadair commentedon May 31, 2022
What would a good fix to this be? I keep running into it and it's really confusing till I remember.