obspy.signal.spectral_estimation.PPSD.load_npz

static PPSD.load_npz(filename, metadata=None)[source]

Load previously computed PPSD results.

Load previously computed PPSD results from a compressed numpy binary in npz format, written with write_npz(). If more data are to be added and processed, metadata have to be specified again during loading because they are not stored in the npz format.

Parameters:
  • filename (str) Name of numpy .npz file with stored PPSD data
  • metadata (Inventory or xseed Parser or str or dict) Response information of instrument. See notes in PPSD.__init__() for details.