CombineStreamsBase¶
- class baseband_tasks.combining.CombineStreamsBase(ihs, *, atol=None, samples_per_frame=None, **kwargs)[source] [edit on github]¶
Bases:
baseband_tasks.base.TaskBase
Base class for combining streams.
Similar to
TaskBase
, where a subclass can define atask
method to operate on data, but specifically for methods that combine data from multiple streams that share a time axis. This base class ensures the operation is possible and that thefrequency
,sideband
, andpolarization
attributes are adjusted similarly.- Parameters
- ihstuple of task or
baseband
stream readers Input data streams.
- atol
Quantity
Tolerance in units of time within which streams should be considered aligned. By default, the lesser of 1 ns or 0.01 sample.
- samples_per_frameint, optional
Number of samples which should be fed to the function in one go. If not given, by default the number from the first underlying file. Useful mostly to change a possibly very large number.
- **kwargs
Additional arguments to be passed on to the base class.
- ihstuple of task or
Methods Summary
close
()Close task.
Methods Documentation
- close()[source] [edit on github]¶
Close task.
Note that this does not explicitly close the underlying source; instead, it just deletes the reference to it.