SkyCoordTableCoordinate¶
- class ndcube.extra_coords.table_coord.SkyCoordTableCoordinate(*tables, mesh=False, names=None, physical_types=None)[source]¶
Bases:
BaseTableCoordinate
A lookup table created from a
SkyCoord
.If mesh is
True
in this class thennumpy.meshgrid
is called when the class is constructed, this is to allow slicing operations on the tables which make the length of the dimensions different.Attributes Summary
Generate the Frame for this LookupTable.
Generate the Astropy Model for this LookupTable.
Number of pixel dimensions in this table.
Methods Summary
combine_slices
(slice1, slice2)Return a boolean if this coordinate is a scalar.
Attributes Documentation
- frame¶
Generate the Frame for this LookupTable.
- model¶
Generate the Astropy Model for this LookupTable.
- n_inputs¶
Methods Documentation
- is_scalar()[source]¶
Return a boolean if this coordinate is a scalar.
This is used by
MultipleTableCoordinate
andExtraCoords
to know if the dimension has been “dropped”.