is_sky_like

jwst.assign_wcs.util.is_sky_like(frame)[source]

Check that a frame is a sky-like frame by looking at its output units.

If output units are either deg or arcsec the frame is considered a sky-like frame (as opposed to, e.g., a Cartesian frame).

Parameters:
frameCoordinateFrame

Coordinate frame to check.

Returns:
bool

True if the frame is sky-like, False otherwise.