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 for center_freq and freq_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 same chan_bw.

axisint or ‘time’ or ‘freq’, optional

Axis along which to concatenate signals. Default is 0. time is an alias for 0 (concatenating along time). freq implies axis=1 (concatenating along frequency) and requires that signals are instances of RadioSignal.

Returns:
Signal

Concatenated signal of same type as input signals.