This package provides tools for analyzing Tidal Modulation of slow and fast Earthquakes.
Follow these steps to get started quickly:
- Clone the repository and install dependencies:
git clone https://github.com/Weifan-Lu/TiMEpy.git
pip install numpy matplotlib scipy
cd TiMEpy/ex_ridgecrest
-
Run the complete analysis:
All scripts are integrated
python main_run.py
-
Run each step separately:
- Create output:
python ex_pre0_create_output.py
- Select catalog:
python ex_pre1_select_catalog.py
- Decluster using NNA:
python ex_pre2_decluster_NNA.py
- Convert strain to stress:
python ex_pre3_strain_to_stress.py
- Calculate tidal phase:
python ex_ana1_calc_tidal_phase.py
- Entire region analysis:
python ex_ana2_entire_region.py
- Temporal variation analysis:
python ex_ana3_temp_variation.py
- b-value computation:
python ex_ana4_b_value.py
- Create output:
For a comprehensive, step-by-step tutorial on using TiMEpy, refer to the Simple_tutorial.ipynb file—a detailed guide developed using Jupyter Notebook
In addition to the earthquake catalog, tidal strain is also essential. Tidal strain is generated using TidalStrain.2, developed by Dr. Fuyuki Hirose. Once you have completed testing the examples and are ready to analyze your actual data, please use TidalStrain.2 to obtain the tidal strain. Detailed analysis and practical experience are documented within the TidalStrain.2 file.
For further information or support, please contact [[email protected]] Homepage: https://weifan-lu.github.io/