aspcore.pseq.decorrelate

aspcore.pseq.decorrelate(sig, pseq, v=0)

Can be used to identify a LTI system from a PSEQ input signal

Parameters:
  • sig (ndarray of shape (num_channels, num_samples)) – the signal that has been convolved with the system

  • pseq (ndarray of shape (1, num_samples,)) – the perfect sequence that was used as input to the system

  • v (int) – index between 0 and PSEQ period length declares which index should be considered the start of the sequence

Returns:

ir – the estimated impulse response of the system

Return type:

ndarray of shape (num_channels, num_samples)