pub struct ObsContext {
    pub sched_start_timestamp: Epoch,
    pub sched_duration: Duration,
    pub name: Option<String>,
    pub field_name: Option<String>,
    pub project_id: Option<String>,
    pub observer: Option<String>,
    pub phase_centre: RADec,
    pub pointing_centre: Option<RADec>,
    pub array_pos: LatLngHeight,
    pub ant_positions_enh: Vec<ENH>,
    pub ant_names: Vec<String>,
}
Expand description

A container for observation metadata common across most file types

Fields

sched_start_timestamp: Epoch

Scheduled start time

sched_duration: Duration

Scheduled duration

name: Option<String>

Observation name

field_name: Option<String>

Name of field being observed

project_id: Option<String>

The project ID of the observation

observer: Option<String>

The observer or creator of the observation

phase_centre: RADec

The phase centre.

pointing_centre: Option<RADec>

The pointing centre.

array_pos: LatLngHeight

The Earth position of the instrumental array

ant_positions_enh: Vec<ENH>

TODO: store in ENH or geodetic? The geodetic position of each antenna. The east-north-height position of each antenna

ant_names: Vec<String>

The name of each antenna / tile.

Implementations

Trait Implementations

Formats the value using the given formatter. 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

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.