pub fn encode_baseline(
    ant1: usize,
    ant2: usize
) -> Result<f32, MiriadFormatError>
Expand description

Encode a MIRIAD baseline value.

Antenna numbers may be between 0 and 2047, and ant1 must be less than or equal to ant2. In Rubbl’s convention, antenna numbers begin at 0; this is different than MIRIAD!