pyepr.dataset.downconvert_dataset¶
- pyepr.dataset.downconvert_dataset(dataset, filter_type='boxcar', IF=None, reduce=True, sampling_rate=None, **kwargs)[source]¶
Downconvert a dataset to baseband using a filter
- Parameters:
- datasetxr.DataArray
The dataset to downconvert
- filter_typestr, optional
The type of filter to use, by default ‘boxcar’. Other options are ‘cheby’ and a Pulse object
- filter_widthfloat, optional
The width of the filter in MHz or ns depending on filter tyre, by default 20 ns for boxcar and 50 MHz for cheby.
- IFfloat, optional
The intermediate frequency to use, by default 0.15
- reducebool, optional
If True, the dataset is reduced to a single point, by default True
- **kwargsdict
Extra arguments to pass to the filter function
- Returns:
- xr.DataArray
The downconverted dataset