PSDVals

Synthetic Power Spectral Densities and their waveforms

A helper class for tiskitpy.SeafloorSynthetic

Constructors

Properties

  • freqs (list): monotonically increasing frequencies

  • values (list): PSD values corresponding to each frequency

  • value_units (str): The units of the PSD values

Dependent Properties

  • accel_as_vel: returns a PSDVals object with values divided by 2*pi*f

Methods

  • copy: Deep copy of the object

  • resample: Resample the data using interpolation, modifying the object

  • resample_values: Resample the data using interpolation, returning just the resampled values

  • plot: Plot the PSD

  • as_trace: Return a obspy.Trace with the given spectral shape

Static Methods

Example

None for now