pub struct UVW {
pub u: f64,
pub v: f64,
pub w: f64,
}
Expand description
The (u,v,w) coordinates of a baseline. All units are in terms of wavelength, with units of metres.
Fields§
§u: f64
u coordinate [meters]
v: f64
v coordinate [meters]
w: f64
w coordinate [meters]
Implementations§
source§impl UVW
impl UVW
sourcepub fn from_xyz(xyz: XyzGeodetic, phase_centre: HADec) -> UVW
pub fn from_xyz(xyz: XyzGeodetic, phase_centre: HADec) -> UVW
Convert an XyzGeodetic
to UVW
, given the phase centre.
This is Equation 4.1 of: Interferometry and Synthesis in Radio Astronomy, Third Edition, Section 4: Geometrical Relationships, Polarimetry, and the Measurement Equation.
sourcepub fn from_xyz_inner(
xyz: XyzGeodetic,
s_ha: f64,
c_ha: f64,
s_dec: f64,
c_dec: f64
) -> UVW
pub fn from_xyz_inner( xyz: XyzGeodetic, s_ha: f64, c_ha: f64, s_dec: f64, c_dec: f64 ) -> UVW
Convert an XyzGeodetic
to UVW
, given the phase centre. This
function is less convenient than UVW::from_xyz
, but may be better in
tight loops as the sin
and cos
of the phase centre don’t need to be
uselessly re-calculated.
This is Equation 4.1 of: Interferometry and Synthesis in Radio Astronomy, Third Edition, Section 4: Geometrical Relationships, Polarimetry, and the Measurement Equation.