nenupy.instru.instrument_tools.sb2freq

nenupy.instru.instrument_tools.sb2freq(subband)[source]

Conversion between NenuFAR sub-band index \(n_{\rm SB}\) to sub-band starting frequency \(\nu_{\rm start}\).

\[\nu_{\rm start} = n_{\rm SB} \times \Delta \nu\]

Each NenuFAR sub-band has a bandwidth of \(\Delta \nu = 195.3125\, \rm{kHz}\), therefore, the sub-band \(n_{\rm SB}\) goes from \(\nu_{\rm start}\) to \(\nu_{\rm stop} = \nu_{\rm start} + \Delta \nu\).

Parameters:

subband (int or ndarray of int) – Sub-band index (from 0 to 511).

Returns:

Sub-band start frequency \(\nu_{\rm start}\) in MHz.

Return type:

Quantity

Example:
from nenupy.instru import sb2freq

sb2freq(subband=1)
sb2freq(subband=[1, 2, 3, 4])