Stack¶
- class baseband_tasks.combining.Stack(ihs, axis=1, *, atol=None, samples_per_frame=None)[source] [edit on github]¶
Bases:
baseband_tasks.combining.CombineStreamsBase
Stack streams along a new axis.
- Parameters
- ihstuple of task or
baseband
stream readers Input data streams.
- axisint
New axis along which to stack the samples. Should be a sample axis and thus cannot be 0.
- 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.
- ihstuple of task or
See also
Concatenate
to concatenate streams along an existing axis
CombineStreams
to combine streams with a user-supplied function
Methods Summary
task
(data)Stack the pieces of data.
Methods Documentation
- task(data)[source] [edit on github]¶
Stack the pieces of data.