Trait birli::io::WriteableVis[][src]

pub trait WriteableVis: Sync + Send {
    fn write_vis_mwalib(
        &mut self,
        jones_array: ArrayView3<'_, Jones<f32>>,
        weight_array: ArrayView3<'_, f32>,
        context: &CorrelatorContext,
        timestep_range: &Range<usize>,
        coarse_chan_range: &Range<usize>,
        baseline_idxs: &[usize]
    ) -> Result<(), IOError>; }
Expand description

The container can accept visibilities by passing in the range of mwalib indices corresponding to the visibilities being written.

Required methods

Write visibilities and weights from the arrays. Timestep, coarse channel and baseline indices are needed for labelling the visibility

Errors

Can throw IOError if there is an issue writing.

TODO: reduce number of arguments.

Implementors