Struct marlu::pos::enh::ENH[][src]

pub struct ENH {
    pub e: f64,
    pub n: f64,
    pub h: f64,
}
Expand description

East, North and Height coordinates.

Fields

e: f64

East [metres]

n: f64

North [metres]

h: f64

Height [metres]

Implementations

Convert coords in local topocentric East, North, Height units to ‘local’ XyzGeodetic units. Local means Z points north, X points through the equator from the geocenter along the local meridian and Y is East. This is like the absolute system except that zero longitude is now the local meridian rather than prime meridian. Latitude is geodetic, in radians. This is what you want for constructing the local antenna positions in a UVFITS antenna table.

Taken from the third edition of Interferometry and Synthesis in Radio Astronomy, chapter 4: Geometrical Relationships, Polarimetry, and the Measurement Equation.

Convert coords in local topocentric East, North, Height units to ‘local’ XyzGeodetic units. See ENH::to_xyz() for more information. This function is less convenient than ENH::to_xyz(), but is slightly more efficient because the caller can prevent needless sin and cos calculations.

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

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

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.