obspy.signal.spectral_estimation.PPSD.load_npz

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

Load previously computed PPSD results.

Load previously computed PPSD results from a compressed numpy binary in npz format, written with save_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 Parser or str or dict) – Response information of instrument. See notes in PPSD.__init__() for details.

  • allow_pickle (bool) – Allow the pickle protocol to be used when de-serializing saved PPSDs. This is only required for npz files written by ObsPy versions less than 1.2.0.