Struct marlu::context::MwaObsContext
source · [−]pub struct MwaObsContext {
pub ant_inputs: Array2<usize>,
pub ant_numbers: Vec<usize>,
pub ant_receivers: Vec<usize>,
pub ant_slots: Array2<usize>,
pub ant_cable_lengths: Array2<f64>,
pub coarse_chan_recs: Vec<usize>,
pub has_calibrator: bool,
pub mode: String,
pub delays: Vec<u32>,
}
Expand description
An extension of ObsContext
that for MWA-specific metadata that is not
present in some file types like uvfits.
Fields
ant_inputs: Array2<usize>
Antenna input numbers. [ant_idx][pol]
ant_numbers: Vec<usize>
Antenna tile numbers
ant_receivers: Vec<usize>
Antenna receiver numbers
ant_slots: Array2<usize>
Antenna slot numbers. [ant_idx][pol]
ant_cable_lengths: Array2<f64>
Antenna slot numbers. [ant_idx][pol]
coarse_chan_recs: Vec<usize>
Coarse Channel Receiver Numbers
has_calibrator: bool
Whether the observation has a calibrator
mode: String
MWA Observation Mode. See: [mwalib::MetafitsContext::obs_mode
]
delays: Vec<u32>
Tile pointing delays
Implementations
sourceimpl MwaObsContext
impl MwaObsContext
pub fn from_mwalib(meta_ctx: &MetafitsContext) -> Self
Auto Trait Implementations
impl RefUnwindSafe for MwaObsContext
impl Send for MwaObsContext
impl Sync for MwaObsContext
impl Unpin for MwaObsContext
impl UnwindSafe for MwaObsContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more