This repository contains tutorials and scripts to plot seismic data from joint broadband and DAS (Distributed Acoustic Sensing) experiments. The tutorials demonstrate how to work with seismic data, metadata, and produce visualizations for data reports.
.
├── tutorials/
│ ├── python/ # Python tutorial scripts
│ ├── matlab/ # MATLAB tutorial scripts
│ └── notebooks/ # Jupyter notebooks
├── metadata/ # Metadata files for experiments
├── data/ # Sample data (not tracked in git)
├── environment.yml # Conda environment file
└── pixi.toml # Pixi project configuration
conda env create -f environment.yml- Activate the environment:
conda activate seismic-tutorialsPixi is a modern package manager for conda packages.
- Install pixi:
curl -fsSL https://pixi.sh/install.sh | bash- Install dependencies:
pixi install- Run commands in the pixi environment:
pixi run jupyterOr activate the shell:
pixi shellThe following Python packages are included:
- ObsPy: Seismology library for processing seismic data
- NumPy: Numerical computing
- Matplotlib: Plotting and visualization
- Pandas: Data manipulation and analysis
- Jupyter: Interactive notebooks
- SciPy: Scientific computing
- h5py: HDF5 file format support
Navigate to tutorials/python/ and run any tutorial script:
python basic_seismic_plot.pyNavigate to tutorials/matlab/ and run scripts in MATLAB.
Start Jupyter notebook server:
# With conda
jupyter notebook
# With pixi
pixi run jupyterThen navigate to tutorials/notebooks/ in the browser interface.
- Python: Basic seismic data plotting, DAS data visualization
- MATLAB: Seismic waveform analysis
- Notebooks: Interactive tutorials combining broadband and DAS data
Sample data files can be placed in the data/ directory. Due to file size, data files are not tracked in git (see .gitignore).
Common seismic data formats supported:
- MiniSEED (
.mseed) - SAC (
.sac) - HDF5 (
.h5,.hdf5)
Experiment metadata, station information, and instrument responses can be stored in the metadata/ directory.
When adding new tutorials:
- Place Python scripts in
tutorials/python/ - Place MATLAB scripts in
tutorials/matlab/ - Place Jupyter notebooks in
tutorials/notebooks/ - Include docstrings and comments
- Add example outputs or figures when applicable
See LICENSE file for details.
If you use these tutorials or scripts in your research, please cite the associated data report.
For questions or issues, please open an issue on GitHub.