pulsarbat.concatenate#
- pulsarbat.concatenate(signals, /, axis=0)[source]#
Concatenates multiple signals along given axis.
Signals must be contiguous along the axis of concatenation. The concatenated signal will inherit attributes from given
kwargs
and then from the first signal in the sequence,signals[0]
, except forcenter_freq
andfreq_align
when concatenating along frequency (which must be computed accordingly).- Parameters:
- signalssequence of
Signal
Sequence of signals to concatenate. All signals must be Signal objects and have the same type and
sample_rate
. If concatenating along frequency, then they must also have the samechan_bw
.- axis
int
or ‘time’ or ‘freq’, optional Axis along which to concatenate signals. Default is 0.
time
is an alias for 0 (concatenating along time).freq
impliesaxis=1
(concatenating along frequency) and requires that signals are instances of RadioSignal.
- signalssequence of
- Returns:
Signal
Concatenated signal of same type as input signals.