# obspy.signal.util.rdct¶

rdct(x, n=0)[source]

Computes discrete cosine transform of given signal. Signal is truncated/padded to length n.

Params x: signal to compute discrete cosine transform window length (default: signal length) discrete cosine transform