GeocentricCoordinates¶
- class sofia_redux.scan.coordinate_systems.geocentric_coordinates.GeocentricCoordinates(coordinates=None, unit='degree', copy=True)[source]¶
Bases:
SphericalCoordinates
Initialize geocentric coordinates.
Geocentric coordinates (also known as the Earth-centered, Earth-fixed coordinate system, or ECEF) represent locations on the Earth surface as longitude latitude positions.
- Parameters:
- coordinateslist or tuple or array-like or units.Quantity, optional
The coordinates used to populate the object during initialization. The first (0) value or index should represent longitudinal coordinates, and the second should represent latitude.
- unitunits.Unit or str, optional
The angular unit for the spherical coordinates. The default is ‘degree’.
- copybool, optional
Whether to explicitly perform a copy operation on the input coordinates when storing them into these coordinates. Note that it is extremely unlikely for the original coordinates to be passed in as a reference due to the significant checks performed on them.
Attributes Summary
Return the two-letter code for the Geodetic coordinate system.
Methods Summary
copy
()Return a copy of the geocentric coordinates.
edit_header
(header, key_stem[, alt])Edit the header with geocentric coordinate information.
Return the default and local default coordinate system.
Attributes Documentation
- EAST = 1¶
- NORTH = 1¶
- SOUTH = -1¶
- WEST = -1¶
- two_letter_code¶
Return the two-letter code for the Geodetic coordinate system.
- Returns:
- codestr
Methods Documentation