aspcore.pseq.create_pseq_random_phase

aspcore.pseq.create_pseq_random_phase(seq_len: int, rng=None)

Creates a perfect sweep with random phase and constant magnitude spectrum

Parameters:

seq_len (int) – length of the sequence in samples

Returns:

seq

Return type:

ndarray of shape (1, seq_len)