Struct marlu::pos::xyz::XyzGeocentric [−][src]
Expand description
The geocentric (x,y,z) coordinates of an antenna (a.k.a. tile or station). All units are in metres.
This coordinate system is discussed at length in Interferometry and Synthesis in Radio Astronomy, Third Edition, Section 4: Geometrical Relationships, Polarimetry, and the Measurement Equation.
Fields
x: f64
x-coordinate [meters]
y: f64
y-coordinate [meters]
z: f64
z-coordinate [meters]
Implementations
Get a geocentric coordinate vector with the given geodetic coordinates (longitude, latitude and height). The ellipsoid model is WGS84.
Get a geocentric coordinate vector with the MWA’s location. This function just calls XyzGeocentric::get_geocentric_vector with MWA_LONG_RAD, MWA_LAT_RAD and MWA_HEIGHT_M.
Convert a XyzGeocentric coordinate to XyzGeodetic.
pub fn to_geodetic_inner(
self,
geocentric_vector: XyzGeocentric,
sin_longitude: f64,
cos_longitude: f64
) -> XyzGeodetic
pub fn to_geodetic_inner(
self,
geocentric_vector: XyzGeocentric,
sin_longitude: f64,
cos_longitude: f64
) -> XyzGeodetic
Convert a XyzGeocentric coordinate to XyzGeodetic. This function is less convenient than XyzGeocentric::to_geodetic(), but may be better in tight loops as the arguments to this function don’t need to be uselessly re-calculated.
Convert a XyzGeocentric coordinate to XyzGeodetic, using the MWA’s location.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for XyzGeocentric
impl Send for XyzGeocentric
impl Sync for XyzGeocentric
impl Unpin for XyzGeocentric
impl UnwindSafe for XyzGeocentric
Blanket Implementations
Mutably borrows from an owned value. Read more