freq_to_chan

Radio_Astronomy.freq_to_chan(frequency, bandwidth, n_chans)

Returns the channel number where a given frequency is to be found.

:param frequency : same units as bandwidth :type frequency : float

:param bandwidth : same units as frequency :type bandwidth : float

:param n_chans : number of channels in the band :type n_chans : int