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

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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