Struct marlu::pos::xyz::XyzGeodetic[][src]

pub struct XyzGeodetic {
    pub x: f64,
    pub y: f64,
    pub z: f64,
}
Expand description

The geodetic (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

Convert XyzGeodetic coordinates at a latitude to ENH coordinates.

Convert XyzGeodetic coordinates at a latitude to ENH coordinates. This function is less convenient than XyzGeodetic::to_enh(), but is slightly more efficient because the caller can prevent needless sin and cos calculations.

Convert XyzGeodetic coordinates at the MWA’s latitude to ENH coordinates.

Convert a XyzGeodetic coordinate to XyzGeocentric.

Convert a XyzGeodetic coordinate to XyzGeocentric. This function is less convenient than XyzGeodetic::to_geocentric, but may be better in tight loops as the arguments to this function don’t need to be uselessly re-calculated.

Convert a XyzGeodetic coordinate to XyzGeocentric, using the MWA’s location.

For each tile listed in an mwalib::MetafitsContext, calculate a XyzGeodetic coordinate.

Note that the RF inputs are ordered by antenna number, not the “input”; e.g. in the metafits file, Tile104 is often the first tile listed (“input” 0), Tile103 second (“input” 2), so the first baseline would naively be between Tile104 and Tile103.

For each tile listed in an mwalib::MetafitsContext, calculate a XyzGeodetic coordinate assuming the MWA’s latitude.

Note that the RF inputs are ordered by antenna number, not the “input”; e.g. in the metafits file, Tile104 is often the first tile listed (“input” 0), Tile103 second (“input” 2), so the first baseline would naively be between Tile104 and Tile103.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

The resulting type after applying the - operator.

Performs the - operation. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.