obspy.signal.invsim.invert_spectrum

invert_spectrum(spec, wlev)[source]

Invert Spectrum and shrink values under water-level of max spec amplitude.

The water-level is given in db scale.

Note:

In place operations on spec, translated from PITSA spr_sinv.c

Parameters: