hera_sim.utils.get_bl_len_magnitude¶
- hera_sim.utils.get_bl_len_magnitude(bl_len_ns: float | ndarray | Sequence) float [source]¶
Get the magnitude of the length of the given baseline.
- Parameters:
bl_len_ns – The baseline length in nanosec (i.e. 1e9 * metres / c). If scalar, interpreted as E-W length, if len(2), interpreted as EW and NS length, otherwise the full [EW, NS, Z] length. Unspecified dimensions are assumed to be zero.
- Returns:
mag – The magnitude of the baseline length.