Skip to content

tsawi/specufex_preprocessing

Repository files navigation

specufex_preprocessing

1_makeWaveformsDataset.py :

Script for loading a folder of waveforms into properly formatted HDF5 file. Must add path names, station parameters, and other user-specific settings into functions/setParams.py and functions/generators.py.

input :: Folder of waveforms (most seismic data formats accepted), catalog (csv)

output :: new HDF5 of waveforms

2_convertToSpectrograms.py

Script for converting HDF5 waveforms to HDF5 spectrograms for use in SpecUFEx. Must update the spectrogram parameters in functions/setParams.py

input :: HDF5 of waveforms

output :: new HDF5 of spectrograms

3_runSpecUFEx.py

Script for running SpecUFEx(1) on HDF5 of spectrograms, using Python implementation(2). Saves output to H5.

input :: HDF5 of spectrograms

output :: Same HDF5, updated with output from SpecUFEx

References

(1) Holtzman et al., 2018; Machine learning reveals cyclic changes in seismic source spectra in Geysers geothermal field. Science Advances. 4. eaao2929. 10.1126/sciadv.aao2929.

(2) Nate Groebner reference https://github.com/ngroebner/specufex

About

Preprocessing steps for SpecUFEx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages