Getting Started
Instrument
Astronomy
Simulation
Observation management
Data reading
Contents:
Changelog
Conversion between the frequency \(\nu\) and the NenuFAR sub-band index \(n_{\rm SB}\). Each NenuFAR sub-band has a bandwidth of \(\Delta \nu = 195.3125\, \rm{kHz}\):
frequency (Quantity) – Frequency to convert in sub-band index.
Quantity
Sub-band index, same shape as frequency.
frequency
int or ndarray
int
ndarray
from nenupy.instru import freq2sb import astropy.units as u freq2sb(frequency=50.5*u.MHz) freq2sb(frequency=[50.5, 51]*u.MHz)