get_ctype_from_ucd

gwcs.coordinate_frames.get_ctype_from_ucd(ucd)[source]

Return the FITS CTYPE corresponding to a UCD1 value.

Parameters:
ucdstr

UCD string, for example one of `WCS.world_axis_physical_types.

Returns:
CTYPEstr

The corresponding FITS CTYPE value or an empty string.