This repository provides a Python code for generating cross-section plots in seismology research. The method offers an easy and efficient way to create cross-sections, allowing you to analyze hypocenter distribution.
- Easy cross-section generation: Learn a step-by-step approach to project hypocenters onto section lines, obtain projected coordinates, and write projection data.
- Contiguous cross-sections: Generate a set of n contiguous cross-sections with a desired width.
- Flexible visualization options
- Alternative to Pygmt: This repository provides an alternative solution for cross-section generation without relying on the Pygmt library.
Follow the instructions below to get started with using cross-section generation:
- Installation: Install the required Python libraries by running '*pip install -r requirements.txt'.
- Data preparation: Prepare your event catalog in the required format.
The following Python libraries are used in this project:
- NumPy
- Shapely
- Matplotlib
- Obspy
Open the Jupyter Notebook in Google Colab:
Contributions to this repository are welcome! If you have any suggestions/improvements/bug fixes, please feel free to submit a pull request.
This project is licensed under the MIT License.
Emmanuel Guzman Vitola [email protected]