gwcs.coordinate_frames.get_ctype_from_ucd

gwcs.coordinate_frames.get_ctype_from_ucd(ucd)

Return the FITS CTYPE corresponding to a UCD1 value.

Parameters:

ucd (str) – UCD string, for example one of `WCS.world_axis_physical_types.

Returns:

CTYPE – The corresponding FITS CTYPE value or an empty string.

Return type:

str