edges_cal.tools.FrequencyRange.from_edges
- classmethod FrequencyRange.from_edges(n_channels: int = 32768, max_freq: float = <Quantity 200. MHz>, keep_full: bool = True, f_low=<Quantity 0. MHz>, f_high=<Quantity inf MHz>, **kwargs) FrequencyRange [source]
Construct a
FrequencyRange
object with underlying EDGES freqs.- Parameters:
n_channels (int) – Number of channels
max_freq (float) – Maximum frequency in original measurement.
keep_full – Whether to keep the full underlying frequency array, or just the part of the array inside the mask.
f_low, f_high – A frequency range to keep.
kwargs – All other arguments passed through to
FrequencyRange
.
- Returns:
FrequencyRange
– The FrequencyRange object with the correct underlying frequencies.
Notes
This is correct. The channel width is the important thing. The channel width is given by the FFT. We actually take 32678*2 samples of data at 400 Mega-samples per second. We only use the first half of the samples (since it’s real input). Regardless, the frequency channel width is thus 400 MHz / (32678*2) == 200 MHz / 32678 ~ 6.103 kHz