├── .DS_Store ├── .github └── workflows │ └── codeql-analysis.yml ├── LICENSE ├── MANIFEST.in ├── MCMTpy.egg-info ├── PKG-INFO ├── SOURCES.txt ├── dependency_links.txt ├── entry_points.txt ├── requires.txt └── top_level.txt ├── MCMTpy ├── .DS_Store ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-38.pyc │ └── info.cpython-38.pyc ├── __version__.py ├── apps │ ├── .DS_Store │ ├── MCMTpy.py │ ├── __init__.py │ └── __pycache__ │ │ ├── MCMTpy.cpython-38.pyc │ │ └── __init__.cpython-38.pyc ├── gfs │ ├── .DS_Store │ ├── __init__.py │ ├── __pycache__ │ │ ├── Func_S1_cal_gfs.cpython-38.pyc │ │ ├── Func_S1_read_json.cpython-38.pyc │ │ ├── S1_built_GFs.cpython-38.pyc │ │ ├── __init__.cpython-38.pyc │ │ └── build_GFs.cpython-38.pyc │ ├── build_GFs.py │ ├── pyfk_GFs │ │ ├── .DS_Store │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-38.pyc │ │ │ ├── build_GFs_pyfk.cpython-38.pyc │ │ │ ├── cal_gfs.cpython-38.pyc │ │ │ └── read_json.cpython-38.pyc │ │ ├── build_GFs_pyfk.py │ │ ├── cal_gfs.py │ │ └── read_json.py │ └── sem_GFs │ │ ├── .DS_Store │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-38.pyc │ │ └── build_GFs_sem.cpython-38.pyc │ │ └── build_GFs_sem.py ├── info.py ├── plotting │ ├── .DS_Store │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-38.pyc │ │ └── plot.cpython-38.pyc │ ├── plot.py │ └── pyfk_plot │ │ ├── .DS_Store │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-38.pyc │ │ ├── plot_accept_ratio.cpython-38.pyc │ │ ├── plot_hist.cpython-38.pyc │ │ ├── plot_misfit.cpython-38.pyc │ │ └── plot_waveform.cpython-38.pyc │ │ ├── plot_accept_ratio.py │ │ ├── plot_hist.py │ │ ├── plot_misfit.py │ │ └── plot_waveform.py ├── sampler │ ├── .DS_Store │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-38.pyc │ │ └── sample.cpython-38.pyc │ ├── grid │ │ ├── .DS_Store │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-38.pyc │ │ │ ├── read_grid_json.cpython-38.pyc │ │ │ ├── read_sampler_json.cpython-38.pyc │ │ │ ├── sample_MH.cpython-38.pyc │ │ │ ├── sample_grid.cpython-38.pyc │ │ │ └── sampler_module.cpython-38.pyc │ │ ├── read_grid_json.py │ │ ├── sample_grid.py │ │ └── sampler_module.py │ ├── pyfk_MH │ │ ├── .DS_Store │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-38.pyc │ │ │ ├── read_sampler_json.cpython-38.pyc │ │ │ ├── sample_MH.cpython-38.pyc │ │ │ └── sampler_module.cpython-38.pyc │ │ ├── read_sampler_json.py │ │ ├── sample_MH.py │ │ └── sampler_module.py │ └── sample.py ├── syn │ ├── .DS_Store │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-38.pyc │ │ └── syn.cpython-38.pyc │ ├── pyfk_syn │ │ ├── .DS_Store │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-38.pyc │ │ │ └── syn_pyfk.cpython-38.pyc │ │ └── syn_pyfk.py │ ├── sem_syn │ │ ├── .DS_Store │ │ └── __init__.py │ └── syn.py └── utils │ ├── .DS_Store │ ├── MomentTensor.py │ ├── __init__.py │ ├── __pycache__ │ ├── MomentTensor.cpython-38.pyc │ ├── __init__.cpython-38.pyc │ ├── asdf_function.cpython-38.pyc │ ├── distaz.cpython-38.pyc │ └── rotate.cpython-38.pyc │ ├── asdf_function.py │ ├── distaz.py │ └── rotate.py ├── README.rst ├── build ├── .DS_Store └── lib │ ├── .DS_Store │ ├── MCMTpy │ ├── __init__.py │ ├── __version__.py │ ├── apps │ │ ├── MCMTpy.py │ │ └── __init__.py │ ├── gfs │ │ ├── __init__.py │ │ ├── build_GFs.py │ │ ├── pyfk_GFs │ │ │ ├── __init__.py │ │ │ ├── build_GFs_pyfk.py │ │ │ ├── cal_gfs.py │ │ │ └── read_json.py │ │ └── sem_GFs │ │ │ ├── __init__.py │ │ │ └── build_GFs_sem.py │ ├── info.py │ ├── plotting │ │ ├── __init__.py │ │ ├── plot.py │ │ └── pyfk_plot │ │ │ ├── __init__.py │ │ │ ├── plot_accept_ratio.py │ │ │ ├── plot_hist.py │ │ │ ├── plot_misfit.py │ │ │ └── plot_waveform.py │ ├── sampler │ │ ├── __init__.py │ │ ├── grid │ │ │ ├── __init__.py │ │ │ ├── read_gird_json.py │ │ │ ├── read_grid_json.py │ │ │ ├── sample_grid.py │ │ │ └── sampler_module.py │ │ ├── pyfk_MH │ │ │ ├── __init__.py │ │ │ ├── read_sampler_json.py │ │ │ ├── sample_MH.py │ │ │ └── sampler_module.py │ │ └── sample.py │ ├── syn │ │ ├── __init__.py │ │ ├── pyfk_syn │ │ │ ├── __init__.py │ │ │ └── syn_pyfk.py │ │ ├── sem_syn │ │ │ └── __init__.py │ │ └── syn.py │ └── utils │ │ ├── MomentTensor.py │ │ ├── __init__.py │ │ ├── asdf_function.py │ │ ├── distaz.py │ │ └── rotate.py │ └── test │ └── __init__.py ├── data ├── .DS_Store └── example_yunnan │ ├── .DS_Store │ └── Jupyter_notebook │ ├── .DS_Store │ ├── S1_figure │ ├── .DS_Store │ ├── Alpha.pdf │ └── Alpha.png │ ├── S1_inversion.ipynb │ ├── S2_decompose.ipynb │ ├── S2_figure │ ├── Decompose.pdf │ ├── Hudson.pdf │ └── beachball.pdf │ └── dc_inv_files │ ├── MathJax.js │ └── require.min.js ├── dist └── MCMTpy-0.1.0a1-py3.8.egg ├── docs ├── .DS_Store ├── .vscode │ └── settings.json ├── Makefile ├── Sphinx-user-docs.txt ├── build │ ├── .DS_Store │ ├── doctrees │ │ ├── README.doctree │ │ ├── applications.doctree │ │ ├── environment.pickle │ │ ├── examples.doctree │ │ ├── index.doctree │ │ ├── installation.doctree │ │ ├── references.doctree │ │ ├── tutorial.doctree │ │ ├── tutorial_detailed.doctree │ │ └── tutorials │ │ │ ├── S1_Build_GFs.doctree │ │ │ ├── S2_Syn_Waveform.doctree │ │ │ ├── S3_Process_Data.doctree │ │ │ ├── S4_Inv_DC.doctree │ │ │ ├── S5_Plot_Result.doctree │ │ │ ├── S6_Conver_FM.doctree │ │ │ ├── S7_Plot_Beachball.doctree │ │ │ ├── S8_Decompose_MT.doctree │ │ │ ├── S9_Plot_Hudson.doctree │ │ │ ├── S9_Plot_Huston.doctree │ │ │ ├── create_observed_asdf_file.doctree │ │ │ ├── parallel_pyflex.doctree │ │ │ ├── process_observed.doctree │ │ │ └── source_receiver_geometry.doctree │ ├── html │ │ ├── .DS_Store │ │ ├── .buildinfo │ │ ├── _images │ │ │ ├── Decompose.png │ │ │ ├── Decompose1.png │ │ │ ├── Green_Function_Database.png │ │ │ ├── Hudson_plot.png │ │ │ ├── alpha.png │ │ │ ├── beachball.png │ │ │ ├── beachball1.png │ │ │ ├── hist.png │ │ │ ├── hist1.png │ │ │ ├── hist_accept.png │ │ │ ├── logo.gif │ │ │ ├── misfit.png │ │ │ ├── misfit1.png │ │ │ ├── station_location.png │ │ │ ├── waveform.png │ │ │ └── waveform1.png │ │ ├── _sources │ │ │ ├── index.rst.txt │ │ │ ├── installation.rst.txt │ │ │ ├── references.rst.txt │ │ │ ├── tutorial.rst.txt │ │ │ ├── tutorial_detailed.rst.txt │ │ │ └── tutorials │ │ │ │ ├── S1_Build_GFs.rst.txt │ │ │ │ ├── S2_Syn_Waveform.rst.txt │ │ │ │ ├── S3_Process_Data.rst.txt │ │ │ │ ├── S4_Inv_DC.rst.txt │ │ │ │ ├── S5_Plot_Result.rst.txt │ │ │ │ ├── S6_Conver_FM.rst.txt │ │ │ │ ├── S7_Plot_Beachball.rst.txt │ │ │ │ ├── S8_Decompose_MT.rst.txt │ │ │ │ └── S9_Plot_Hudson.rst.txt │ │ ├── _static │ │ │ ├── basic.css │ │ │ ├── css │ │ │ │ ├── badge_only.css │ │ │ │ ├── fonts │ │ │ │ │ ├── Roboto-Slab-Bold.woff │ │ │ │ │ ├── Roboto-Slab-Bold.woff2 │ │ │ │ │ ├── Roboto-Slab-Regular.woff │ │ │ │ │ ├── Roboto-Slab-Regular.woff2 │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ │ ├── fontawesome-webfont.woff2 │ │ │ │ │ ├── lato-bold-italic.woff │ │ │ │ │ ├── lato-bold-italic.woff2 │ │ │ │ │ ├── lato-bold.woff │ │ │ │ │ ├── lato-bold.woff2 │ │ │ │ │ ├── lato-normal-italic.woff │ │ │ │ │ ├── lato-normal-italic.woff2 │ │ │ │ │ ├── lato-normal.woff │ │ │ │ │ └── lato-normal.woff2 │ │ │ │ └── theme.css │ │ │ ├── doctools.js │ │ │ ├── documentation_options.js │ │ │ ├── file.png │ │ │ ├── fonts │ │ │ │ ├── Inconsolata-Bold.ttf │ │ │ │ ├── Inconsolata-Regular.ttf │ │ │ │ ├── Inconsolata.ttf │ │ │ │ ├── Lato-Bold.ttf │ │ │ │ ├── Lato-Regular.ttf │ │ │ │ ├── Lato │ │ │ │ │ ├── lato-bold.eot │ │ │ │ │ ├── lato-bold.ttf │ │ │ │ │ ├── lato-bold.woff │ │ │ │ │ ├── lato-bold.woff2 │ │ │ │ │ ├── lato-bolditalic.eot │ │ │ │ │ ├── lato-bolditalic.ttf │ │ │ │ │ ├── lato-bolditalic.woff │ │ │ │ │ ├── lato-bolditalic.woff2 │ │ │ │ │ ├── lato-italic.eot │ │ │ │ │ ├── lato-italic.ttf │ │ │ │ │ ├── lato-italic.woff │ │ │ │ │ ├── lato-italic.woff2 │ │ │ │ │ ├── lato-regular.eot │ │ │ │ │ ├── lato-regular.ttf │ │ │ │ │ ├── lato-regular.woff │ │ │ │ │ └── lato-regular.woff2 │ │ │ │ ├── RobotoSlab-Bold.ttf │ │ │ │ ├── RobotoSlab-Regular.ttf │ │ │ │ ├── RobotoSlab │ │ │ │ │ ├── roboto-slab-v7-bold.eot │ │ │ │ │ ├── roboto-slab-v7-bold.ttf │ │ │ │ │ ├── roboto-slab-v7-bold.woff │ │ │ │ │ ├── roboto-slab-v7-bold.woff2 │ │ │ │ │ ├── roboto-slab-v7-regular.eot │ │ │ │ │ ├── roboto-slab-v7-regular.ttf │ │ │ │ │ ├── roboto-slab-v7-regular.woff │ │ │ │ │ └── roboto-slab-v7-regular.woff2 │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ ├── jquery-3.5.1.js │ │ │ ├── jquery.js │ │ │ ├── js │ │ │ │ ├── badge_only.js │ │ │ │ ├── html5shiv-printshiv.min.js │ │ │ │ ├── html5shiv.min.js │ │ │ │ ├── modernizr.min.js │ │ │ │ └── theme.js │ │ │ ├── language_data.js │ │ │ ├── logo-small-cut.png │ │ │ ├── minus.png │ │ │ ├── plus.png │ │ │ ├── pygments.css │ │ │ ├── searchtools.js │ │ │ ├── underscore-1.3.1.js │ │ │ └── underscore.js │ │ ├── genindex.html │ │ ├── index.html │ │ ├── installation.html │ │ ├── objects.inv │ │ ├── references.html │ │ ├── search.html │ │ ├── searchindex.js │ │ ├── tutorial.html │ │ ├── tutorial_detailed.html │ │ └── tutorials │ │ │ ├── S1_Build_GFs.html │ │ │ ├── S2_Syn_Waveform.html │ │ │ ├── S3_Process_Data.html │ │ │ ├── S4_Inv_DC.html │ │ │ ├── S5_Plot_Result.html │ │ │ ├── S6_Conver_FM.html │ │ │ ├── S7_Plot_Beachball.html │ │ │ ├── S8_Decompose_MT.html │ │ │ └── S9_Plot_Hudson.html │ ├── latex │ │ ├── Decompose.png │ │ ├── Decompose1.png │ │ ├── Green_Function_Database.png │ │ ├── Hudson_plot.png │ │ ├── LICRcyr2utf8.xdy │ │ ├── LICRlatin2utf8.xdy │ │ ├── LatinRules.xdy │ │ ├── Makefile │ │ ├── alpha.png │ │ ├── beachball.png │ │ ├── beachball1.png │ │ ├── footnotehyper-sphinx.sty │ │ ├── hist.png │ │ ├── hist1.png │ │ ├── hist_accept.png │ │ ├── latexmkjarc │ │ ├── latexmkrc │ │ ├── logo-small-cut.png │ │ ├── logo.gif │ │ ├── make.bat │ │ ├── mcmtpy-test.aux │ │ ├── mcmtpy-test.fdb_latexmk │ │ ├── mcmtpy-test.fls │ │ ├── mcmtpy-test.idx │ │ ├── mcmtpy-test.ilg │ │ ├── mcmtpy-test.ind │ │ ├── mcmtpy-test.log │ │ ├── mcmtpy-test.out │ │ ├── mcmtpy-test.tex │ │ ├── mcmtpy-test.toc │ │ ├── misfit.png │ │ ├── misfit1.png │ │ ├── missfont.log │ │ ├── python.ist │ │ ├── sphinx.sty │ │ ├── sphinx.xdy │ │ ├── sphinxcyrillic.sty │ │ ├── sphinxhighlight.sty │ │ ├── sphinxhowto.cls │ │ ├── sphinxmanual.cls │ │ ├── sphinxmessages.sty │ │ ├── sphinxmulticell.sty │ │ ├── station_location.png │ │ ├── waveform.png │ │ └── waveform1.png │ └── pdf │ │ ├── MCMTpy_Documentation.pdf │ │ └── MyProject.pdf ├── figures │ ├── .DS_Store │ ├── Decompose.png │ ├── Green_Function_Database.png │ ├── Green_Function_Database1.png │ ├── Hudson_plot.png │ ├── alpha.png │ ├── beachball.png │ ├── hist.png │ ├── hist_accept.png │ ├── logo │ │ ├── .DS_Store │ │ ├── background-video.mp4 │ │ ├── logo-small-cut.png │ │ ├── logo-small.gif │ │ ├── logo-small.png │ │ ├── logo.gif │ │ └── logo.mp4 │ ├── misfit.png │ ├── pdf │ │ ├── Decompose.pdf │ │ ├── Green_Function_Library.pdf │ │ ├── Hudson_plot.pdf │ │ ├── alpha.pdf │ │ ├── beachball.pdf │ │ ├── decomp_CLVD.pdf │ │ ├── decomp_DC.pdf │ │ ├── decomp_MT.pdf │ │ ├── hist.pdf │ │ ├── hist_accept.pdf │ │ ├── misfit.pdf │ │ ├── station_location.pdf │ │ └── waveform.pdf │ ├── station_location.png │ ├── waveform.png │ └── zip │ │ ├── .DS_Store │ │ ├── Decompose-1.png │ │ ├── Decompose.zip │ │ ├── Green_Function_Library-1.png │ │ ├── Green_Function_Library.zip │ │ ├── Hudson_plot-1.png │ │ ├── Hudson_plot.zip │ │ ├── alpha-1.png │ │ ├── alpha.zip │ │ ├── beachball-1.png │ │ ├── beachball.zip │ │ ├── hist-1.png │ │ ├── hist.zip │ │ ├── hist_accept-1.png │ │ ├── hist_accept.zip │ │ ├── misfit-1.png │ │ ├── misfit.zip │ │ ├── station_location-1.png │ │ ├── station_location.zip │ │ ├── waveform-1.png │ │ └── waveform.zip ├── make.bat └── source │ ├── .DS_Store │ ├── _build │ ├── .DS_Store │ └── html │ │ ├── .buildinfo │ │ ├── .doctrees │ │ ├── README.doctree │ │ ├── applications.doctree │ │ ├── environment.pickle │ │ ├── examples.doctree │ │ ├── index.doctree │ │ ├── installation.doctree │ │ ├── references.doctree │ │ ├── tutorial.doctree │ │ ├── tutorial_detailed.doctree │ │ └── tutorials │ │ │ ├── S1_Build_GFs.doctree │ │ │ ├── S2_Syn_Waveform.doctree │ │ │ ├── S3_Process_Data.doctree │ │ │ ├── S4_Inv_DC.doctree │ │ │ ├── S5_Plot_Result.doctree │ │ │ ├── S6_Conver_FM.doctree │ │ │ ├── S7_Plot_Beachball.doctree │ │ │ ├── S8_Decompose_MT.doctree │ │ │ ├── S9_Plot_Hudson.doctree │ │ │ ├── S9_Plot_Huston.doctree │ │ │ ├── create_observed_asdf_file.doctree │ │ │ ├── parallel_pyflex.doctree │ │ │ ├── process_observed.doctree │ │ │ └── source_receiver_geometry.doctree │ │ ├── README.html │ │ ├── _images │ │ ├── Decompose.png │ │ ├── Decompose1.png │ │ ├── Green_Function_Database.png │ │ ├── Green_Function_Databse.png │ │ ├── Hudson_plot.png │ │ ├── alpha.png │ │ ├── beachball.png │ │ ├── beachball1.png │ │ ├── hist.pdf │ │ ├── hist.png │ │ ├── hist1.png │ │ ├── hist_accept.png │ │ ├── logo-small.gif │ │ ├── logo-small.png │ │ ├── logo.gif │ │ ├── misfit.png │ │ ├── misfit1.png │ │ ├── station_location.png │ │ ├── waveform.png │ │ └── waveform1.png │ │ ├── _sources │ │ ├── README.rst.txt │ │ ├── applications.rst.txt │ │ ├── examples.rst.txt │ │ ├── index.rst.txt │ │ ├── installation.rst.txt │ │ ├── references.rst.txt │ │ ├── tutorial.rst.txt │ │ ├── tutorial_detailed.rst.txt │ │ └── tutorials │ │ │ ├── S1_Build_GFs.rst.txt │ │ │ ├── S2_Syn_Waveform.rst.txt │ │ │ ├── S3_Process_Data.rst.txt │ │ │ ├── S4_Inv_DC.rst.txt │ │ │ ├── S5_Plot_Result.rst.txt │ │ │ ├── S6_Conver_FM.rst.txt │ │ │ ├── S7_Plot_Beachball.rst.txt │ │ │ ├── S8_Decompose_MT.rst.txt │ │ │ ├── S9_Plot_Hudson.rst.txt │ │ │ ├── S9_Plot_Huston.rst.txt │ │ │ ├── create_observed_asdf_file.rst.txt │ │ │ ├── parallel_pyflex.rst.txt │ │ │ ├── process_observed.rst.txt │ │ │ └── source_receiver_geometry.rst.txt │ │ ├── _static │ │ ├── basic.css │ │ ├── css │ │ │ ├── badge_only.css │ │ │ ├── fonts │ │ │ │ ├── Roboto-Slab-Bold.woff │ │ │ │ ├── Roboto-Slab-Bold.woff2 │ │ │ │ ├── Roboto-Slab-Regular.woff │ │ │ │ ├── Roboto-Slab-Regular.woff2 │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ ├── fontawesome-webfont.woff2 │ │ │ │ ├── lato-bold-italic.woff │ │ │ │ ├── lato-bold-italic.woff2 │ │ │ │ ├── lato-bold.woff │ │ │ │ ├── lato-bold.woff2 │ │ │ │ ├── lato-normal-italic.woff │ │ │ │ ├── lato-normal-italic.woff2 │ │ │ │ ├── lato-normal.woff │ │ │ │ └── lato-normal.woff2 │ │ │ └── theme.css │ │ ├── doctools.js │ │ ├── documentation_options.js │ │ ├── file.png │ │ ├── fonts │ │ │ ├── Inconsolata-Bold.ttf │ │ │ ├── Inconsolata-Regular.ttf │ │ │ ├── Inconsolata.ttf │ │ │ ├── Lato-Bold.ttf │ │ │ ├── Lato-Regular.ttf │ │ │ ├── Lato │ │ │ │ ├── lato-bold.eot │ │ │ │ ├── lato-bold.ttf │ │ │ │ ├── lato-bold.woff │ │ │ │ ├── lato-bold.woff2 │ │ │ │ ├── lato-bolditalic.eot │ │ │ │ ├── lato-bolditalic.ttf │ │ │ │ ├── lato-bolditalic.woff │ │ │ │ ├── lato-bolditalic.woff2 │ │ │ │ ├── lato-italic.eot │ │ │ │ ├── lato-italic.ttf │ │ │ │ ├── lato-italic.woff │ │ │ │ ├── lato-italic.woff2 │ │ │ │ ├── lato-regular.eot │ │ │ │ ├── lato-regular.ttf │ │ │ │ ├── lato-regular.woff │ │ │ │ └── lato-regular.woff2 │ │ │ ├── RobotoSlab-Bold.ttf │ │ │ ├── RobotoSlab-Regular.ttf │ │ │ ├── RobotoSlab │ │ │ │ ├── roboto-slab-v7-bold.eot │ │ │ │ ├── roboto-slab-v7-bold.ttf │ │ │ │ ├── roboto-slab-v7-bold.woff │ │ │ │ ├── roboto-slab-v7-bold.woff2 │ │ │ │ ├── roboto-slab-v7-regular.eot │ │ │ │ ├── roboto-slab-v7-regular.ttf │ │ │ │ ├── roboto-slab-v7-regular.woff │ │ │ │ └── roboto-slab-v7-regular.woff2 │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── graphviz.css │ │ ├── jquery-3.5.1.js │ │ ├── jquery.js │ │ ├── js │ │ │ ├── badge_only.js │ │ │ ├── html5shiv-printshiv.min.js │ │ │ ├── html5shiv.min.js │ │ │ ├── modernizr.min.js │ │ │ └── theme.js │ │ ├── language_data.js │ │ ├── logo-small-cut.png │ │ ├── logo-small.png │ │ ├── minus.png │ │ ├── plus.png │ │ ├── pygments.css │ │ ├── searchtools.js │ │ ├── underscore-1.3.1.js │ │ └── underscore.js │ │ ├── applications.html │ │ ├── examples.html │ │ ├── genindex.html │ │ ├── index.html │ │ ├── installation.html │ │ ├── objects.inv │ │ ├── references.html │ │ ├── search.html │ │ ├── searchindex.js │ │ ├── tutorial.html │ │ ├── tutorial_detailed.html │ │ └── tutorials │ │ ├── S1_Build_GFs.html │ │ ├── S2_Syn_Waveform.html │ │ ├── S3_Process_Data.html │ │ ├── S4_Inv_DC.html │ │ ├── S5_Plot_Result.html │ │ ├── S6_Conver_FM.html │ │ ├── S7_Plot_Beachball.html │ │ ├── S8_Decompose_MT.html │ │ ├── S9_Plot_Hudson.html │ │ ├── S9_Plot_Huston.html │ │ ├── create_observed_asdf_file.html │ │ ├── parallel_pyflex.html │ │ ├── process_observed.html │ │ └── source_receiver_geometry.html │ ├── conf.py │ ├── index.rst │ ├── installation.rst │ ├── references.rst │ ├── tutorial.rst │ ├── tutorial_detailed.rst │ └── tutorials │ ├── .DS_Store │ ├── S1_Build_GFs.rst │ ├── S1_Source_Station_info.txt │ ├── S1_setup_gfs.py │ ├── S1_v_model_yunnan.txt │ ├── S2_Syn_Waveform.rst │ ├── S2_plot_syn.py │ ├── S2_syn_waveform.py │ ├── S3_Process_Data.rst │ ├── S3_processing_data.py │ ├── S4_Inv_DC.rst │ ├── S4_Raw_data_inv_info.txt │ ├── S4_alpha.py │ ├── S4_inv.py │ ├── S5_Plot_Result.rst │ ├── S5_plot.py │ ├── S6_Conver_FM.rst │ ├── S7_Plot_Beachball.rst │ ├── S7_plot_beachball.py │ ├── S8_Decompose_MT.rst │ ├── S8_decompose.txt │ ├── S8_plot_decompose.py │ ├── S9_Plot_Hudson.rst │ └── S9_plot_hudson.py ├── extras ├── .DS_Store └── MCMTpy ├── jsons ├── .DS_Store ├── Raw_data_inv_info.txt ├── build_GFs.json ├── plot_dc.json ├── plot_mt.json ├── sample_dc.json ├── sample_mt.json ├── syn.json └── v_model_yunnan.txt ├── requirements.txt ├── setup.py └── test └── __init__.py /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/.DS_Store -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- 1 | # For most projects, this workflow file will not need changing; you simply need 2 | # to commit it to your repository. 3 | # 4 | # You may wish to alter this file to override the set of languages analyzed, 5 | # or to provide custom queries or build logic. 6 | # 7 | # ******** NOTE ******** 8 | # We have attempted to detect the languages in your repository. Please check 9 | # the `language` matrix defined below to confirm you have the correct set of 10 | # supported CodeQL languages. 11 | # 12 | name: "CodeQL" 13 | 14 | on: 15 | push: 16 | branches: [ master ] 17 | pull_request: 18 | # The branches below must be a subset of the branches above 19 | branches: [ master ] 20 | schedule: 21 | - cron: '30 4 * * 3' 22 | 23 | jobs: 24 | analyze: 25 | name: Analyze 26 | runs-on: ubuntu-latest 27 | permissions: 28 | actions: read 29 | contents: read 30 | security-events: write 31 | 32 | strategy: 33 | fail-fast: false 34 | matrix: 35 | language: [ ] 36 | # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] 37 | # Learn more: 38 | # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed 39 | 40 | steps: 41 | - name: Checkout repository 42 | uses: actions/checkout@v2 43 | 44 | # Initializes the CodeQL tools for scanning. 45 | - name: Initialize CodeQL 46 | uses: github/codeql-action/init@v1 47 | with: 48 | languages: ${{ matrix.language }} 49 | # If you wish to specify custom queries, you can do so here or in a config file. 50 | # By default, queries listed here will override any specified in a config file. 51 | # Prefix the list here with "+" to use these queries and those in the config file. 52 | # queries: ./path/to/local/query, your-org/your-repo/queries@main 53 | 54 | # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). 55 | # If this step fails, then you should remove it and run the build manually (see below) 56 | - name: Autobuild 57 | uses: github/codeql-action/autobuild@v1 58 | 59 | # ℹ️ Command-line programs to run using the OS shell. 60 | # 📚 https://git.io/JvXDl 61 | 62 | # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines 63 | # and modify them (or add more) to build your code if your project 64 | # uses a compiled language 65 | 66 | #- run: | 67 | # make bootstrap 68 | # make release 69 | 70 | - name: Perform CodeQL Analysis 71 | uses: github/codeql-action/analyze@v1 72 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Fu Yin 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | global-include *.py -------------------------------------------------------------------------------- /MCMTpy.egg-info/SOURCES.txt: -------------------------------------------------------------------------------- 1 | MANIFEST.in 2 | README.rst 3 | setup.py 4 | MCMTpy/__init__.py 5 | MCMTpy/__version__.py 6 | MCMTpy/info.py 7 | MCMTpy.egg-info/PKG-INFO 8 | MCMTpy.egg-info/SOURCES.txt 9 | MCMTpy.egg-info/dependency_links.txt 10 | MCMTpy.egg-info/entry_points.txt 11 | MCMTpy.egg-info/requires.txt 12 | MCMTpy.egg-info/top_level.txt 13 | MCMTpy/apps/MCMTpy.py 14 | MCMTpy/apps/__init__.py 15 | MCMTpy/gfs/__init__.py 16 | MCMTpy/gfs/build_GFs.py 17 | MCMTpy/gfs/pyfk_GFs/__init__.py 18 | MCMTpy/gfs/pyfk_GFs/build_GFs_pyfk.py 19 | MCMTpy/gfs/pyfk_GFs/cal_gfs.py 20 | MCMTpy/gfs/pyfk_GFs/read_json.py 21 | MCMTpy/gfs/sem_GFs/__init__.py 22 | MCMTpy/gfs/sem_GFs/build_GFs_sem.py 23 | MCMTpy/plotting/__init__.py 24 | MCMTpy/plotting/plot.py 25 | MCMTpy/plotting/pyfk_plot/__init__.py 26 | MCMTpy/plotting/pyfk_plot/plot_accept_ratio.py 27 | MCMTpy/plotting/pyfk_plot/plot_hist.py 28 | MCMTpy/plotting/pyfk_plot/plot_misfit.py 29 | MCMTpy/plotting/pyfk_plot/plot_waveform.py 30 | MCMTpy/sampler/__init__.py 31 | MCMTpy/sampler/sample.py 32 | MCMTpy/sampler/grid/__init__.py 33 | MCMTpy/sampler/grid/read_grid_json.py 34 | MCMTpy/sampler/grid/sample_grid.py 35 | MCMTpy/sampler/grid/sampler_module.py 36 | MCMTpy/sampler/pyfk_MH/__init__.py 37 | MCMTpy/sampler/pyfk_MH/read_sampler_json.py 38 | MCMTpy/sampler/pyfk_MH/sample_MH.py 39 | MCMTpy/sampler/pyfk_MH/sampler_module.py 40 | MCMTpy/syn/__init__.py 41 | MCMTpy/syn/syn.py 42 | MCMTpy/syn/pyfk_syn/__init__.py 43 | MCMTpy/syn/pyfk_syn/syn_pyfk.py 44 | MCMTpy/syn/sem_syn/__init__.py 45 | MCMTpy/utils/MomentTensor.py 46 | MCMTpy/utils/__init__.py 47 | MCMTpy/utils/asdf_function.py 48 | MCMTpy/utils/distaz.py 49 | MCMTpy/utils/rotate.py 50 | docs/source/conf.py 51 | docs/source/tutorials/S1_setup_gfs.py 52 | docs/source/tutorials/S2_plot_syn.py 53 | docs/source/tutorials/S2_syn_waveform.py 54 | docs/source/tutorials/S3_processing_data.py 55 | docs/source/tutorials/S4_alpha.py 56 | docs/source/tutorials/S4_inv.py 57 | docs/source/tutorials/S5_plot.py 58 | docs/source/tutorials/S7_plot_beachball.py 59 | docs/source/tutorials/S8_plot_decompose.py 60 | docs/source/tutorials/S9_plot_hudson.py 61 | test/__init__.py -------------------------------------------------------------------------------- /MCMTpy.egg-info/dependency_links.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /MCMTpy.egg-info/entry_points.txt: -------------------------------------------------------------------------------- 1 | [console_scripts] 2 | MCMTpy = MCMTpy.apps.MCMTpy:main 3 | 4 | -------------------------------------------------------------------------------- /MCMTpy.egg-info/requires.txt: -------------------------------------------------------------------------------- 1 | numpy>=1.14 2 | tqdm>=4.19.4 3 | matplotlib<=3.1.1 4 | mpi4py 5 | obspy 6 | pyfk 7 | pyasdf 8 | json5 9 | -------------------------------------------------------------------------------- /MCMTpy.egg-info/top_level.txt: -------------------------------------------------------------------------------- 1 | MCMTpy 2 | test 3 | -------------------------------------------------------------------------------- /MCMTpy/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/__init__.py: -------------------------------------------------------------------------------- 1 | from MCMTpy.gfs.build_GFs import build_GFs 2 | from MCMTpy.sampler.sample import sample 3 | from MCMTpy.syn.syn import syn 4 | from MCMTpy.plotting.plot import plot 5 | from MCMTpy.utils import MomentTensor 6 | 7 | __all__ = [ 8 | "build_GFs", 9 | "sample", 10 | "syn", 11 | "plot", 12 | "MomentTensor", 13 | ] 14 | -------------------------------------------------------------------------------- /MCMTpy/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/__pycache__/info.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/__pycache__/info.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/__version__.py: -------------------------------------------------------------------------------- 1 | # __major_version__ = 0 2 | # __minor_version__ = 1 3 | # __patch__ = 0 4 | # __release__ = "a1" 5 | # __version_number__ = ".".join( 6 | # ( 7 | # str(__major_version__), 8 | # str(__minor_version__), 9 | # str(__patch__) 10 | # ) 11 | # ) 12 | # f"{__version_number__}{__release__}" 13 | __version__ ='0.1.0a1' 14 | -------------------------------------------------------------------------------- /MCMTpy/apps/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/apps/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/apps/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/apps/__init__.py -------------------------------------------------------------------------------- /MCMTpy/apps/__pycache__/MCMTpy.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/apps/__pycache__/MCMTpy.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/apps/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/apps/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/gfs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/gfs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/__init__.py -------------------------------------------------------------------------------- /MCMTpy/gfs/__pycache__/Func_S1_cal_gfs.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/__pycache__/Func_S1_cal_gfs.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/gfs/__pycache__/Func_S1_read_json.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/__pycache__/Func_S1_read_json.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/gfs/__pycache__/S1_built_GFs.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/__pycache__/S1_built_GFs.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/gfs/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/gfs/__pycache__/build_GFs.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/__pycache__/build_GFs.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/gfs/build_GFs.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | """ 4 | Created on Wed Mar 24 20:11:10 2021 5 | 6 | @author: Fu Yin (yinfu@mail.ustc.edu.cn) at USTC 7 | 8 | This script: 9 | 1) 1D green function solver when method=='pyfk'; 10 | 2) 3D green function solver when method=='sem'. (it not work now) 11 | 12 | 13 | Modify history: 14 | 1) Mar 24 20:11:10 2021 || Fu Yin at USTC || The initial release. 15 | 2) ... 16 | 17 | """ 18 | 19 | 20 | import sys 21 | from MCMTpy.gfs.pyfk_GFs.build_GFs_pyfk import build_GFs_pyfk 22 | from MCMTpy.gfs.sem_GFs.build_GFs_sem import build_GFs_sem 23 | 24 | 25 | 26 | 27 | #%%########################################################################## 28 | # ----------------------- 29 | # 1. build_GFs function 30 | # ----------------------- 31 | ############################################################################# 32 | 33 | def build_GFs(filename,method): 34 | if method=='pyfk': 35 | build_GFs_pyfk(filename) 36 | elif method=='sem': 37 | build_GFs_sem(filename) 38 | else: 39 | sys.exit('MCMTpy: command error') 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /MCMTpy/gfs/pyfk_GFs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/pyfk_GFs/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/gfs/pyfk_GFs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/pyfk_GFs/__init__.py -------------------------------------------------------------------------------- /MCMTpy/gfs/pyfk_GFs/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/pyfk_GFs/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/gfs/pyfk_GFs/__pycache__/build_GFs_pyfk.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/pyfk_GFs/__pycache__/build_GFs_pyfk.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/gfs/pyfk_GFs/__pycache__/cal_gfs.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/pyfk_GFs/__pycache__/cal_gfs.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/gfs/pyfk_GFs/__pycache__/read_json.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/pyfk_GFs/__pycache__/read_json.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/gfs/sem_GFs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/sem_GFs/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/gfs/sem_GFs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/sem_GFs/__init__.py -------------------------------------------------------------------------------- /MCMTpy/gfs/sem_GFs/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/sem_GFs/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/gfs/sem_GFs/__pycache__/build_GFs_sem.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/gfs/sem_GFs/__pycache__/build_GFs_sem.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/gfs/sem_GFs/build_GFs_sem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | """ 4 | Created on Wed Mar 24 20:11:10 2021 5 | 6 | @author: yf 7 | """ 8 | 9 | 10 | def build_GFs_sem(filename): 11 | pass 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /MCMTpy/info.py: -------------------------------------------------------------------------------- 1 | # This module is automatically created from setup.py 2 | project_root = '/Users/yf/3.Project/8.MCMTpy/MCMTpy-master' 3 | version = '0.1.0a1' 4 | installed_date = '2021-10-12_20:08:42' 5 | -------------------------------------------------------------------------------- /MCMTpy/plotting/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/plotting/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/plotting/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/plotting/__init__.py -------------------------------------------------------------------------------- /MCMTpy/plotting/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/plotting/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/plotting/__pycache__/plot.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/plotting/__pycache__/plot.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/plotting/pyfk_plot/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/plotting/pyfk_plot/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/plotting/pyfk_plot/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/plotting/pyfk_plot/__init__.py -------------------------------------------------------------------------------- /MCMTpy/plotting/pyfk_plot/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/plotting/pyfk_plot/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/plotting/pyfk_plot/__pycache__/plot_accept_ratio.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/plotting/pyfk_plot/__pycache__/plot_accept_ratio.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/plotting/pyfk_plot/__pycache__/plot_hist.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/plotting/pyfk_plot/__pycache__/plot_hist.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/plotting/pyfk_plot/__pycache__/plot_misfit.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/plotting/pyfk_plot/__pycache__/plot_misfit.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/plotting/pyfk_plot/__pycache__/plot_waveform.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/plotting/pyfk_plot/__pycache__/plot_waveform.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/plotting/pyfk_plot/plot_accept_ratio.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | """ 4 | Created on Sun Mar 21 00:20:35 2021 5 | 6 | @author: Fu Yin (yinfu@mail.ustc.edu.cn) at USTC 7 | 8 | This script: 9 | 1) plot hist 10 | 11 | 12 | Modify history: 13 | 1) Mar 21 00:20:35 2021 || Fu Yin at USTC || The initial release. 14 | 2) Jun 28 11:08:02 2021 || Fu Yin at USTC || Add figure format parameter. 15 | """ 16 | 17 | import matplotlib.pyplot as plt 18 | import numpy as np 19 | import os 20 | 21 | 22 | 23 | ################### 24 | def plot_accept_ratio(plot_output_path, accept_ratio_all, fig_format): 25 | 26 | 27 | fig, axs = plt.subplots(1, 1,figsize=(12, 5)) 28 | 29 | xx = np.arange(0, accept_ratio_all.shape[0], 1) 30 | axs.plot(xx, accept_ratio_all, linestyle='-', color='k', alpha=0.6,label="accept ratio") 31 | 32 | axs.legend(loc='best',fontsize=12, shadow=False) 33 | axs.set_xlabel("Sample Number",fontsize=15) 34 | axs.set_ylabel("Accept Ratio",fontsize=15) 35 | # axs[0].set_xscale("log") 36 | # axs[0].set_xlim(0,20000) 37 | # axs[0].set_ylim(0,1.1) 38 | # axs[0].get_xaxis().set_visible(False) 39 | 40 | 41 | 42 | ################## 43 | figurename=os.path.join(plot_output_path,'accept_ratio.'+fig_format) 44 | fig.savefig(figurename,dpi=800, format=fig_format) 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /MCMTpy/sampler/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/sampler/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/__init__.py -------------------------------------------------------------------------------- /MCMTpy/sampler/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/sampler/__pycache__/sample.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/__pycache__/sample.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/sampler/grid/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/grid/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/sampler/grid/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/grid/__init__.py -------------------------------------------------------------------------------- /MCMTpy/sampler/grid/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/grid/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/sampler/grid/__pycache__/read_grid_json.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/grid/__pycache__/read_grid_json.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/sampler/grid/__pycache__/read_sampler_json.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/grid/__pycache__/read_sampler_json.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/sampler/grid/__pycache__/sample_MH.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/grid/__pycache__/sample_MH.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/sampler/grid/__pycache__/sample_grid.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/grid/__pycache__/sample_grid.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/sampler/grid/__pycache__/sampler_module.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/grid/__pycache__/sampler_module.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/sampler/pyfk_MH/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/pyfk_MH/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/sampler/pyfk_MH/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/pyfk_MH/__init__.py -------------------------------------------------------------------------------- /MCMTpy/sampler/pyfk_MH/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/pyfk_MH/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/sampler/pyfk_MH/__pycache__/read_sampler_json.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/pyfk_MH/__pycache__/read_sampler_json.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/sampler/pyfk_MH/__pycache__/sample_MH.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/pyfk_MH/__pycache__/sample_MH.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/sampler/pyfk_MH/__pycache__/sampler_module.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/sampler/pyfk_MH/__pycache__/sampler_module.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/sampler/sample.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | """ 4 | Created on Wed Mar 24 20:11:10 2021 5 | 6 | @author: Fu Yin (yinfu@mail.ustc.edu.cn) at USTC 7 | 8 | This script: 9 | 1) 10 | 11 | 12 | 13 | Modify history: 14 | 1) Mar 24 20:11:10 2021 || Fu Yin at USTC || The initial release. 15 | 2) ... 16 | """ 17 | 18 | 19 | import sys 20 | from MCMTpy.sampler.pyfk_MH.sample_MH import sample_MH 21 | from MCMTpy.sampler.grid.sample_grid import sample_grid 22 | 23 | 24 | 25 | #%%########################################################################## 26 | # ----------------------- 27 | # 1. sample function 28 | # ----------------------- 29 | ############################################################################# 30 | 31 | def sample(filename,method): 32 | if method=='MH': 33 | sample_MH(filename) 34 | elif method=='grid': 35 | sample_grid(filename) 36 | elif method=='Gibbs': # it not work now 37 | pass 38 | else: 39 | sys.exit('MCMTpy: command error') 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /MCMTpy/syn/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/syn/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/syn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/syn/__init__.py -------------------------------------------------------------------------------- /MCMTpy/syn/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/syn/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/syn/__pycache__/syn.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/syn/__pycache__/syn.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/syn/pyfk_syn/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/syn/pyfk_syn/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/syn/pyfk_syn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/syn/pyfk_syn/__init__.py -------------------------------------------------------------------------------- /MCMTpy/syn/pyfk_syn/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/syn/pyfk_syn/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/syn/pyfk_syn/__pycache__/syn_pyfk.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/syn/pyfk_syn/__pycache__/syn_pyfk.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/syn/sem_syn/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/syn/sem_syn/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/syn/sem_syn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/syn/sem_syn/__init__.py -------------------------------------------------------------------------------- /MCMTpy/syn/syn.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | """ 4 | Created on Wed Mar 24 20:11:10 2021 5 | 6 | @author: Fu Yin (yinfu@mail.ustc.edu.cn) at USTC 7 | 8 | This script: 9 | 1) 1D green function syn when method=='pyfk'; 10 | 2) 3D green function syn when method=='sem'. (it not work now) 11 | 12 | 13 | Modify history: 14 | 1) Mar 24 20:11:10 2021 || Fu Yin at USTC || The initial release. 15 | 2) ... 16 | """ 17 | 18 | 19 | import sys 20 | from MCMTpy.syn.pyfk_syn.syn_pyfk import syn_pyfk 21 | 22 | 23 | 24 | #%%########################################################################## 25 | # ----------------------- 26 | # 1. syn function 27 | # ----------------------- 28 | ############################################################################# 29 | 30 | def syn(filename,method): 31 | if method=='pyfk': 32 | _ = syn_pyfk(filename) 33 | elif method=='sem': 34 | pass 35 | else: 36 | sys.exit('MCMTpy: command error') 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /MCMTpy/utils/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/utils/.DS_Store -------------------------------------------------------------------------------- /MCMTpy/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/utils/__init__.py -------------------------------------------------------------------------------- /MCMTpy/utils/__pycache__/MomentTensor.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/utils/__pycache__/MomentTensor.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/utils/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/utils/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/utils/__pycache__/asdf_function.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/utils/__pycache__/asdf_function.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/utils/__pycache__/distaz.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/utils/__pycache__/distaz.cpython-38.pyc -------------------------------------------------------------------------------- /MCMTpy/utils/__pycache__/rotate.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/MCMTpy/utils/__pycache__/rotate.cpython-38.pyc -------------------------------------------------------------------------------- /build/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/.DS_Store -------------------------------------------------------------------------------- /build/lib/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/.DS_Store -------------------------------------------------------------------------------- /build/lib/MCMTpy/__init__.py: -------------------------------------------------------------------------------- 1 | from MCMTpy.gfs.build_GFs import build_GFs 2 | from MCMTpy.sampler.sample import sample 3 | from MCMTpy.syn.syn import syn 4 | from MCMTpy.plotting.plot import plot 5 | from MCMTpy.utils import MomentTensor 6 | 7 | __all__ = [ 8 | "build_GFs", 9 | "sample", 10 | "syn", 11 | "plot", 12 | "MomentTensor", 13 | ] 14 | -------------------------------------------------------------------------------- /build/lib/MCMTpy/__version__.py: -------------------------------------------------------------------------------- 1 | # __major_version__ = 0 2 | # __minor_version__ = 1 3 | # __patch__ = 0 4 | # __release__ = "a1" 5 | # __version_number__ = ".".join( 6 | # ( 7 | # str(__major_version__), 8 | # str(__minor_version__), 9 | # str(__patch__) 10 | # ) 11 | # ) 12 | # f"{__version_number__}{__release__}" 13 | __version__ ='0.1.0a1' 14 | -------------------------------------------------------------------------------- /build/lib/MCMTpy/apps/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/apps/__init__.py -------------------------------------------------------------------------------- /build/lib/MCMTpy/gfs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/gfs/__init__.py -------------------------------------------------------------------------------- /build/lib/MCMTpy/gfs/build_GFs.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | """ 4 | Created on Wed Mar 24 20:11:10 2021 5 | 6 | @author: Fu Yin (yinfu@mail.ustc.edu.cn) at USTC 7 | 8 | This script: 9 | 1) 1D green function solver when method=='pyfk'; 10 | 2) 3D green function solver when method=='sem'. (it not work now) 11 | 12 | 13 | Modify history: 14 | 1) Mar 24 20:11:10 2021 || Fu Yin at USTC || The initial release. 15 | 2) ... 16 | 17 | """ 18 | 19 | 20 | import sys 21 | from MCMTpy.gfs.pyfk_GFs.build_GFs_pyfk import build_GFs_pyfk 22 | from MCMTpy.gfs.sem_GFs.build_GFs_sem import build_GFs_sem 23 | 24 | 25 | 26 | 27 | #%%########################################################################## 28 | # ----------------------- 29 | # 1. build_GFs function 30 | # ----------------------- 31 | ############################################################################# 32 | 33 | def build_GFs(filename,method): 34 | if method=='pyfk': 35 | build_GFs_pyfk(filename) 36 | elif method=='sem': 37 | build_GFs_sem(filename) 38 | else: 39 | sys.exit('MCMTpy: command error') 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /build/lib/MCMTpy/gfs/pyfk_GFs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/gfs/pyfk_GFs/__init__.py -------------------------------------------------------------------------------- /build/lib/MCMTpy/gfs/sem_GFs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/gfs/sem_GFs/__init__.py -------------------------------------------------------------------------------- /build/lib/MCMTpy/gfs/sem_GFs/build_GFs_sem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | """ 4 | Created on Wed Mar 24 20:11:10 2021 5 | 6 | @author: yf 7 | """ 8 | 9 | 10 | def build_GFs_sem(filename): 11 | pass 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /build/lib/MCMTpy/info.py: -------------------------------------------------------------------------------- 1 | # This module is automatically created from setup.py 2 | project_root = '/Users/yf/3.Project/8.MCMTpy/MCMTpy-master' 3 | version = '0.1.0a1' 4 | installed_date = '2021-10-12_16:54:08' 5 | -------------------------------------------------------------------------------- /build/lib/MCMTpy/plotting/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/plotting/__init__.py -------------------------------------------------------------------------------- /build/lib/MCMTpy/plotting/pyfk_plot/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/plotting/pyfk_plot/__init__.py -------------------------------------------------------------------------------- /build/lib/MCMTpy/plotting/pyfk_plot/plot_accept_ratio.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | """ 4 | Created on Sun Mar 21 00:20:35 2021 5 | 6 | @author: Fu Yin (yinfu@mail.ustc.edu.cn) at USTC 7 | 8 | This script: 9 | 1) plot hist 10 | 11 | 12 | Modify history: 13 | 1) Mar 21 00:20:35 2021 || Fu Yin at USTC || The initial release. 14 | 2) Jun 28 11:08:02 2021 || Fu Yin at USTC || Add figure format parameter. 15 | """ 16 | 17 | import matplotlib.pyplot as plt 18 | import numpy as np 19 | import os 20 | 21 | 22 | 23 | ################### 24 | def plot_accept_ratio(plot_output_path, accept_ratio_all, fig_format): 25 | 26 | 27 | fig, axs = plt.subplots(1, 1,figsize=(12, 5)) 28 | 29 | xx = np.arange(0, accept_ratio_all.shape[0], 1) 30 | axs.plot(xx, accept_ratio_all, linestyle='-', color='k', alpha=0.6,label="accept ratio") 31 | 32 | axs.legend(loc='best',fontsize=12, shadow=False) 33 | axs.set_xlabel("Sample Number",fontsize=15) 34 | axs.set_ylabel("Accept Ratio",fontsize=15) 35 | # axs[0].set_xscale("log") 36 | # axs[0].set_xlim(0,20000) 37 | # axs[0].set_ylim(0,1.1) 38 | # axs[0].get_xaxis().set_visible(False) 39 | 40 | 41 | 42 | ################## 43 | figurename=os.path.join(plot_output_path,'accept_ratio.'+fig_format) 44 | fig.savefig(figurename,dpi=800, format=fig_format) 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /build/lib/MCMTpy/sampler/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/sampler/__init__.py -------------------------------------------------------------------------------- /build/lib/MCMTpy/sampler/grid/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/sampler/grid/__init__.py -------------------------------------------------------------------------------- /build/lib/MCMTpy/sampler/pyfk_MH/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/sampler/pyfk_MH/__init__.py -------------------------------------------------------------------------------- /build/lib/MCMTpy/sampler/sample.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | """ 4 | Created on Wed Mar 24 20:11:10 2021 5 | 6 | @author: Fu Yin (yinfu@mail.ustc.edu.cn) at USTC 7 | 8 | This script: 9 | 1) 10 | 11 | 12 | 13 | Modify history: 14 | 1) Mar 24 20:11:10 2021 || Fu Yin at USTC || The initial release. 15 | 2) ... 16 | """ 17 | 18 | 19 | import sys 20 | from MCMTpy.sampler.pyfk_MH.sample_MH import sample_MH 21 | from MCMTpy.sampler.grid.sample_grid import sample_grid 22 | 23 | 24 | 25 | #%%########################################################################## 26 | # ----------------------- 27 | # 1. sample function 28 | # ----------------------- 29 | ############################################################################# 30 | 31 | def sample(filename,method): 32 | if method=='MH': 33 | sample_MH(filename) 34 | elif method=='grid': 35 | sample_grid(filename) 36 | elif method=='Gibbs': # it not work now 37 | pass 38 | else: 39 | sys.exit('MCMTpy: command error') 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /build/lib/MCMTpy/syn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/syn/__init__.py -------------------------------------------------------------------------------- /build/lib/MCMTpy/syn/pyfk_syn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/syn/pyfk_syn/__init__.py -------------------------------------------------------------------------------- /build/lib/MCMTpy/syn/sem_syn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/syn/sem_syn/__init__.py -------------------------------------------------------------------------------- /build/lib/MCMTpy/syn/syn.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | """ 4 | Created on Wed Mar 24 20:11:10 2021 5 | 6 | @author: Fu Yin (yinfu@mail.ustc.edu.cn) at USTC 7 | 8 | This script: 9 | 1) 1D green function syn when method=='pyfk'; 10 | 2) 3D green function syn when method=='sem'. (it not work now) 11 | 12 | 13 | Modify history: 14 | 1) Mar 24 20:11:10 2021 || Fu Yin at USTC || The initial release. 15 | 2) ... 16 | """ 17 | 18 | 19 | import sys 20 | from MCMTpy.syn.pyfk_syn.syn_pyfk import syn_pyfk 21 | 22 | 23 | 24 | #%%########################################################################## 25 | # ----------------------- 26 | # 1. syn function 27 | # ----------------------- 28 | ############################################################################# 29 | 30 | def syn(filename,method): 31 | if method=='pyfk': 32 | _ = syn_pyfk(filename) 33 | elif method=='sem': 34 | pass 35 | else: 36 | sys.exit('MCMTpy: command error') 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /build/lib/MCMTpy/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/MCMTpy/utils/__init__.py -------------------------------------------------------------------------------- /build/lib/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/build/lib/test/__init__.py -------------------------------------------------------------------------------- /data/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/data/.DS_Store -------------------------------------------------------------------------------- /data/example_yunnan/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/data/example_yunnan/.DS_Store -------------------------------------------------------------------------------- /data/example_yunnan/Jupyter_notebook/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/data/example_yunnan/Jupyter_notebook/.DS_Store -------------------------------------------------------------------------------- /data/example_yunnan/Jupyter_notebook/S1_figure/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/data/example_yunnan/Jupyter_notebook/S1_figure/.DS_Store -------------------------------------------------------------------------------- /data/example_yunnan/Jupyter_notebook/S1_figure/Alpha.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/data/example_yunnan/Jupyter_notebook/S1_figure/Alpha.pdf -------------------------------------------------------------------------------- /data/example_yunnan/Jupyter_notebook/S1_figure/Alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/data/example_yunnan/Jupyter_notebook/S1_figure/Alpha.png -------------------------------------------------------------------------------- /data/example_yunnan/Jupyter_notebook/S2_figure/Decompose.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/data/example_yunnan/Jupyter_notebook/S2_figure/Decompose.pdf -------------------------------------------------------------------------------- /data/example_yunnan/Jupyter_notebook/S2_figure/Hudson.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/data/example_yunnan/Jupyter_notebook/S2_figure/Hudson.pdf -------------------------------------------------------------------------------- /data/example_yunnan/Jupyter_notebook/S2_figure/beachball.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/data/example_yunnan/Jupyter_notebook/S2_figure/beachball.pdf -------------------------------------------------------------------------------- /dist/MCMTpy-0.1.0a1-py3.8.egg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/dist/MCMTpy-0.1.0a1-py3.8.egg -------------------------------------------------------------------------------- /docs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/.DS_Store -------------------------------------------------------------------------------- /docs/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "restructuredtext.confPath": "${workspaceFolder}/source" 3 | } -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- 1 | # Minimal makefile for Sphinx documentation 2 | # 3 | 4 | # You can set these variables from the command line, and also 5 | # from the environment for the first two. 6 | SPHINXOPTS ?= 7 | SPHINXBUILD ?= sphinx-build 8 | SOURCEDIR = source 9 | BUILDDIR = build 10 | 11 | # Put it first so that "make" without argument is like "make help". 12 | help: 13 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 14 | 15 | .PHONY: help Makefile 16 | 17 | # Catch-all target: route all unknown targets to Sphinx using the new 18 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). 19 | %: Makefile 20 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 21 | -------------------------------------------------------------------------------- /docs/Sphinx-user-docs.txt: -------------------------------------------------------------------------------- 1 | 2 | 1. 安装 Sphinx 3 | 下载 Anaconda 会自带 Sphinx. 4 | 此外还需下载主题风格: pip install sphinx_rtd_theme 5 | 6 | 2. 创建工程 7 | 创建一个新的文件夹,在该目录终端中输入: sphinx-quickstart 8 | 根据提示完成工程的初始化. 9 | 可以看到有4个文件: 10 | 11 | build 目录 运行make命令后,生成的文件都在这个目录里面 12 | source 目录 放置文档的源文件 13 | make.bat 批处理命令 14 | makefile 15 | 3. 生成 HTML 16 | 终端中输入: make html 17 | 该命令就可以生成html形式的文档了 18 | 19 | 4. 推荐一种sphinx+reStructuredText的编辑方式 20 | 使用 VScode 安装插件 reStructuredText 编写,可实时查看 HTML 渲染结果 21 | 参考博客: https://zhuanlan.zhihu.com/p/97214287 22 | 23 | 24 | 25 | 参考博客: 26 | 1) https://www.jianshu.com/p/78e9e1b8553a 27 | 2) https://docgenerate.readthedocs.io/en/latest/sphinx/index.html# 28 | 29 | 30 | 31 | 32 | 5. rst转pdf 目前流行两种方式,推荐使用 rst->latex->pdf 的方式,不推荐使用 rst2pdf 的方式。 33 | 目前这两种方式都已经安装 34 | 35 | 参考博客: 36 | 1)https://zhuanlan.zhihu.com/p/99576114 37 | 2)https://segmentfault.com/a/1190000018265706 -------------------------------------------------------------------------------- /docs/build/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/.DS_Store -------------------------------------------------------------------------------- /docs/build/doctrees/README.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/README.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/applications.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/applications.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/environment.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/environment.pickle -------------------------------------------------------------------------------- /docs/build/doctrees/examples.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/examples.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/index.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/installation.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/installation.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/references.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/references.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorial.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorial.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorial_detailed.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorial_detailed.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/S1_Build_GFs.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/S1_Build_GFs.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/S2_Syn_Waveform.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/S2_Syn_Waveform.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/S3_Process_Data.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/S3_Process_Data.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/S4_Inv_DC.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/S4_Inv_DC.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/S5_Plot_Result.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/S5_Plot_Result.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/S6_Conver_FM.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/S6_Conver_FM.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/S7_Plot_Beachball.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/S7_Plot_Beachball.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/S8_Decompose_MT.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/S8_Decompose_MT.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/S9_Plot_Hudson.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/S9_Plot_Hudson.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/S9_Plot_Huston.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/S9_Plot_Huston.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/create_observed_asdf_file.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/create_observed_asdf_file.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/parallel_pyflex.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/parallel_pyflex.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/process_observed.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/process_observed.doctree -------------------------------------------------------------------------------- /docs/build/doctrees/tutorials/source_receiver_geometry.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/doctrees/tutorials/source_receiver_geometry.doctree -------------------------------------------------------------------------------- /docs/build/html/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/.DS_Store -------------------------------------------------------------------------------- /docs/build/html/.buildinfo: -------------------------------------------------------------------------------- 1 | # Sphinx build info version 1 2 | # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. 3 | config: 316f3bdfed0322731a1e160ecd37de87 4 | tags: 645f666f9bcd5a90fca523b33c5a78b7 5 | -------------------------------------------------------------------------------- /docs/build/html/_images/Decompose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/Decompose.png -------------------------------------------------------------------------------- /docs/build/html/_images/Decompose1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/Decompose1.png -------------------------------------------------------------------------------- /docs/build/html/_images/Green_Function_Database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/Green_Function_Database.png -------------------------------------------------------------------------------- /docs/build/html/_images/Hudson_plot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/Hudson_plot.png -------------------------------------------------------------------------------- /docs/build/html/_images/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/alpha.png -------------------------------------------------------------------------------- /docs/build/html/_images/beachball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/beachball.png -------------------------------------------------------------------------------- /docs/build/html/_images/beachball1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/beachball1.png -------------------------------------------------------------------------------- /docs/build/html/_images/hist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/hist.png -------------------------------------------------------------------------------- /docs/build/html/_images/hist1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/hist1.png -------------------------------------------------------------------------------- /docs/build/html/_images/hist_accept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/hist_accept.png -------------------------------------------------------------------------------- /docs/build/html/_images/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/logo.gif -------------------------------------------------------------------------------- /docs/build/html/_images/misfit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/misfit.png -------------------------------------------------------------------------------- /docs/build/html/_images/misfit1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/misfit1.png -------------------------------------------------------------------------------- /docs/build/html/_images/station_location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/station_location.png -------------------------------------------------------------------------------- /docs/build/html/_images/waveform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/waveform.png -------------------------------------------------------------------------------- /docs/build/html/_images/waveform1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_images/waveform1.png -------------------------------------------------------------------------------- /docs/build/html/_sources/index.rst.txt: -------------------------------------------------------------------------------- 1 | .. MCMTpy-test documentation master file, created by 2 | sphinx-quickstart on Wed Jun 23 16:10:07 2021. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | 7 | 8 | 9 | Welcome to MCMTpy-test's documentation! 10 | ======================================= 11 | .. image:: ../figures/logo/logo.gif 12 | :width: 80% 13 | :align: center 14 | 15 | 16 | .. note:: 17 | `Version 0.1.0a1 `_ 18 | is the currently release. 19 | 20 | 21 | This is the documentation for the Python package of **MCMTpy**, which is python tool for seismic source study. 22 | For further information please see below website: 23 | 24 | * Github repository of **MCMTpy**: https://github.com/OUCyf 25 | 26 | If you use **MCMTpy** for your research and prepare publications, please citing **MCMTpy**: 27 | 28 | * MCMTpy: A Python Package for Simultaneous Inversion of Source Location, Focal Mechanism, and Rupture Directivity. 29 | In prep for Seismological Research Letter. 30 | 31 | 32 | 33 | 34 | Contents: 35 | ================== 36 | .. toctree:: 37 | :maxdepth: 2 38 | :glob: 39 | :caption: Installing: 40 | 41 | installation 42 | 43 | .. toctree:: 44 | :maxdepth: 2 45 | :glob: 46 | :caption: Tutorial: 47 | 48 | tutorial 49 | tutorial_detailed 50 | 51 | .. toctree:: 52 | :maxdepth: 2 53 | :glob: 54 | :caption: References: 55 | 56 | references 57 | 58 | 59 | 60 | 61 | 62 | 63 | Indices and tables 64 | ================== 65 | 66 | * :ref:`genindex` 67 | * :ref:`search` 68 | -------------------------------------------------------------------------------- /docs/build/html/_sources/references.rst.txt: -------------------------------------------------------------------------------- 1 | References 2 | ================ 3 | 4 | 5 | 6 | ASDF 7 | ------------------------ 8 | The ``pyasdf`` Github repository https://github.com/SeismicData/pyasdf. 9 | 10 | * Krischer, L., Smith, J., Lei, W., Lefebvre, M., Ruan, Y., de Andrade, E.S., Podhorszki, N., Bozdağ, E. 11 | and Tromp, J., 2016. An adaptable seismic data format. Geophysical Supplements to the Monthly Notices 12 | of the Royal Astronomical Society, 207(2), 1003-1011. 13 | 14 | 15 | 16 | 17 | pyfk 18 | ------------------------ 19 | The ``pyfk`` Github repository https://github.com/ziyixi/pyfk. 20 | 21 | 22 | 23 | NoisePy 24 | ------------------------ 25 | The ``NoisePy`` Github repository https://noise-python.readthedocs.io/en/latest/examples.html. 26 | 27 | * Jiang, C., Yuan, C., and Denolle, M. NoisePy: a new high-performance python tool for seismic 28 | ambient noise seismology. 29 | 30 | 31 | 32 | MoPaD 33 | ------------------------ 34 | The ``MoPaD`` website http://www.larskrieger.de/mopad/ 35 | 36 | * Lars Krieger and Sebastian Heimann. MoPad —Moment Tensor Plotting and Decomposition: A Tool for 37 | Graphical and Numerical Analysis of Seismic Moment Tensors. 38 | 39 | 40 | 41 | 42 | BEAT 43 | ------------------------ 44 | The ``BEAT`` website https://hvasbath.github.io/beat/index.html 45 | 46 | * Vasyura-Bathke, H.,J. Dettmer, A. Steinberg, S. Heimann, M. P. Isken, O. Zielke, P. M. Mai, H. Sudhaus, 47 | and S. Jónsson (2020). The Bayesian Earthquake Analysis Tool, Seismol. Res. Lett. 91, 1003–1018, 48 | doi: 10.1785/0220190075. 49 | 50 | 51 | 52 | 53 | Other references adding... 54 | ------------------------------ 55 | Working on that... 56 | -------------------------------------------------------------------------------- /docs/build/html/_sources/tutorial.rst.txt: -------------------------------------------------------------------------------- 1 | Tutorial 2 | ======== 3 | 4 | In this tutorial, we will show some of the key steps in **MCMTpy** for **Focal Mechanism Inversion**, 5 | including **DC** (double couple) and **MT** (moment tensor) inversion (not in now). 6 | 7 | 8 | 9 | About ASDF format 10 | ------------------------ 11 | The users who are interested in the details of **ASDF format** are referred to the following publication. 12 | And the pyasdf Github repository https://github.com/SeismicData/pyasdf. 13 | 14 | * Krischer, L., Smith, J., Lei, W., Lefebvre, M., Ruan, Y., de Andrade, E.S., Podhorszki, N., Bozdağ, E. 15 | and Tromp, J., 2016. An adaptable seismic data format. Geophysical Supplements to the Monthly Notices 16 | of the Royal Astronomical Society, 207(2), 1003-1011. 17 | 18 | You can also find some useful examples about ``pyasdf`` in `NoisePy. `_ 19 | 20 | 21 | About pyfk 22 | ------------------------ 23 | The users who are interested in the details of **pyfk** are referred to the pyfk Github 24 | repository https://github.com/ziyixi/pyfk. 25 | 26 | 27 | 28 | Short tutorial 29 | ------------------------ 30 | MCMTpy stores all the parameter information in four JSON files: **build_GFs.json**, **syn.json**, 31 | **sample.json** and **plot.json**, and you can find those json-files in path *./MCMTpy-master/jsons/*. 32 | For parameters choosing, please refer to **Detailed tutorial**. The steps to do inversion process are: 33 | 34 | **1. Calculate green function database**:: 35 | 36 | $ MCMTpy build_GFs pyfk -c ./build_GFs.json 37 | $ mpirun -n 4 MCMTpy build_GFs pyfk -c ./build_GFs.json # parallel 38 | 39 | **2. Synthesize the test data**:: 40 | 41 | $ MCMTpy syn pyfk -c ./syn.json 42 | 43 | **3. Inversion of focal mechanism**:: 44 | 45 | $ MCMTpy sample MH -c ./sample.json 46 | $ mpirun -n 4 MCMTpy sample MH -c ./sample.json # parallel 47 | 48 | **4. Result visualization**:: 49 | 50 | $ MCMTpy plot pyfk -c plot.json 51 | 52 | .. image:: ../figures/station_location.png 53 | :width: 100% 54 | :align: center 55 | .. image:: ../figures/hist.png 56 | :width: 100% 57 | :align: center 58 | .. image:: ../figures/misfit.png 59 | :width: 100% 60 | :align: center 61 | .. image:: ../figures/alpha.png 62 | :width: 100% 63 | :align: center 64 | .. image:: ../figures/waveform.png 65 | :width: 100% 66 | :align: center 67 | .. image:: ../figures/beachball.png 68 | :width: 100% 69 | :align: center 70 | .. image:: ../figures/Decompose.png 71 | :width: 100% 72 | :align: center 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /docs/build/html/_sources/tutorial_detailed.rst.txt: -------------------------------------------------------------------------------- 1 | Tutorial_Detailed 2 | ================= 3 | 4 | 5 | More details on **MCMTpy** for data processing, parameters choosing can be found in following documentations, 6 | and the **jupyter notebook** can be find in *./MCMTpy-master/data/example_yunnan/Jupyter_notebook*: 7 | 8 | 9 | 10 | .. toctree:: 11 | :maxdepth: 1 12 | 13 | tutorials/S1_Build_GFs 14 | tutorials/S2_Syn_Waveform 15 | tutorials/S3_Process_Data 16 | tutorials/S4_Inv_DC 17 | tutorials/S5_Plot_Result 18 | tutorials/S6_Conver_FM 19 | tutorials/S7_Plot_Beachball 20 | tutorials/S8_Decompose_MT 21 | tutorials/S9_Plot_Hudson 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/build/html/_sources/tutorials/S3_Process_Data.rst.txt: -------------------------------------------------------------------------------- 1 | Prepare Data for MCMTpy 2 | ======================== 3 | 4 | .. contents:: 5 | :local: 6 | :depth: 1 7 | 8 | 9 | Format of MCMTpy input data: 10 | ------------------------------- 11 | 12 | * **ASDF** file format, and the sampling rate ``dt`` is consistent with that of GFs database. 13 | 14 | * Must be **ENZ** three-component data and the name of the channel must be 'E'/'N'/'Z' order. 15 | 16 | .. note:: 17 | Pyasdf files are automatically sorted by name. So you must make sure that the order of the Trace 18 | is still ENZ after the automatic sorting, generally the name of the channel 'BHE'/'BHN'/'BHZ' will be fine. 19 | 20 | * **Trace.Stats.sac.t1**/**Trace.Stats.sac.t2** must be included in the trace header file to represent the P/S phase time. 21 | 22 | * The trace header file must include the **station** and **network** name. 23 | 24 | * The trace header file must include **b/e/o/stla/stlo/stdp/evlo/evla/evdp/mag/dist/az/baz**, time information, 25 | event longitude and latitude information, azimuth information. 26 | 27 | * The trace header file must include **starttime/endtime**. 28 | 29 | * All traces need to retain a uniform number of sampling points before T1, such as **p_n0 = 50**. 30 | 31 | 32 | 33 | 34 | 35 | Example 36 | ------------------------ 37 | * We have provided some useful scripts for data preprocessing, and the **example_path** need to de changed to your path, 38 | and run this notebook. 39 | 40 | .. literalinclude:: S3_processing_data.py 41 | :language: python 42 | :linenos: 43 | 44 | 45 | .. note:: 46 | Please follow the above parameter instructions and set all parameters correctly before running the program. 47 | Otherwise, it is easy to report an error! -------------------------------------------------------------------------------- /docs/build/html/_sources/tutorials/S7_Plot_Beachball.rst.txt: -------------------------------------------------------------------------------- 1 | Plot Beachball with Station Projected 2 | ================================================ 3 | 4 | .. contents:: 5 | :local: 6 | :depth: 1 7 | 8 | 9 | * The **example_path** need to de changed to your path, and run this notebook. 10 | 11 | .. literalinclude:: S7_plot_beachball.py 12 | :language: python 13 | :linenos: 14 | 15 | .. image:: ../../figures/beachball.png 16 | :width: 100% 17 | :align: center -------------------------------------------------------------------------------- /docs/build/html/_sources/tutorials/S8_Decompose_MT.rst.txt: -------------------------------------------------------------------------------- 1 | Moment Tensor Decompose 2 | ======================== 3 | 4 | .. contents:: 5 | :local: 6 | :depth: 1 7 | 8 | 9 | * The **example_path** need to de changed to your path, and run this notebook. 10 | 11 | .. literalinclude:: S8_plot_decompose.py 12 | :language: python 13 | :linenos: 14 | 15 | * **Decompose reuslt**. 16 | 17 | .. literalinclude:: S8_decompose.txt 18 | :language: none 19 | :linenos: 20 | 21 | 22 | .. image:: ../../figures/Decompose.png 23 | :width: 100% 24 | :align: center 25 | -------------------------------------------------------------------------------- /docs/build/html/_sources/tutorials/S9_Plot_Hudson.rst.txt: -------------------------------------------------------------------------------- 1 | Huston Plot 2 | ============= 3 | 4 | .. contents:: 5 | :local: 6 | :depth: 1 7 | 8 | 9 | * The **example_path** need to de changed to your path, and run this notebook. 10 | 11 | .. literalinclude:: S9_plot_hudson.py 12 | :language: python 13 | :linenos: 14 | 15 | 16 | 17 | .. image:: ../../figures/Hudson_plot.png 18 | :width: 100% 19 | :align: center 20 | -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/Roboto-Slab-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/Roboto-Slab-Bold.woff -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/Roboto-Slab-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/Roboto-Slab-Bold.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/Roboto-Slab-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/Roboto-Slab-Regular.woff -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/Roboto-Slab-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/Roboto-Slab-Regular.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/lato-bold-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/lato-bold-italic.woff -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/lato-bold-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/lato-bold-italic.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/lato-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/lato-bold.woff -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/lato-bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/lato-bold.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/lato-normal-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/lato-normal-italic.woff -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/lato-normal-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/lato-normal-italic.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/lato-normal.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/lato-normal.woff -------------------------------------------------------------------------------- /docs/build/html/_static/css/fonts/lato-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/css/fonts/lato-normal.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/documentation_options.js: -------------------------------------------------------------------------------- 1 | var DOCUMENTATION_OPTIONS = { 2 | URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), 3 | VERSION: '0.1.0a1', 4 | LANGUAGE: 'None', 5 | COLLAPSE_INDEX: false, 6 | BUILDER: 'html', 7 | FILE_SUFFIX: '.html', 8 | LINK_SUFFIX: '.html', 9 | HAS_SOURCE: true, 10 | SOURCELINK_SUFFIX: '.txt', 11 | NAVIGATION_WITH_KEYS: false 12 | }; -------------------------------------------------------------------------------- /docs/build/html/_static/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/file.png -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Inconsolata-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Inconsolata-Bold.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Inconsolata-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Inconsolata-Regular.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Inconsolata.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Inconsolata.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato-Bold.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato-Regular.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-bold.eot -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-bold.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-bold.woff -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-bold.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-bolditalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-bolditalic.eot -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-bolditalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-bolditalic.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-bolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-bolditalic.woff -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-bolditalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-bolditalic.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-italic.eot -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-italic.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-italic.woff -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-italic.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-regular.eot -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-regular.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-regular.woff -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/Lato/lato-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/Lato/lato-regular.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/RobotoSlab-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/RobotoSlab-Bold.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/RobotoSlab-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/RobotoSlab-Regular.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /docs/build/html/_static/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /docs/build/html/_static/js/badge_only.js: -------------------------------------------------------------------------------- 1 | !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=4)}({4:function(e,t,r){}}); -------------------------------------------------------------------------------- /docs/build/html/_static/js/html5shiv.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.3-pre",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b),"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:this,document); -------------------------------------------------------------------------------- /docs/build/html/_static/logo-small-cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/logo-small-cut.png -------------------------------------------------------------------------------- /docs/build/html/_static/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/minus.png -------------------------------------------------------------------------------- /docs/build/html/_static/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/_static/plus.png -------------------------------------------------------------------------------- /docs/build/html/objects.inv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/html/objects.inv -------------------------------------------------------------------------------- /docs/build/latex/Decompose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/Decompose.png -------------------------------------------------------------------------------- /docs/build/latex/Decompose1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/Decompose1.png -------------------------------------------------------------------------------- /docs/build/latex/Green_Function_Database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/Green_Function_Database.png -------------------------------------------------------------------------------- /docs/build/latex/Hudson_plot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/Hudson_plot.png -------------------------------------------------------------------------------- /docs/build/latex/LatinRules.xdy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/LatinRules.xdy -------------------------------------------------------------------------------- /docs/build/latex/Makefile: -------------------------------------------------------------------------------- 1 | # Makefile for Sphinx LaTeX output 2 | 3 | ALLDOCS = $(basename $(wildcard *.tex)) 4 | ALLPDF = $(addsuffix .pdf,$(ALLDOCS)) 5 | ALLDVI = 6 | ALLXDV = $(addsuffix .xdv,$(ALLDOCS)) 7 | ALLPS = $(addsuffix .ps,$(ALLDOCS)) 8 | 9 | # Prefix for archive names 10 | ARCHIVEPREFIX = 11 | # Additional LaTeX options (passed via variables in latexmkrc/latexmkjarc file) 12 | export LATEXOPTS ?= 13 | # Additional latexmk options 14 | # with latexmk version 4.52b or higher set LATEXMKOPTS to -xelatex either here 15 | # or on command line for faster builds. 16 | LATEXMKOPTS ?= 17 | export XINDYOPTS = -L english -C utf8 -M sphinx.xdy 18 | # format: pdf or dvi (used only by archive targets) 19 | FMT = pdf 20 | 21 | LATEX = latexmk -dvi 22 | PDFLATEX = latexmk -pdf -dvi- -ps- 23 | 24 | 25 | %.ps: %.dvi 26 | dvips '$<' 27 | 28 | %.pdf: %.tex FORCE_MAKE 29 | $(PDFLATEX) $(LATEXMKOPTS) '$<' 30 | 31 | all: $(ALLPDF) 32 | 33 | all-dvi: $(ALLDVI) 34 | 35 | all-ps: $(ALLPS) 36 | 37 | all-pdf: $(ALLPDF) 38 | 39 | zip: all-$(FMT) 40 | mkdir $(ARCHIVEPREFIX)docs-$(FMT) 41 | cp $(ALLPDF) $(ARCHIVEPREFIX)docs-$(FMT) 42 | zip -q -r -9 $(ARCHIVEPREFIX)docs-$(FMT).zip $(ARCHIVEPREFIX)docs-$(FMT) 43 | rm -r $(ARCHIVEPREFIX)docs-$(FMT) 44 | 45 | tar: all-$(FMT) 46 | mkdir $(ARCHIVEPREFIX)docs-$(FMT) 47 | cp $(ALLPDF) $(ARCHIVEPREFIX)docs-$(FMT) 48 | tar cf $(ARCHIVEPREFIX)docs-$(FMT).tar $(ARCHIVEPREFIX)docs-$(FMT) 49 | rm -r $(ARCHIVEPREFIX)docs-$(FMT) 50 | 51 | gz: tar 52 | gzip -9 < $(ARCHIVEPREFIX)docs-$(FMT).tar > $(ARCHIVEPREFIX)docs-$(FMT).tar.gz 53 | 54 | bz2: tar 55 | bzip2 -9 -k $(ARCHIVEPREFIX)docs-$(FMT).tar 56 | 57 | xz: tar 58 | xz -9 -k $(ARCHIVEPREFIX)docs-$(FMT).tar 59 | 60 | clean: 61 | rm -f *.log *.ind *.aux *.toc *.syn *.idx *.out *.ilg *.pla *.ps *.tar *.tar.gz *.tar.bz2 *.tar.xz $(ALLPDF) $(ALLDVI) $(ALLXDV) *.fls *.fdb_latexmk 62 | 63 | .PHONY: all all-pdf all-dvi all-ps clean zip tar gz bz2 xz 64 | .PHONY: FORCE_MAKE -------------------------------------------------------------------------------- /docs/build/latex/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/alpha.png -------------------------------------------------------------------------------- /docs/build/latex/beachball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/beachball.png -------------------------------------------------------------------------------- /docs/build/latex/beachball1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/beachball1.png -------------------------------------------------------------------------------- /docs/build/latex/hist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/hist.png -------------------------------------------------------------------------------- /docs/build/latex/hist1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/hist1.png -------------------------------------------------------------------------------- /docs/build/latex/hist_accept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/hist_accept.png -------------------------------------------------------------------------------- /docs/build/latex/latexmkjarc: -------------------------------------------------------------------------------- 1 | $latex = 'xelatex ' . $ENV{'LATEXOPTS'} . ' -kanji=utf8 %O %S'; 2 | $dvipdf = 'dvipdfmx %O -o %D %S'; 3 | $makeindex = 'internal mendex %S %B %D'; 4 | sub mendex { 5 | my ($source, $basename, $destination) = @_; 6 | my $dictfile = $basename . ".dic"; 7 | unlink($destination); 8 | system("mendex", "-U", "-f", "-d", $dictfile, "-s", "python.ist", $source); 9 | if ($? > 0) { 10 | print("mendex exited with error code $? (ignored)\n"); 11 | } 12 | if (!-e $destination) { 13 | # create an empty .ind file if nothing 14 | open(FH, ">" . $destination); 15 | close(FH); 16 | } 17 | return 0; 18 | } 19 | add_cus_dep( "glo", "gls", 0, "makeglo" ); 20 | sub makeglo { 21 | return system( "mendex -J -f -s gglo.ist -o '$_[0].gls' '$_[0].glo'" ); 22 | } -------------------------------------------------------------------------------- /docs/build/latex/latexmkrc: -------------------------------------------------------------------------------- 1 | $latex = 'xelatex --no-pdf ' . $ENV{'LATEXOPTS'} . ' %O %S'; 2 | $pdflatex = 'xelatex ' . $ENV{'LATEXOPTS'} . ' %O %S'; 3 | $lualatex = 'lualatex ' . $ENV{'LATEXOPTS'} . ' %O %S'; 4 | $xelatex = 'xelatex --no-pdf ' . $ENV{'LATEXOPTS'} . ' %O %S'; 5 | $makeindex = 'internal xindy ' . $ENV{'XINDYOPTS'} . ' %O -o %D %S'; 6 | sub xindy { 7 | my @args = @_; 8 | if (-z $args[-1]) { 9 | # create an empty .ind file if .idx is empty 10 | open(FH, ">" . $args[-2]); 11 | close(FH); 12 | return 0; 13 | } else { 14 | return system("xindy", @args); 15 | } 16 | } 17 | add_cus_dep( "glo", "gls", 0, "makeglo" ); 18 | sub makeglo { 19 | return system( "makeindex -s gglo.ist -o '$_[0].gls' '$_[0].glo'" ); 20 | } -------------------------------------------------------------------------------- /docs/build/latex/logo-small-cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/logo-small-cut.png -------------------------------------------------------------------------------- /docs/build/latex/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/logo.gif -------------------------------------------------------------------------------- /docs/build/latex/make.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | 3 | REM Command file for Sphinx documentation 4 | 5 | pushd %~dp0 6 | 7 | set PDFLATEX=latexmk -pdf -dvi- -ps- 8 | 9 | set "LATEXOPTS= " 10 | 11 | set XINDYOPTS=-L english -C utf8 -M sphinx.xdy 12 | set XINDYOPTS=%XINDYOPTS% -I xelatex 13 | if "%1" == "" goto all-pdf 14 | 15 | if "%1" == "all-pdf" ( 16 | :all-pdf 17 | for %%i in (*.tex) do ( 18 | %PDFLATEX% %LATEXMKOPTS% %%i 19 | ) 20 | goto end 21 | ) 22 | 23 | if "%1" == "all-pdf-ja" ( 24 | goto all-pdf 25 | ) 26 | 27 | if "%1" == "clean" ( 28 | del /q /s *.dvi *.log *.ind *.aux *.toc *.syn *.idx *.out *.ilg *.pla *.ps *.tar *.tar.gz *.tar.bz2 *.tar.xz *.fls *.fdb_latexmk 29 | goto end 30 | ) 31 | 32 | :end 33 | popd -------------------------------------------------------------------------------- /docs/build/latex/mcmtpy-test.aux: -------------------------------------------------------------------------------- 1 | \relax 2 | \providecommand\hyper@newdestlabel[2]{} 3 | \providecommand\babel@aux[2]{} 4 | \@nameuse{bbl@beforestart} 5 | \providecommand\HyperFirstAtBeginDocument{\AtBeginDocument} 6 | \HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined 7 | \global\let\oldcontentsline\contentsline 8 | \gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}} 9 | \global\let\oldnewlabel\newlabel 10 | \gdef\newlabel#1#2{\newlabelxx{#1}#2} 11 | \gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}} 12 | \AtEndDocument{\ifx\hyper@anchor\@undefined 13 | \let\contentsline\oldcontentsline 14 | \let\newlabel\oldnewlabel 15 | \fi} 16 | \fi} 17 | \global\let\hyper@last\relax 18 | \gdef\HyperFirstAtBeginDocument#1{#1} 19 | \providecommand\HyField@AuxAddToFields[1]{} 20 | \providecommand\HyField@AuxAddToCoFields[2]{} 21 | \babel@aux{english}{} 22 | -------------------------------------------------------------------------------- /docs/build/latex/mcmtpy-test.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/mcmtpy-test.idx -------------------------------------------------------------------------------- /docs/build/latex/mcmtpy-test.ilg: -------------------------------------------------------------------------------- 1 | This is makeindex, version 2.15 [TeX Live 2021] (kpathsea + Thai support). 2 | Scanning style file ./python.ist.......done (7 attributes redefined, 0 ignored). 3 | Scanning input file mcmtpy-test.idx...done (0 entries accepted, 0 rejected). 4 | Nothing written in mcmtpy-test.ind. 5 | Transcript written in mcmtpy-test.ilg. 6 | -------------------------------------------------------------------------------- /docs/build/latex/mcmtpy-test.ind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/mcmtpy-test.ind -------------------------------------------------------------------------------- /docs/build/latex/mcmtpy-test.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/mcmtpy-test.out -------------------------------------------------------------------------------- /docs/build/latex/mcmtpy-test.toc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/mcmtpy-test.toc -------------------------------------------------------------------------------- /docs/build/latex/misfit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/misfit.png -------------------------------------------------------------------------------- /docs/build/latex/misfit1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/misfit1.png -------------------------------------------------------------------------------- /docs/build/latex/missfont.log: -------------------------------------------------------------------------------- 1 | mktextfm SimSun/OT 2 | mktextfm SimSun/OT 3 | mktextfm SimHei/OT 4 | mktextfm SimHei/I/OT 5 | mktextfm SimSun/OT 6 | mktextfm SimSun/BI/OT 7 | mktextfm SimSun/OT 8 | -------------------------------------------------------------------------------- /docs/build/latex/python.ist: -------------------------------------------------------------------------------- 1 | line_max 100 2 | headings_flag 1 3 | heading_prefix " \\bigletter " 4 | 5 | preamble "\\begin{sphinxtheindex} 6 | \\let\\bigletter\\sphinxstyleindexlettergroup 7 | \\let\\spxpagem \\sphinxstyleindexpagemain 8 | \\let\\spxentry \\sphinxstyleindexentry 9 | \\let\\spxextra \\sphinxstyleindexextra 10 | 11 | " 12 | 13 | postamble "\n\n\\end{sphinxtheindex}\n" 14 | 15 | symhead_positive "{\\sphinxsymbolsname}" 16 | numhead_positive "{\\sphinxnumbersname}" 17 | -------------------------------------------------------------------------------- /docs/build/latex/sphinxcyrillic.sty: -------------------------------------------------------------------------------- 1 | %% CYRILLIC IN NON-CYRILLIC DOCUMENTS (pdflatex only) 2 | % 3 | % refs: https://tex.stackexchange.com/q/460271/ 4 | \ProvidesPackage{sphinxcyrillic}% 5 | [2018/11/21 v2.0 support for Cyrillic in non-Cyrillic documents] 6 | \RequirePackage{kvoptions} 7 | \SetupKeyvalOptions{prefix=spx@cyropt@} % use \spx@cyropt@ prefix 8 | \DeclareBoolOption[false]{Xtwo} 9 | \DeclareBoolOption[false]{TtwoA} 10 | \DeclareDefaultOption{\@unknownoptionerror} 11 | \ProcessLocalKeyvalOptions* % ignore class options 12 | 13 | \ifspx@cyropt@Xtwo 14 | % original code by tex.sx user egreg (updated 2019/10/28): 15 | % https://tex.stackexchange.com/a/460325/ 16 | % 159 Cyrillic glyphs as available in X2 TeX 8bit font encoding 17 | % This assumes inputenc loaded with utf8 option, or LaTeX release 18 | % as recent as 2018/04/01 which does it automatically. 19 | \@tfor\next:=% 20 | {Ё}{Ђ}{Є}{Ѕ}{І}{Ј}{Љ}{Њ}{Ћ}{Ў}{Џ}{А}{Б}{В}{Г}{Д}{Е}{Ж}{З}{И}{Й}% 21 | {К}{Л}{М}{Н}{О}{П}{Р}{С}{Т}{У}{Ф}{Х}{Ц}{Ч}{Ш}{Щ}{Ъ}{Ы}{Ь}{Э}{Ю}% 22 | {Я}{а}{б}{в}{г}{д}{е}{ж}{з}{и}{й}{к}{л}{м}{н}{о}{п}{р}{с}{т}{у}% 23 | {ф}{х}{ц}{ч}{ш}{щ}{ъ}{ы}{ь}{э}{ю}{я}{ё}{ђ}{є}{ѕ}{і}{ј}{љ}{њ}{ћ}% 24 | {ў}{џ}{Ѣ}{ѣ}{Ѫ}{ѫ}{Ѵ}{ѵ}{Ґ}{ґ}{Ғ}{ғ}{Ҕ}{ҕ}{Җ}{җ}{Ҙ}{ҙ}{Қ}{қ}{Ҝ}{ҝ}% 25 | {Ҟ}{ҟ}{Ҡ}{ҡ}{Ң}{ң}{Ҥ}{ҥ}{Ҧ}{ҧ}{Ҩ}{ҩ}{Ҫ}{ҫ}{Ҭ}{ҭ}{Ү}{ү}{Ұ}{ұ}{Ҳ}{ҳ}% 26 | {Ҵ}{ҵ}{Ҷ}{ҷ}{Ҹ}{ҹ}{Һ}{һ}{Ҽ}{ҽ}{Ҿ}{ҿ}{Ӏ}{Ӄ}{ӄ}{Ӆ}{ӆ}{Ӈ}{ӈ}{Ӌ}{ӌ}% 27 | {Ӎ}{ӎ}{Ӕ}{ӕ}{Ә}{ә}{Ӡ}{ӡ}{Ө}{ө}\do 28 | {% 29 | \begingroup\def\IeC{\protect\DeclareTextSymbolDefault}% 30 | \protected@edef\@temp{\endgroup 31 | \@ifl@t@r{\fmtversion}{2019/10/01}{\csname u8:\next\endcsname}{\next}}% 32 | \@temp{X2}% 33 | }% 34 | \else 35 | \ifspx@cyropt@TtwoA 36 | % original code by tex.sx user jfbu: 37 | % https://tex.stackexchange.com/a/460305/ 38 | % 63*2+1=127 Cyrillic glyphs as found in T2A 8bit TeX font-encoding 39 | \@tfor\@tempa:=% 40 | {ae}{a}{b}{chrdsc}{chvcrs}{ch}{c}{dje}{dze}{dzhe}{d}{erev}{ery}{e}% 41 | {f}{ghcrs}{gup}{g}{hdsc}{hrdsn}{h}{ie}{ii}{ishrt}{i}{je}% 42 | {kbeak}{kdsc}{kvcrs}{k}{lje}{l}{m}{ndsc}{ng}{nje}{n}{otld}{o}{p}{r}% 43 | {schwa}{sdsc}{sftsn}{shch}{shha}{sh}{s}{tshe}{t}{ushrt}{u}{v}% 44 | {ya}{yhcrs}{yi}{yo}{yu}{y}{zdsc}{zhdsc}{zh}{z}\do 45 | {% 46 | \expandafter\DeclareTextSymbolDefault\expandafter 47 | {\csname cyr\@tempa\endcsname}{T2A}% 48 | \expandafter\uppercase\expandafter{\expandafter 49 | \def\expandafter\@tempa\expandafter{\@tempa}}% 50 | \expandafter\DeclareTextSymbolDefault\expandafter 51 | {\csname CYR\@tempa\endcsname}{T2A}% 52 | }% 53 | \DeclareTextSymbolDefault{\CYRpalochka}{T2A}% 54 | \fi\fi 55 | \endinput 56 | -------------------------------------------------------------------------------- /docs/build/latex/sphinxmessages.sty: -------------------------------------------------------------------------------- 1 | % 2 | % sphinxmessages.sty 3 | % 4 | % message resources for Sphinx 5 | % 6 | \ProvidesPackage{sphinxmessages}[2019/01/04 v2.0 Localized LaTeX macros (Sphinx team)] 7 | 8 | \renewcommand{\literalblockcontinuedname}{continued from previous page} 9 | \renewcommand{\literalblockcontinuesname}{continues on next page} 10 | \renewcommand{\sphinxnonalphabeticalgroupname}{Non\sphinxhyphen{}alphabetical} 11 | \renewcommand{\sphinxsymbolsname}{Symbols} 12 | \renewcommand{\sphinxnumbersname}{Numbers} 13 | \def\pageautorefname{page} 14 | 15 | \addto\captionsenglish{\renewcommand{\figurename}{Fig.\@{} }} 16 | \def\fnum@figure{\figurename\thefigure{}} 17 | 18 | \addto\captionsenglish{\renewcommand{\tablename}{Table }} 19 | \def\fnum@table{\tablename\thetable{}} 20 | 21 | \addto\captionsenglish{\renewcommand{\literalblockname}{Listing}} -------------------------------------------------------------------------------- /docs/build/latex/station_location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/station_location.png -------------------------------------------------------------------------------- /docs/build/latex/waveform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/waveform.png -------------------------------------------------------------------------------- /docs/build/latex/waveform1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/latex/waveform1.png -------------------------------------------------------------------------------- /docs/build/pdf/MCMTpy_Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/pdf/MCMTpy_Documentation.pdf -------------------------------------------------------------------------------- /docs/build/pdf/MyProject.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/build/pdf/MyProject.pdf -------------------------------------------------------------------------------- /docs/figures/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/.DS_Store -------------------------------------------------------------------------------- /docs/figures/Decompose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/Decompose.png -------------------------------------------------------------------------------- /docs/figures/Green_Function_Database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/Green_Function_Database.png -------------------------------------------------------------------------------- /docs/figures/Green_Function_Database1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/Green_Function_Database1.png -------------------------------------------------------------------------------- /docs/figures/Hudson_plot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/Hudson_plot.png -------------------------------------------------------------------------------- /docs/figures/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/alpha.png -------------------------------------------------------------------------------- /docs/figures/beachball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/beachball.png -------------------------------------------------------------------------------- /docs/figures/hist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/hist.png -------------------------------------------------------------------------------- /docs/figures/hist_accept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/hist_accept.png -------------------------------------------------------------------------------- /docs/figures/logo/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/logo/.DS_Store -------------------------------------------------------------------------------- /docs/figures/logo/background-video.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/logo/background-video.mp4 -------------------------------------------------------------------------------- /docs/figures/logo/logo-small-cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/logo/logo-small-cut.png -------------------------------------------------------------------------------- /docs/figures/logo/logo-small.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/logo/logo-small.gif -------------------------------------------------------------------------------- /docs/figures/logo/logo-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/logo/logo-small.png -------------------------------------------------------------------------------- /docs/figures/logo/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/logo/logo.gif -------------------------------------------------------------------------------- /docs/figures/logo/logo.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/logo/logo.mp4 -------------------------------------------------------------------------------- /docs/figures/misfit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/misfit.png -------------------------------------------------------------------------------- /docs/figures/pdf/Decompose.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/Decompose.pdf -------------------------------------------------------------------------------- /docs/figures/pdf/Green_Function_Library.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/Green_Function_Library.pdf -------------------------------------------------------------------------------- /docs/figures/pdf/Hudson_plot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/Hudson_plot.pdf -------------------------------------------------------------------------------- /docs/figures/pdf/alpha.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/alpha.pdf -------------------------------------------------------------------------------- /docs/figures/pdf/beachball.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/beachball.pdf -------------------------------------------------------------------------------- /docs/figures/pdf/decomp_CLVD.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/decomp_CLVD.pdf -------------------------------------------------------------------------------- /docs/figures/pdf/decomp_DC.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/decomp_DC.pdf -------------------------------------------------------------------------------- /docs/figures/pdf/decomp_MT.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/decomp_MT.pdf -------------------------------------------------------------------------------- /docs/figures/pdf/hist.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/hist.pdf -------------------------------------------------------------------------------- /docs/figures/pdf/hist_accept.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/hist_accept.pdf -------------------------------------------------------------------------------- /docs/figures/pdf/misfit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/misfit.pdf -------------------------------------------------------------------------------- /docs/figures/pdf/station_location.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/station_location.pdf -------------------------------------------------------------------------------- /docs/figures/pdf/waveform.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/pdf/waveform.pdf -------------------------------------------------------------------------------- /docs/figures/station_location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/station_location.png -------------------------------------------------------------------------------- /docs/figures/waveform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/waveform.png -------------------------------------------------------------------------------- /docs/figures/zip/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/.DS_Store -------------------------------------------------------------------------------- /docs/figures/zip/Decompose-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/Decompose-1.png -------------------------------------------------------------------------------- /docs/figures/zip/Decompose.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/Decompose.zip -------------------------------------------------------------------------------- /docs/figures/zip/Green_Function_Library-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/Green_Function_Library-1.png -------------------------------------------------------------------------------- /docs/figures/zip/Green_Function_Library.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/Green_Function_Library.zip -------------------------------------------------------------------------------- /docs/figures/zip/Hudson_plot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/Hudson_plot-1.png -------------------------------------------------------------------------------- /docs/figures/zip/Hudson_plot.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/Hudson_plot.zip -------------------------------------------------------------------------------- /docs/figures/zip/alpha-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/alpha-1.png -------------------------------------------------------------------------------- /docs/figures/zip/alpha.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/alpha.zip -------------------------------------------------------------------------------- /docs/figures/zip/beachball-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/beachball-1.png -------------------------------------------------------------------------------- /docs/figures/zip/beachball.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/beachball.zip -------------------------------------------------------------------------------- /docs/figures/zip/hist-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/hist-1.png -------------------------------------------------------------------------------- /docs/figures/zip/hist.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/hist.zip -------------------------------------------------------------------------------- /docs/figures/zip/hist_accept-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/hist_accept-1.png -------------------------------------------------------------------------------- /docs/figures/zip/hist_accept.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/hist_accept.zip -------------------------------------------------------------------------------- /docs/figures/zip/misfit-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/misfit-1.png -------------------------------------------------------------------------------- /docs/figures/zip/misfit.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/misfit.zip -------------------------------------------------------------------------------- /docs/figures/zip/station_location-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/station_location-1.png -------------------------------------------------------------------------------- /docs/figures/zip/station_location.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/station_location.zip -------------------------------------------------------------------------------- /docs/figures/zip/waveform-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/waveform-1.png -------------------------------------------------------------------------------- /docs/figures/zip/waveform.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/figures/zip/waveform.zip -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | 3 | pushd %~dp0 4 | 5 | REM Command file for Sphinx documentation 6 | 7 | if "%SPHINXBUILD%" == "" ( 8 | set SPHINXBUILD=sphinx-build 9 | ) 10 | set SOURCEDIR=source 11 | set BUILDDIR=build 12 | 13 | if "%1" == "" goto help 14 | 15 | %SPHINXBUILD% >NUL 2>NUL 16 | if errorlevel 9009 ( 17 | echo. 18 | echo.The 'sphinx-build' command was not found. Make sure you have Sphinx 19 | echo.installed, then set the SPHINXBUILD environment variable to point 20 | echo.to the full path of the 'sphinx-build' executable. Alternatively you 21 | echo.may add the Sphinx directory to PATH. 22 | echo. 23 | echo.If you don't have Sphinx installed, grab it from 24 | echo.http://sphinx-doc.org/ 25 | exit /b 1 26 | ) 27 | 28 | %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% 29 | goto end 30 | 31 | :help 32 | %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% 33 | 34 | :end 35 | popd 36 | -------------------------------------------------------------------------------- /docs/source/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/.DS_Store -------------------------------------------------------------------------------- /docs/source/_build/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/.DS_Store -------------------------------------------------------------------------------- /docs/source/_build/html/.buildinfo: -------------------------------------------------------------------------------- 1 | # Sphinx build info version 1 2 | # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. 3 | config: 316f3bdfed0322731a1e160ecd37de87 4 | tags: 645f666f9bcd5a90fca523b33c5a78b7 5 | -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/README.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/README.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/applications.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/applications.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/environment.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/environment.pickle -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/examples.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/examples.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/index.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/index.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/installation.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/installation.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/references.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/references.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorial.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorial.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorial_detailed.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorial_detailed.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/S1_Build_GFs.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/S1_Build_GFs.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/S2_Syn_Waveform.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/S2_Syn_Waveform.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/S3_Process_Data.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/S3_Process_Data.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/S4_Inv_DC.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/S4_Inv_DC.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/S5_Plot_Result.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/S5_Plot_Result.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/S6_Conver_FM.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/S6_Conver_FM.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/S7_Plot_Beachball.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/S7_Plot_Beachball.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/S8_Decompose_MT.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/S8_Decompose_MT.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/S9_Plot_Hudson.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/S9_Plot_Hudson.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/S9_Plot_Huston.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/S9_Plot_Huston.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/create_observed_asdf_file.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/create_observed_asdf_file.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/parallel_pyflex.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/parallel_pyflex.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/process_observed.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/process_observed.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/.doctrees/tutorials/source_receiver_geometry.doctree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/.doctrees/tutorials/source_receiver_geometry.doctree -------------------------------------------------------------------------------- /docs/source/_build/html/_images/Decompose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/Decompose.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/Decompose1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/Decompose1.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/Green_Function_Database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/Green_Function_Database.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/Green_Function_Databse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/Green_Function_Databse.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/Hudson_plot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/Hudson_plot.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/alpha.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/beachball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/beachball.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/beachball1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/beachball1.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/hist.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/hist.pdf -------------------------------------------------------------------------------- /docs/source/_build/html/_images/hist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/hist.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/hist1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/hist1.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/hist_accept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/hist_accept.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/logo-small.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/logo-small.gif -------------------------------------------------------------------------------- /docs/source/_build/html/_images/logo-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/logo-small.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/logo.gif -------------------------------------------------------------------------------- /docs/source/_build/html/_images/misfit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/misfit.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/misfit1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/misfit1.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/station_location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/station_location.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/waveform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/waveform.png -------------------------------------------------------------------------------- /docs/source/_build/html/_images/waveform1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_images/waveform1.png -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/applications.rst.txt: -------------------------------------------------------------------------------- 1 | Applications 2 | ============ 3 | 4 | To fulfill the strong need at user’s end for applications based on ambient noise, NoisePy provides two application scripts for further surface wave dispersion analysis and 5 | seismic monitoring through measuring velocity change with time. 6 | 7 | I. Group velocity measurements 8 | ------------------------------ 9 | The script of `I_group_velocity.py` is to estimate the group velocity using wavelet transform. The general idea is to apply narrow bandpass filters to the waveform and track 10 | the energy peak in each narrow frequency bands at multiple frequencies. The image below shows our synthetic test by cross-comparing the predicted dispersion curves using the 11 | wave propagation matrix method from CPS (Hermann et al., 2012) and those measured using our script upon a synthetic waveform from SPECFEM2D. 12 | 13 | .. image:: figures/disp_validation.png 14 | :width: 100% 15 | :align: center 16 | 17 | II. Monitoring velocity changes 18 | ------------------------------- 19 | The script of `II_measure_dvv.py` combines several general and popular methods for dv/v measurement including waveform stretching (Sens-Schönfelder and Wegler, 2006), 20 | dynamic time warping (Mikesell et al., 2015), moving-window cross spectrum (Clark et al., 2011), and the two newly developed methods in wavelet domain including 1) wavelet cross-spectrum 21 | (wcs; Mao et al., 2018) and wavelet stretching (Yuan et al., in prep). 22 | 23 | .. image:: figures/dvv_validation.png 24 | :width: 100% 25 | :align: center 26 | 27 | -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/examples.rst.txt: -------------------------------------------------------------------------------- 1 | NoisePy ASDF file architecture 2 | =========================== 3 | 4 | The ASDF format is developed by the **Theoretical and Computation Seismology Group** at Princeton University, and 5 | combines the capability to create comprehensive data sets including all necessary meta information with 6 | high-performance parallel I/O for the most demanding use cases. The users who are interested in the details of this 7 | format are referred to the following publication. 8 | 9 | * Krischer, L., Smith, J., Lei, W., Lefebvre, M., Ruan, Y., de Andrade, E.S., Podhorszki, N., Bozdağ, E. and Tromp, J., 2016. An adaptable seismic data format. Geophysical Supplements to the Monthly Notices of the Royal Astronomical Society, 207(2), 1003-1011. 10 | 11 | 12 | To better show the pyasdf format, we use the default examples downloaded from the pyasdf Github repository 13 | https://github.com/SeismicData/pyasdf for creating, processing and writing ``pyasdf`` format data. 14 | 15 | * :doc:`examples/create_observed_asdf_file` 16 | * :doc:`examples/process_observed` 17 | * :doc:`examples/parallel_pyflex` 18 | 19 | .. toctree:: 20 | :maxdepth: 1 21 | :hidden: 22 | 23 | examples/create_observed_asdf_file 24 | examples/process_observed 25 | examples/parallel_pyflex 26 | examples/source_receiver_geometry 27 | 28 | .. note:: 29 | The examples on pyasdf shown here are exclusively collected from the pyasdf offical website, which is 30 | subject to the BSD 3-Clause license. 31 | -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/index.rst.txt: -------------------------------------------------------------------------------- 1 | .. MCMTpy-test documentation master file, created by 2 | sphinx-quickstart on Wed Jun 23 16:10:07 2021. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | 7 | 8 | 9 | Welcome to MCMTpy-test's documentation! 10 | ======================================= 11 | .. image:: ../figures/logo/logo.gif 12 | :width: 80% 13 | :align: center 14 | 15 | 16 | .. note:: 17 | `Version 0.1.0a1 `_ 18 | is the currently release. 19 | 20 | 21 | This is the documentation for the Python package of **MCMTpy**, which is python tool for seismic source study. 22 | For further information please see below website: 23 | 24 | * Github repository of **MCMTpy**: https://github.com/OUCyf 25 | 26 | If you use **MCMTpy** for your research and prepare publications, please citing **MCMTpy**: 27 | 28 | * MCMTpy: A Python Package for Simultaneous Inversion of Source Location, Focal Mechanism, and Rupture Directivity. 29 | In prep for Seismological Research Letter. 30 | 31 | 32 | 33 | 34 | Contents: 35 | ================== 36 | .. toctree:: 37 | :maxdepth: 2 38 | :glob: 39 | :caption: Installing: 40 | 41 | installation 42 | 43 | .. toctree:: 44 | :maxdepth: 2 45 | :glob: 46 | :caption: Tutorial: 47 | 48 | tutorial 49 | tutorial_detailed 50 | 51 | .. toctree:: 52 | :maxdepth: 2 53 | :glob: 54 | :caption: References: 55 | 56 | references 57 | 58 | 59 | 60 | 61 | 62 | 63 | Indices and tables 64 | ================== 65 | 66 | * :ref:`genindex` 67 | * :ref:`search` 68 | -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/references.rst.txt: -------------------------------------------------------------------------------- 1 | References 2 | ================ 3 | 4 | 5 | 6 | ASDF 7 | ------------------------ 8 | The ``pyasdf`` Github repository https://github.com/SeismicData/pyasdf. 9 | 10 | * Krischer, L., Smith, J., Lei, W., Lefebvre, M., Ruan, Y., de Andrade, E.S., Podhorszki, N., Bozdağ, E. 11 | and Tromp, J., 2016. An adaptable seismic data format. Geophysical Supplements to the Monthly Notices 12 | of the Royal Astronomical Society, 207(2), 1003-1011. 13 | 14 | 15 | 16 | 17 | pyfk 18 | ------------------------ 19 | The ``pyfk`` Github repository https://github.com/ziyixi/pyfk. 20 | 21 | 22 | 23 | NoisePy 24 | ------------------------ 25 | The ``NoisePy`` Github repository https://noise-python.readthedocs.io/en/latest/examples.html. 26 | 27 | * Jiang, C., Yuan, C., and Denolle, M. NoisePy: a new high-performance python tool for seismic 28 | ambient noise seismology. 29 | 30 | 31 | 32 | MoPaD 33 | ------------------------ 34 | The ``MoPaD`` website http://www.larskrieger.de/mopad/ 35 | 36 | * Lars Krieger and Sebastian Heimann. MoPad —Moment Tensor Plotting and Decomposition: A Tool for 37 | Graphical and Numerical Analysis of Seismic Moment Tensors. 38 | 39 | 40 | 41 | 42 | BEAT 43 | ------------------------ 44 | The ``BEAT`` website https://hvasbath.github.io/beat/index.html 45 | 46 | * Vasyura-Bathke, H.,J. Dettmer, A. Steinberg, S. Heimann, M. P. Isken, O. Zielke, P. M. Mai, H. Sudhaus, 47 | and S. Jónsson (2020). The Bayesian Earthquake Analysis Tool, Seismol. Res. Lett. 91, 1003–1018, 48 | doi: 10.1785/0220190075. 49 | 50 | 51 | 52 | 53 | Other references adding... 54 | ------------------------------ 55 | Working on that... 56 | -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/tutorial.rst.txt: -------------------------------------------------------------------------------- 1 | Tutorial 2 | ======== 3 | 4 | In this tutorial, we will show some of the key steps in **MCMTpy** for **Focal Mechanism Inversion**, 5 | including **DC** (double couple) and **MT** (moment tensor) inversion (not in now). 6 | 7 | 8 | 9 | About ASDF format 10 | ------------------------ 11 | The users who are interested in the details of **ASDF format** are referred to the following publication. 12 | And the pyasdf Github repository https://github.com/SeismicData/pyasdf. 13 | 14 | * Krischer, L., Smith, J., Lei, W., Lefebvre, M., Ruan, Y., de Andrade, E.S., Podhorszki, N., Bozdağ, E. 15 | and Tromp, J., 2016. An adaptable seismic data format. Geophysical Supplements to the Monthly Notices 16 | of the Royal Astronomical Society, 207(2), 1003-1011. 17 | 18 | You can also find some useful examples about ``pyasdf`` in `NoisePy. `_ 19 | 20 | 21 | About pyfk 22 | ------------------------ 23 | The users who are interested in the details of **pyfk** are referred to the pyfk Github 24 | repository https://github.com/ziyixi/pyfk. 25 | 26 | 27 | 28 | Short tutorial 29 | ------------------------ 30 | MCMTpy stores all the parameter information in four JSON files: **build_GFs.json**, **syn.json**, 31 | **sample.json** and **plot.json**, and you can find those json-files in path *./MCMTpy-master/jsons/*. 32 | For parameters choosing, please refer to **Detailed tutorial**. The steps to do inversion process are: 33 | 34 | **1. Calculate green function database**:: 35 | 36 | $ MCMTpy build_GFs pyfk -c ./build_GFs.json 37 | $ mpirun -n 4 MCMTpy build_GFs pyfk -c ./build_GFs.json # parallel 38 | 39 | **2. Synthesize the test data**:: 40 | 41 | $ MCMTpy syn pyfk -c ./syn.json 42 | 43 | **3. Inversion of focal mechanism**:: 44 | 45 | $ MCMTpy sample MH -c ./sample.json 46 | $ mpirun -n 4 MCMTpy sample MH -c ./sample.json # parallel 47 | 48 | **4. Result visualization**:: 49 | 50 | $ MCMTpy plot pyfk -c plot.json 51 | 52 | .. image:: ../figures/station_location.png 53 | :width: 100% 54 | :align: center 55 | .. image:: ../figures/hist.png 56 | :width: 100% 57 | :align: center 58 | .. image:: ../figures/misfit.png 59 | :width: 100% 60 | :align: center 61 | .. image:: ../figures/alpha.png 62 | :width: 100% 63 | :align: center 64 | .. image:: ../figures/waveform.png 65 | :width: 100% 66 | :align: center 67 | .. image:: ../figures/beachball.png 68 | :width: 100% 69 | :align: center 70 | .. image:: ../figures/Decompose.png 71 | :width: 100% 72 | :align: center 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/tutorial_detailed.rst.txt: -------------------------------------------------------------------------------- 1 | Tutorial_Detailed 2 | ================= 3 | 4 | 5 | More details on **MCMTpy** for data processing, parameters choosing can be found in following documentations, 6 | and the **jupyter notebook** can be find in *./MCMTpy-master/data/example_yunnan/Jupyter_notebook*: 7 | 8 | 9 | 10 | .. toctree:: 11 | :maxdepth: 1 12 | 13 | tutorials/S1_Build_GFs 14 | tutorials/S2_Syn_Waveform 15 | tutorials/S3_Process_Data 16 | tutorials/S4_Inv_DC 17 | tutorials/S5_Plot_Result 18 | tutorials/S6_Conver_FM 19 | tutorials/S7_Plot_Beachball 20 | tutorials/S8_Decompose_MT 21 | tutorials/S9_Plot_Hudson 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/tutorials/S3_Process_Data.rst.txt: -------------------------------------------------------------------------------- 1 | Prepare Data for MCMTpy 2 | ======================== 3 | 4 | .. contents:: 5 | :local: 6 | :depth: 1 7 | 8 | 9 | Format of MCMTpy input data: 10 | ------------------------------- 11 | 12 | * **ASDF** file format, and the sampling rate ``dt`` is consistent with that of GFs database. 13 | 14 | * Must be **ENZ** three-component data and the name of the channel must be 'E'/'N'/'Z' order. 15 | 16 | .. note:: 17 | Pyasdf files are automatically sorted by name. So you must make sure that the order of the Trace 18 | is still ENZ after the automatic sorting, generally the name of the channel 'BHE'/'BHN'/'BHZ' will be fine. 19 | 20 | * **Trace.Stats.sac.t1**/**Trace.Stats.sac.t2** must be included in the trace header file to represent the P/S phase time. 21 | 22 | * The trace header file must include the **station** and **network** name. 23 | 24 | * The trace header file must include **b/e/o/stla/stlo/stdp/evlo/evla/evdp/mag/dist/az/baz**, time information, 25 | event longitude and latitude information, azimuth information. 26 | 27 | * The trace header file must include **starttime/endtime**. 28 | 29 | * All traces need to retain a uniform number of sampling points before T1, such as **p_n0 = 50**. 30 | 31 | 32 | 33 | 34 | 35 | Example 36 | ------------------------ 37 | * We have provided some useful scripts for data preprocessing, and the **example_path** need to de changed to your path, 38 | and run this notebook. 39 | 40 | .. literalinclude:: S3_processing_data.py 41 | :language: python 42 | :linenos: 43 | 44 | 45 | .. note:: 46 | Please follow the above parameter instructions and set all parameters correctly before running the program. 47 | Otherwise, it is easy to report an error! -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/tutorials/S7_Plot_Beachball.rst.txt: -------------------------------------------------------------------------------- 1 | Plot Beachball with Station Projected 2 | ================================================ 3 | 4 | .. contents:: 5 | :local: 6 | :depth: 1 7 | 8 | 9 | * The **example_path** need to de changed to your path, and run this notebook. 10 | 11 | .. literalinclude:: S7_plot_beachball.py 12 | :language: python 13 | :linenos: 14 | 15 | .. image:: ../../figures/beachball.png 16 | :width: 100% 17 | :align: center -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/tutorials/S8_Decompose_MT.rst.txt: -------------------------------------------------------------------------------- 1 | Moment Tensor Decompose 2 | ======================== 3 | 4 | .. contents:: 5 | :local: 6 | :depth: 1 7 | 8 | 9 | * The **example_path** need to de changed to your path, and run this notebook. 10 | 11 | .. literalinclude:: S8_plot_decompose.py 12 | :language: python 13 | :linenos: 14 | 15 | * **Decompose reuslt**. 16 | 17 | .. literalinclude:: S8_decompose.txt 18 | :language: none 19 | :linenos: 20 | 21 | 22 | .. image:: ../../figures/Decompose.png 23 | :width: 100% 24 | :align: center 25 | -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/tutorials/S9_Plot_Hudson.rst.txt: -------------------------------------------------------------------------------- 1 | Huston Plot 2 | ============= 3 | 4 | .. contents:: 5 | :local: 6 | :depth: 1 7 | 8 | 9 | * The **example_path** need to de changed to your path, and run this notebook. 10 | 11 | .. literalinclude:: S9_plot_hudson.py 12 | :language: python 13 | :linenos: 14 | 15 | 16 | 17 | .. image:: ../../figures/Hudson_plot.png 18 | :width: 100% 19 | :align: center 20 | -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/tutorials/create_observed_asdf_file.rst.txt: -------------------------------------------------------------------------------- 1 | Creating an ASDF File 2 | ===================== 3 | 4 | This example demonstrates how the create a new ASDF file from waveform data 5 | in any format ObsPy can read, a QuakeML file, and a list of StationXML files. 6 | 7 | 8 | .. note:: 9 | 10 | Do **NOT** run this with MPI. This would require some modifications and 11 | is very likely not worth the effort. 12 | 13 | .. literalinclude:: create_observed_asdf_file.py 14 | :language: python 15 | :linenos: 16 | -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/tutorials/parallel_pyflex.rst.txt: -------------------------------------------------------------------------------- 1 | Running pyflex in Parallel 2 | ========================== 3 | 4 | ``pyasdf`` can be used to run a function across the data from two ASDF data 5 | sets. In most cases it will be some kind of misfit or comparision function. 6 | This example runs `pyflex `_ to pick 7 | windows given a data set of observed and another data set of synthetic data. 8 | 9 | It can only be run with MPI: 10 | 11 | .. code-block:: bash 12 | 13 | $ mpirun -n 16 python parallel_pyflex.py 14 | 15 | 16 | .. literalinclude:: parallel_pyflex.py 17 | :language: python 18 | :linenos: 19 | -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/tutorials/process_observed.rst.txt: -------------------------------------------------------------------------------- 1 | Processing Observed Data in Parallel 2 | ==================================== 3 | 4 | This fairly complex examples takes an ASDF file and produces two new data 5 | sets, each processed in a different frequency band. 6 | 7 | It can be run with MPI. It scales fairly well and will utilize parallel I/O if 8 | your machine supports it. Please keep in mind that there is a significant 9 | start-up cost for Python on each core (special Python versions that get around 10 | that if really necessary are in existence) so don't use too many cores. 11 | 12 | .. code-block:: bash 13 | 14 | $ mpirun -n 64 python process_observed.py 15 | 16 | 17 | If you don't run it with MPI with will utilize Python's ``multiprocessing`` 18 | module and run it on each of the machines cores. I/O is not parallel and 19 | uses a round-robin scheme where only one core writes at single point in time. 20 | 21 | 22 | .. code-block:: bash 23 | 24 | $ python process_observed.py 25 | 26 | 27 | .. literalinclude:: process_observed.py 28 | :language: python 29 | :linenos: 30 | -------------------------------------------------------------------------------- /docs/source/_build/html/_sources/tutorials/source_receiver_geometry.rst.txt: -------------------------------------------------------------------------------- 1 | Calculate Source-Receiver Geometry 2 | ================================== 3 | 4 | This simple example demonstrates a fast way to extract the source-receiver 5 | geometry from an ASDF file. It assumes that the ``event_id`` has been correctly 6 | set for each waveform and that these events are part of the global QuakeML 7 | file. 8 | 9 | .. literalinclude:: source_receiver_geometry.py 10 | :language: python 11 | :linenos: 12 | -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/lato-bold-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/lato-bold-italic.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/lato-bold-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/lato-bold-italic.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/lato-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/lato-bold.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/lato-bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/lato-bold.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/lato-normal-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/lato-normal-italic.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/lato-normal-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/lato-normal-italic.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/lato-normal.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/lato-normal.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/css/fonts/lato-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/css/fonts/lato-normal.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/documentation_options.js: -------------------------------------------------------------------------------- 1 | var DOCUMENTATION_OPTIONS = { 2 | URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), 3 | VERSION: '0.1.0a1', 4 | LANGUAGE: 'None', 5 | COLLAPSE_INDEX: false, 6 | BUILDER: 'html', 7 | FILE_SUFFIX: '.html', 8 | LINK_SUFFIX: '.html', 9 | HAS_SOURCE: true, 10 | SOURCELINK_SUFFIX: '.txt', 11 | NAVIGATION_WITH_KEYS: false 12 | }; -------------------------------------------------------------------------------- /docs/source/_build/html/_static/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/file.png -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Inconsolata-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Inconsolata-Bold.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Inconsolata-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Inconsolata-Regular.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Inconsolata.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Inconsolata.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato-Bold.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato-Regular.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-bold.eot -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-bold.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-bold.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-bold.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-bolditalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-bolditalic.eot -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-bolditalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-bolditalic.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-bolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-bolditalic.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-bolditalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-bolditalic.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-italic.eot -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-italic.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-italic.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-italic.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-regular.eot -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-regular.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-regular.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/Lato/lato-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/Lato/lato-regular.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/RobotoSlab-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/RobotoSlab-Bold.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/RobotoSlab-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/RobotoSlab-Regular.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /docs/source/_build/html/_static/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /docs/source/_build/html/_static/graphviz.css: -------------------------------------------------------------------------------- 1 | /* 2 | * graphviz.css 3 | * ~~~~~~~~~~~~ 4 | * 5 | * Sphinx stylesheet -- graphviz extension. 6 | * 7 | * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS. 8 | * :license: BSD, see LICENSE for details. 9 | * 10 | */ 11 | 12 | img.graphviz { 13 | border: 0; 14 | max-width: 100%; 15 | } 16 | 17 | object.graphviz { 18 | max-width: 100%; 19 | } 20 | -------------------------------------------------------------------------------- /docs/source/_build/html/_static/js/badge_only.js: -------------------------------------------------------------------------------- 1 | !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=4)}({4:function(e,t,r){}}); -------------------------------------------------------------------------------- /docs/source/_build/html/_static/js/html5shiv.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.3-pre",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b),"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:this,document); -------------------------------------------------------------------------------- /docs/source/_build/html/_static/logo-small-cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/logo-small-cut.png -------------------------------------------------------------------------------- /docs/source/_build/html/_static/logo-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/logo-small.png -------------------------------------------------------------------------------- /docs/source/_build/html/_static/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/minus.png -------------------------------------------------------------------------------- /docs/source/_build/html/_static/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/_static/plus.png -------------------------------------------------------------------------------- /docs/source/_build/html/objects.inv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/_build/html/objects.inv -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- 1 | .. MCMTpy-test documentation master file, created by 2 | sphinx-quickstart on Wed Jun 23 16:10:07 2021. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | 7 | 8 | 9 | Welcome to MCMTpy-test's documentation! 10 | ======================================= 11 | .. image:: ../figures/logo/logo.gif 12 | :width: 80% 13 | :align: center 14 | 15 | 16 | .. note:: 17 | `Version 0.1.0a1 `_ 18 | is the currently release. 19 | 20 | 21 | This is the documentation for the Python package of **MCMTpy**, which is python tool for seismic source study. 22 | For further information please see below website: 23 | 24 | * Github repository of **MCMTpy**: https://github.com/OUCyf 25 | 26 | If you use **MCMTpy** for your research and prepare publications, please citing **MCMTpy**: 27 | 28 | * MCMTpy: A Python Package for Simultaneous Inversion of Source Location, Focal Mechanism, and Rupture Directivity. 29 | In prep for Seismological Research Letter. 30 | 31 | 32 | 33 | 34 | Contents: 35 | ================== 36 | .. toctree:: 37 | :maxdepth: 2 38 | :glob: 39 | :caption: Installing: 40 | 41 | installation 42 | 43 | .. toctree:: 44 | :maxdepth: 2 45 | :glob: 46 | :caption: Tutorial: 47 | 48 | tutorial 49 | tutorial_detailed 50 | 51 | .. toctree:: 52 | :maxdepth: 2 53 | :glob: 54 | :caption: References: 55 | 56 | references 57 | 58 | 59 | 60 | 61 | 62 | 63 | Indices and tables 64 | ================== 65 | 66 | * :ref:`genindex` 67 | * :ref:`search` 68 | -------------------------------------------------------------------------------- /docs/source/references.rst: -------------------------------------------------------------------------------- 1 | References 2 | ================ 3 | 4 | 5 | 6 | ASDF 7 | ------------------------ 8 | The ``pyasdf`` Github repository https://github.com/SeismicData/pyasdf. 9 | 10 | * Krischer, L., Smith, J., Lei, W., Lefebvre, M., Ruan, Y., de Andrade, E.S., Podhorszki, N., Bozdağ, E. 11 | and Tromp, J., 2016. An adaptable seismic data format. Geophysical Supplements to the Monthly Notices 12 | of the Royal Astronomical Society, 207(2), 1003-1011. 13 | 14 | 15 | 16 | 17 | pyfk 18 | ------------------------ 19 | The ``pyfk`` Github repository https://github.com/ziyixi/pyfk. 20 | 21 | 22 | 23 | NoisePy 24 | ------------------------ 25 | The ``NoisePy`` Github repository https://noise-python.readthedocs.io/en/latest/examples.html. 26 | 27 | * Jiang, C., Yuan, C., and Denolle, M. NoisePy: a new high-performance python tool for seismic 28 | ambient noise seismology. 29 | 30 | 31 | 32 | MoPaD 33 | ------------------------ 34 | The ``MoPaD`` website http://www.larskrieger.de/mopad/ 35 | 36 | * Lars Krieger and Sebastian Heimann. MoPad —Moment Tensor Plotting and Decomposition: A Tool for 37 | Graphical and Numerical Analysis of Seismic Moment Tensors. 38 | 39 | 40 | 41 | 42 | BEAT 43 | ------------------------ 44 | The ``BEAT`` website https://hvasbath.github.io/beat/index.html 45 | 46 | * Vasyura-Bathke, H.,J. Dettmer, A. Steinberg, S. Heimann, M. P. Isken, O. Zielke, P. M. Mai, H. Sudhaus, 47 | and S. Jónsson (2020). The Bayesian Earthquake Analysis Tool, Seismol. Res. Lett. 91, 1003–1018, 48 | doi: 10.1785/0220190075. 49 | 50 | 51 | 52 | 53 | Other references adding... 54 | ------------------------------ 55 | Working on that... 56 | -------------------------------------------------------------------------------- /docs/source/tutorial.rst: -------------------------------------------------------------------------------- 1 | Tutorial 2 | ======== 3 | 4 | In this tutorial, we will show some of the key steps in **MCMTpy** for **Focal Mechanism Inversion**, 5 | including **DC** (double couple) and **MT** (moment tensor) inversion (not in now). 6 | 7 | 8 | 9 | About ASDF format 10 | ------------------------ 11 | The users who are interested in the details of **ASDF format** are referred to the following publication. 12 | And the pyasdf Github repository https://github.com/SeismicData/pyasdf. 13 | 14 | * Krischer, L., Smith, J., Lei, W., Lefebvre, M., Ruan, Y., de Andrade, E.S., Podhorszki, N., Bozdağ, E. 15 | and Tromp, J., 2016. An adaptable seismic data format. Geophysical Supplements to the Monthly Notices 16 | of the Royal Astronomical Society, 207(2), 1003-1011. 17 | 18 | You can also find some useful examples about ``pyasdf`` in `NoisePy. `_ 19 | 20 | 21 | About pyfk 22 | ------------------------ 23 | The users who are interested in the details of **pyfk** are referred to the pyfk Github 24 | repository https://github.com/ziyixi/pyfk. 25 | 26 | 27 | 28 | Short tutorial 29 | ------------------------ 30 | MCMTpy stores all the parameter information in four JSON files: **build_GFs.json**, **syn.json**, 31 | **sample.json** and **plot.json**, and you can find those json-files in path *./MCMTpy-master/jsons/*. 32 | For parameters choosing, please refer to **Detailed tutorial**. The steps to do inversion process are: 33 | 34 | **1. Calculate green function database**:: 35 | 36 | $ MCMTpy build_GFs pyfk -c ./build_GFs.json 37 | $ mpirun -n 4 MCMTpy build_GFs pyfk -c ./build_GFs.json # parallel 38 | 39 | **2. Synthesize the test data**:: 40 | 41 | $ MCMTpy syn pyfk -c ./syn.json 42 | 43 | **3. Inversion of focal mechanism**:: 44 | 45 | $ MCMTpy sample MH -c ./sample.json 46 | $ mpirun -n 4 MCMTpy sample MH -c ./sample.json # parallel 47 | 48 | **4. Result visualization**:: 49 | 50 | $ MCMTpy plot pyfk -c plot.json 51 | 52 | .. image:: ../figures/station_location.png 53 | :width: 100% 54 | :align: center 55 | .. image:: ../figures/hist.png 56 | :width: 100% 57 | :align: center 58 | .. image:: ../figures/misfit.png 59 | :width: 100% 60 | :align: center 61 | .. image:: ../figures/alpha.png 62 | :width: 100% 63 | :align: center 64 | .. image:: ../figures/waveform.png 65 | :width: 100% 66 | :align: center 67 | .. image:: ../figures/beachball.png 68 | :width: 100% 69 | :align: center 70 | .. image:: ../figures/Decompose.png 71 | :width: 100% 72 | :align: center 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /docs/source/tutorial_detailed.rst: -------------------------------------------------------------------------------- 1 | Tutorial_Detailed 2 | ================= 3 | 4 | 5 | More details on **MCMTpy** for data processing, parameters choosing can be found in following documentations, 6 | and the **jupyter notebook** can be find in *./MCMTpy-master/data/example_yunnan/Jupyter_notebook*: 7 | 8 | 9 | 10 | .. toctree:: 11 | :maxdepth: 1 12 | 13 | tutorials/S1_Build_GFs 14 | tutorials/S2_Syn_Waveform 15 | tutorials/S3_Process_Data 16 | tutorials/S4_Inv_DC 17 | tutorials/S5_Plot_Result 18 | tutorials/S6_Conver_FM 19 | tutorials/S7_Plot_Beachball 20 | tutorials/S8_Decompose_MT 21 | tutorials/S9_Plot_Hudson 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/source/tutorials/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/docs/source/tutorials/.DS_Store -------------------------------------------------------------------------------- /docs/source/tutorials/S1_Source_Station_info.txt: -------------------------------------------------------------------------------- 1 | source_1 25.58 99.86 1 2 | YN EYA 26.108 99.947 0 3 | YN YUL 25.885 99.371 0 4 | 5 | source_2 25.58 99.86 2 6 | YN EYA 26.108 99.947 0 7 | YN YUL 25.885 99.371 0 8 | XG CFT 25.848 100.517 0 9 | YN BAS 25.118 99.146 0 10 | 11 | source_3 25.58 99.86 3 12 | YN WES 23.372 104.253 0 13 | YN MLP 23.128 104.702 0 14 | YN FUN 23.624 105.620 0 -------------------------------------------------------------------------------- /docs/source/tutorials/S1_setup_gfs.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | 4 | import os 5 | import sys 6 | import json5 7 | 8 | 9 | # The root directory of the project 10 | example_path = '/Users/yf/3.Project/8.MCMTpy/MCMTpy-master/data/example_yunnan' 11 | 12 | 13 | #------------------------------------------------------------# 14 | # we expect no parameters need to be changed below 15 | #------------------------------------------------------------# 16 | # 1. get notebook path 17 | notebook_path = sys.path[0] 18 | os.chdir(notebook_path) 19 | 20 | # 2. change path to Green_Funcs 21 | os.chdir('../Green_Funcs') 22 | print(os.listdir()) 23 | 24 | # 3. show build_GFs.json 25 | filename = 'build_GFs.json' 26 | with open(filename, 'r',encoding='utf-8') as f1: 27 | gfs_json=json5.load(f1) 28 | f1.close() 29 | 30 | # 4. change parameters with absolute path 31 | gfs_json['Source_Station_info'] = os.path.join(example_path,"Green_Funcs/Source_Station_info.txt") 32 | gfs_json["DATADIR"] = os.path.join(example_path,"Green_Funcs/GFs1") 33 | gfs_json["DATADIR_splits"] = os.path.join(example_path,"Green_Funcs1/GFs1/GFs_splits") 34 | gfs_json["Velocity_model"] = os.path.join(example_path,"v_model/v_model_yunnan.txt") 35 | gfs_json_new = os.path.join(example_path,'Green_Funcs/build_GFs_new.json') 36 | 37 | with open(gfs_json_new,'w') as f2: 38 | json5.dump(gfs_json, f2, indent=2) 39 | f2.close() 40 | 41 | # !mpirun -n 4 MCMTpy build_GFs pyfk -c build_GFs_new.json > gfs.log -------------------------------------------------------------------------------- /docs/source/tutorials/S1_v_model_yunnan.txt: -------------------------------------------------------------------------------- 1 | 5.01000000 3.17601610 5.41925121 2.50000000 600.00000000 1200.00000000 2 | 5.01000000 3.36477536 5.67947907 2.55000000 600.00000000 1200.00000000 3 | 5.01000000 3.52147424 5.93255556 2.60000000 600.00000000 1200.00000000 4 | 5.01000000 3.55152174 6.00984300 2.65000000 600.00000000 1200.00000000 5 | 5.01000000 3.54084541 6.02592110 2.70000000 600.00000000 1250.00000000 6 | 5.01000000 3.58840419 6.14793478 2.75000000 650.00000000 1300.00000000 7 | 5.01000000 3.75369968 6.48572061 2.80000000 700.00000000 1350.00000000 8 | 5.01000000 3.94361514 6.86566667 2.90000000 750.00000000 1400.00000000 9 | 10.01000000 4.12710548 7.20229388 3.00000000 800.00000000 1500.00000000 10 | 10.01000000 4.30825765 7.55049678 3.10000000 850.00000000 1600.00000000 11 | 10.01000000 4.38069968 7.72566425 3.20000000 850.00000000 1700.00000000 12 | 90.00000000 4.50000000 7.80000000 3.27000000 900.00000000 1800.00000000 13 | -------------------------------------------------------------------------------- /docs/source/tutorials/S2_plot_syn.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | 4 | import os 5 | import pyasdf 6 | 7 | 8 | # The root directory of the project 9 | example_path = '/Users/yf/3.Project/8.MCMTpy/MCMTpy-master/data/example_yunnan' 10 | 11 | #------------------------------------------------------------# 12 | # we expect no parameters need to be changed below 13 | #------------------------------------------------------------# 14 | ## change the path 15 | h5_path = os.path.join(example_path,'syn/Synthetic/SYN_test.h5') 16 | source_name = 'source_syn' 17 | 18 | ### read h5 data --> Sta_data (dict) 19 | ds_raw=pyasdf.ASDFDataSet(h5_path,mpi=False,mode='r') 20 | Station_list = ds_raw.waveforms.list() 21 | Station_num = len(Station_list) 22 | 23 | Sta_data={} 24 | for i in range(0,Station_num,1): 25 | info={} 26 | tags = ds_raw.waveforms[Station_list[i]].get_waveform_tags() 27 | if source_name in tags: 28 | raw_sac = ds_raw.waveforms[Station_list[i]][source_name] 29 | tp = float( ds_raw.waveforms[Station_list[i]][source_name][0].stats.asdf['labels'][1] ) 30 | ts = float( ds_raw.waveforms[Station_list[i]][source_name][0].stats.asdf['labels'][3] ) 31 | info.update({ "tp": tp}) 32 | info.update({ "ts": ts}) 33 | info.update({ "data": raw_sac}) 34 | Sta_data.update({ Station_list[i]: info}) 35 | 36 | # plot data 37 | ax = Sta_data['YN.YUM']['data'].plot() 38 | Sta_data['YN.YUM']['data'][0].stats -------------------------------------------------------------------------------- /docs/source/tutorials/S2_syn_waveform.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | 4 | import os 5 | import sys 6 | import json5 7 | import shutil 8 | 9 | # The root directory of the project 10 | example_path = '/Users/yf/3.Project/8.MCMTpy/MCMTpy-master/data/example_yunnan' 11 | 12 | #------------------------------------------------------------# 13 | # we expect no parameters need to be changed below 14 | #------------------------------------------------------------# 15 | # change path to Green_Funcs 16 | notebook_path = sys.path[0] 17 | os.chdir(notebook_path) 18 | os.chdir('../syn') 19 | print(os.listdir()) 20 | 21 | # show build_GFs.json 22 | filename = 'syn.json' 23 | with open(filename, 'r',encoding='utf-8') as f1: 24 | syn_json=json5.load(f1) 25 | 26 | # change parameters with absolute path 27 | syn_json["GFs_json_file"] = os.path.join(example_path,"Green_Funcs/build_GFs_new.json") 28 | syn_json["Stf_file"] = os.path.join(example_path,"syn/Stf_file/Stf_file.sac") 29 | syn_json["Output_path"] = os.path.join(example_path,"syn/Synthetic") 30 | syn_json_new = os.path.join(example_path,'syn/syn_new.json') 31 | 32 | with open(syn_json_new,'w') as f2: 33 | json5.dump(syn_json, f2, indent=2) 34 | f2.close() 35 | 36 | shutil.rmtree('./Synthetic') 37 | # !MCMTpy syn pyfk -c ./syn_new.json > syn.log -------------------------------------------------------------------------------- /docs/source/tutorials/S3_Process_Data.rst: -------------------------------------------------------------------------------- 1 | Prepare Data for MCMTpy 2 | ======================== 3 | 4 | .. contents:: 5 | :local: 6 | :depth: 1 7 | 8 | 9 | Format of MCMTpy input data: 10 | ------------------------------- 11 | 12 | * **ASDF** file format, and the sampling rate ``dt`` is consistent with that of GFs database. 13 | 14 | * Must be **ENZ** three-component data and the name of the channel must be 'E'/'N'/'Z' order. 15 | 16 | .. note:: 17 | Pyasdf files are automatically sorted by name. So you must make sure that the order of the Trace 18 | is still ENZ after the automatic sorting, generally the name of the channel 'BHE'/'BHN'/'BHZ' will be fine. 19 | 20 | * **Trace.Stats.sac.t1**/**Trace.Stats.sac.t2** must be included in the trace header file to represent the P/S phase time. 21 | 22 | * The trace header file must include the **station** and **network** name. 23 | 24 | * The trace header file must include **b/e/o/stla/stlo/stdp/evlo/evla/evdp/mag/dist/az/baz**, time information, 25 | event longitude and latitude information, azimuth information. 26 | 27 | * The trace header file must include **starttime/endtime**. 28 | 29 | * All traces need to retain a uniform number of sampling points before T1, such as **p_n0 = 50**. 30 | 31 | 32 | 33 | 34 | 35 | Example 36 | ------------------------ 37 | * We have provided some useful scripts for data preprocessing, and the **example_path** need to de changed to your path, 38 | and run this notebook. 39 | 40 | .. literalinclude:: S3_processing_data.py 41 | :language: python 42 | :linenos: 43 | 44 | 45 | .. note:: 46 | Please follow the above parameter instructions and set all parameters correctly before running the program. 47 | Otherwise, it is easy to report an error! -------------------------------------------------------------------------------- /docs/source/tutorials/S4_Raw_data_inv_info.txt: -------------------------------------------------------------------------------- 1 | YN EYA 2 | Lat_lon_depth 26.108801 99.947502 0.000000 3 | P_inv_comp yes yes no 4 | S_inv_comp no no no 5 | Surf_inv_comp yes yes yes 6 | P_win -10.00 3.40 7 | S_win -5.00 25.20 8 | Surf_win -12.00 50.20 9 | Phase_weight 1.0 1.0 1.0 10 | Distance_weight 1.0 11 | P_maxlag 5.0000 12 | S_maxlag 15.0000 13 | Surf_maxlag 10.0000 14 | P_filter 0.010 0.20 15 | S_filter 0.010 0.100 16 | Surf_filter 0.005 0.100 17 | 18 | YN YUL 19 | Lat_lon_depth 25.885401 99.371696 0.000000 20 | P_inv_comp yes yes no 21 | S_inv_comp no no no 22 | Surf_inv_comp yes yes yes 23 | P_win -10.00 6.20 24 | S_win -5.00 25.20 25 | Surf_win -12.00 50.20 26 | Phase_weight 1.0 1.0 1.0 27 | Distance_weight 1.0 28 | P_maxlag 5.0000 29 | S_maxlag 15.0000 30 | Surf_maxlag 10.0000 31 | P_filter 0.010 0.200 32 | S_filter 0.010 0.100 33 | Surf_filter 0.005 0.100 -------------------------------------------------------------------------------- /docs/source/tutorials/S4_alpha.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | import math 4 | import numpy as np 5 | import matplotlib.pyplot as plt 6 | 7 | # parameters 8 | N=5e3 9 | a=1000 # 0.2*N 10 | b=100 # 0.04*N 11 | alpha_max=100 12 | alpha_min=0 13 | 14 | #------------------------------------------------------------# 15 | # we expect no parameters need to be changed below 16 | #------------------------------------------------------------# 17 | tt=np.linspace(0, round(N), num=round(N)) 18 | yy=np.zeros(len(tt)) 19 | for i in range(0,len(tt)): 20 | yy[i]=(alpha_max-alpha_min)*(a+math.exp((tt[0]-a)/b))/(a+math.exp((tt[i]-a)/b))+alpha_min 21 | 22 | fig, axs = plt.subplots(1,1) 23 | axs.plot(tt,yy, linestyle='-', color='red', lw=3, alpha=0.6) 24 | axs.set_xlabel("Sample Number",fontsize=17) 25 | axs.set_ylabel("Alpha Value",fontsize=17) 26 | fig.show() -------------------------------------------------------------------------------- /docs/source/tutorials/S4_inv.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | 4 | import os 5 | import sys 6 | import json5 7 | 8 | 9 | # The root directory of the project 10 | example_path = '/Users/yf/3.Project/8.MCMTpy/MCMTpy-master/data/example_yunnan' 11 | 12 | 13 | #------------------------------------------------------------# 14 | # we expect no parameters need to be changed below 15 | #------------------------------------------------------------# 16 | # 1. get notebook path 17 | notebook_path = sys.path[0] 18 | os.chdir(notebook_path) 19 | # change path to Green_Funcs 20 | os.chdir('../YN.202105212148_Inv/dc_inv') 21 | 22 | # 2.show build_GFs.json 23 | filename = 'sample_dc.json' 24 | with open(filename, 'r',encoding='utf-8') as f1: 25 | sample_dc_json=json5.load(f1) 26 | 27 | # 3.change parameters with absolute path 28 | sample_dc_json["GFs_json_file"] = os.path.join(example_path,"Green_Funcs/build_GFs_new.json") 29 | sample_dc_json["GFs_file"] =os.path.join(example_path,"Green_Funcs/GFs/GFs_splits" ) 30 | sample_dc_json["Raw_data_file"] = os.path.join(example_path,"YN.202105212148_Inv/YN.202105212148_MCMTpy/YN.202105212148.h5") 31 | sample_dc_json["Output_path"] = os.path.join(example_path,"YN.202105212148_Inv/dc_inv/Output_YN.202105212148_dc") 32 | sample_dc_json["Raw_data_inv_info"] = os.path.join(example_path,"YN.202105212148_Inv/dc_inv/Raw_data_inv_info.txt") 33 | sample_dc_json["Raw_data_inv_info_writed"] = os.path.join(example_path,"YN.202105212148_Inv/dc_inv/Raw_data_inv_info_writed.txt") 34 | sample_dc_json_new = os.path.join(example_path,'YN.202105212148_Inv/dc_inv/sample_dc_new.json') 35 | 36 | sample_dc_json["MPI_n"] = 4 # CPU num 37 | sample_dc_json["Chains_n"] = 4 # Each MK-chains num 38 | sample_dc_json["N"] = 1e1 # each chain‘s search number 39 | 40 | sample_dc_json["alpha_max"] = 100 # The initial value of alpha 41 | sample_dc_json["alpha_min"] = 0 # The final value of alpha 42 | sample_dc_json["a"] = 10 43 | sample_dc_json["b"] = 10 44 | 45 | with open(sample_dc_json_new,'w') as f2: 46 | json5.dump(sample_dc_json, f2, indent=2) 47 | f2.close() 48 | 49 | # 4.run MCMTpy in shell 50 | os.chdir(notebook_path) 51 | os.chdir('../YN.202105212148_Inv/dc_inv') 52 | # !MCMTpy sample MH -c ./sample_dc_new.json #> sample.log -------------------------------------------------------------------------------- /docs/source/tutorials/S5_plot.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | 4 | import os 5 | import sys 6 | import json5 7 | 8 | # The root directory of the project 9 | example_path = '/Users/yf/3.Project/8.MCMTpy/MCMTpy-master/data/example_yunnan' 10 | 11 | #------------------------------------------------------------# 12 | # we expect no parameters need to be changed below 13 | #------------------------------------------------------------# 14 | # 1. get notebook path 15 | notebook_path = sys.path[0] 16 | os.chdir(notebook_path) 17 | 18 | # 2.change path to Green_Funcs 19 | os.chdir(notebook_path) 20 | os.chdir('../YN.202105212148_Inv/dc_inv') 21 | print(os.listdir()) 22 | 23 | # 3.read plot_dc.json 24 | filename = 'plot_dc.json' 25 | with open(filename, 'r',encoding='utf-8') as f1: 26 | plot_dc_json=json5.load(f1) 27 | 28 | # 4.change parameters with absolute path 29 | plot_dc_json["plot_output_path"] = os.path.join(example_path,"YN.202105212148_Inv/dc_inv/figure_dc") 30 | plot_dc_json["Inv_json_file"] = os.path.join(example_path,"YN.202105212148_Inv/dc_inv/sample_dc_new.json") 31 | plot_dc_json_new = os.path.join(example_path,'YN.202105212148_Inv/dc_inv/plot_dc_new.json') 32 | 33 | # 5.hist 34 | plot_dc_json["plot_hist"] =True 35 | plot_dc_json["N_start"] = 0 36 | plot_dc_json["N_start_accept"] = 1 37 | plot_dc_json["num_bins"] = 50 38 | plot_dc_json["num_std"] =5 39 | plot_dc_json["labels_name"] = ['Mw','strike/°','dip/°','rake/°','z/km'] 40 | 41 | # 6. misfit 42 | plot_dc_json["plot_misfit"] = True 43 | plot_dc_json["MPI_n_st"] = 0 44 | plot_dc_json["Chains_n_st"] = 0 45 | 46 | # 7. waveform 47 | plot_dc_json["plot_waveform"] = True 48 | plot_dc_json["FM_best"] = [6.68, 135.1, 87.0, -168.1, 25.58, 99.86, 5.95, -0.57 ] 49 | plot_dc_json["line_n_sta"] = 3 # Draw the data of several stations in a row 50 | plot_dc_json["max_p_ylim"] = 1 # max amp y-axis of p wave 51 | plot_dc_json["max_s_ylim"] = 1.0 52 | plot_dc_json["max_surf_ylim"] = 1 53 | plot_dc_json["plot_comp"] = [[1,1,0],[0,0,0],[1,1,1]] # What components do you want to draw? P、S、Surf's Z/R/T 54 | 55 | 56 | with open(plot_dc_json_new,'w') as f2: 57 | json5.dump(plot_dc_json, f2, indent=2) 58 | f2.close() 59 | 60 | # 8.run MCMTpy in shell 61 | os.chdir(notebook_path) 62 | os.chdir('../YN.202105212148_Inv/dc_inv') 63 | # !MCMTpy plot pyfk -c plot_dc_new.json > plot.log -------------------------------------------------------------------------------- /docs/source/tutorials/S7_Plot_Beachball.rst: -------------------------------------------------------------------------------- 1 | Plot Beachball with Station Projected 2 | ================================================ 3 | 4 | .. contents:: 5 | :local: 6 | :depth: 1 7 | 8 | 9 | * The **example_path** need to de changed to your path, and run this notebook. 10 | 11 | .. literalinclude:: S7_plot_beachball.py 12 | :language: python 13 | :linenos: 14 | 15 | .. image:: ../../figures/beachball.png 16 | :width: 100% 17 | :align: center -------------------------------------------------------------------------------- /docs/source/tutorials/S8_Decompose_MT.rst: -------------------------------------------------------------------------------- 1 | Moment Tensor Decompose 2 | ======================== 3 | 4 | .. contents:: 5 | :local: 6 | :depth: 1 7 | 8 | 9 | * The **example_path** need to de changed to your path, and run this notebook. 10 | 11 | .. literalinclude:: S8_plot_decompose.py 12 | :language: python 13 | :linenos: 14 | 15 | * **Decompose reuslt**. 16 | 17 | .. literalinclude:: S8_decompose.txt 18 | :language: none 19 | :linenos: 20 | 21 | 22 | .. image:: ../../figures/Decompose.png 23 | :width: 100% 24 | :align: center 25 | -------------------------------------------------------------------------------- /docs/source/tutorials/S8_decompose.txt: -------------------------------------------------------------------------------- 1 | Incluing function: 2 | self.M 3 | self.M_iso 4 | self.M_devi 5 | self.M_DC 6 | self.M_CLVD 7 | self.M0 8 | self.Mw 9 | self.M_iso_percentage 10 | self.M_DC_percentage 11 | self.M_CLVD_percentage 12 | self.eigen_val 13 | self.eigen_vec 14 | self.F 15 | None 16 | 17 | 18 | ********************************* 19 | 20 | 21 | self.M: [[-0.3576622 -0.48646688 -0.01115976] 22 | [-0.48646688 -0.61218411 0.20390851] 23 | [-0.01115976 0.20390851 0.96984631]] 24 | 25 | self.M_iso: [[ -3.70074342e-17 0.00000000e+00 0.00000000e+00] 26 | [ 0.00000000e+00 -3.70074342e-17 0.00000000e+00] 27 | [ 0.00000000e+00 0.00000000e+00 -3.70074342e-17]] 28 | 29 | self.M_devi: [[-0.3576622 -0.48646688 -0.01115976] 30 | [-0.48646688 -0.61218411 0.20390851] 31 | [-0.01115976 0.20390851 0.96984631]] 32 | 33 | self.M_DC: [[-0.3576622 -0.48646688 -0.01115976] 34 | [-0.48646688 -0.61218411 0.20390851] 35 | [-0.01115976 0.20390851 0.96984631]] 36 | 37 | self.M_CLVD: [[ 3.33066907e-16 1.66533454e-16 -2.77555756e-17] 38 | [ 1.66533454e-16 -2.22044605e-16 5.55111512e-17] 39 | [ -2.77555756e-17 5.55111512e-17 0.00000000e+00]] 40 | 41 | self.M0: 1.0 42 | 43 | self.Mw: -6.06666666667 44 | 45 | self.M_iso_percentage: 0 46 | 47 | self.M_DC_percentage: 100 48 | 49 | self.M_CLVD_percentage: 0 50 | 51 | self.eigen_val: [ -1.00000000e+00 -5.46437895e-17 1.00000000e+00] 52 | 53 | self.eigen_vec: [[-0.60098212 -0.79705908 -0.0593069 ] 54 | [-0.79535596 0.58906868 0.14285304] 55 | [ 0.07892648 -0.13302222 0.98796543]] 56 | 57 | self.F: -1.76363553391e-17 -------------------------------------------------------------------------------- /docs/source/tutorials/S9_Plot_Hudson.rst: -------------------------------------------------------------------------------- 1 | Huston Plot 2 | ============= 3 | 4 | .. contents:: 5 | :local: 6 | :depth: 1 7 | 8 | 9 | * The **example_path** need to de changed to your path, and run this notebook. 10 | 11 | .. literalinclude:: S9_plot_hudson.py 12 | :language: python 13 | :linenos: 14 | 15 | 16 | 17 | .. image:: ../../figures/Hudson_plot.png 18 | :width: 100% 19 | :align: center 20 | -------------------------------------------------------------------------------- /docs/source/tutorials/S9_plot_hudson.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | import os 4 | import numpy as np 5 | import matplotlib.pyplot as plt 6 | from matplotlib import cm 7 | from MCMTpy import MomentTensor as MTpy 8 | 9 | # Helper function 10 | #----------------------------------------------------# 11 | #%% 4. plot_Hudson_points 12 | def plot_Hudson_points(FM): 13 | fig1, ax1 = plt.subplots(1 ,1, dpi=800) 14 | plt.rc('font',family='Times New Roman') 15 | MTpy.Hudson_plot(ax=ax1) 16 | for i in range(0,len(FM)): 17 | MT = MTpy.MTensor(FM[i,:]) 18 | M=MT.mt 19 | 20 | k,T = MTpy.M2kT_space(M) 21 | U,V = MTpy.kT2UV_space(k,T) 22 | 23 | map_vir = cm.get_cmap(name='YlGn') 24 | colors = map_vir(i/len(FM)) 25 | 26 | ax1.scatter(U,V, color=colors,marker='o', s=5) 27 | 28 | 29 | position=fig1.add_axes([0.85, 0.15, 0.01, 0.5]) 30 | font_colorbar = {'family' : 'Times New Roman', 31 | 'color' : 'black', 32 | 'weight' : 'normal', 33 | 'size' : 6, 34 | } 35 | sm = cm.ScalarMappable(cmap=map_vir) 36 | sm.set_array(np.arange(0,len(FM)+1)) 37 | cb=plt.colorbar(sm,cax=position,orientation='vertical') 38 | cb.set_label('Sample',fontdict=font_colorbar) 39 | 40 | ax1.set_xlim(-4/3-0.1, 4/3+0.3) 41 | ax1.set_ylim(-1-0.1, 1+0.1) 42 | 43 | return fig1 44 | 45 | 46 | #%%------------------------------------------------------------# 47 | ## 0. set path 48 | example_path = '/Users/yf/3.Project/8.MCMTpy/MCMTpy-master/data/example_yunnan' 49 | 50 | 51 | #------------------------------------------------------------# 52 | # we expect no parameters need to be changed below 53 | #------------------------------------------------------------# 54 | FM_path=os.path.join(example_path,"YN.202105212148_Inv/mt_inv/Output_YN.202105212148_mt/rank_0_output/chain_0_FM_accept_all") 55 | allfiles_path = os.path.join(example_path,'YN.202105212148_Inv/YN.202105212148_raw/*.SAC') 56 | ## 1. read FM 57 | N=6 58 | FM_all = np.loadtxt(FM_path) 59 | FM_raw = FM_all[0:,1:N+1] 60 | Mxx_np = FM_raw[:,0] 61 | Mxy_np = FM_raw[:,1] 62 | Mxz_np = FM_raw[:,2] 63 | Myy_np = FM_raw[:,3] 64 | Myz_np = FM_raw[:,4] 65 | Mzz_np = FM_raw[:,5] 66 | FM = np.vstack((Mxx_np, Myy_np, Mzz_np, Mxy_np, Mxz_np, Myz_np)).T 67 | 68 | ## 2. plot Hudson 69 | fig = plot_Hudson_points(FM) 70 | figurename=os.path.join('./S2_figure/Hudson.pdf') 71 | plt.savefig(figurename,dpi=800, format="pdf") -------------------------------------------------------------------------------- /extras/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/extras/.DS_Store -------------------------------------------------------------------------------- /extras/MCMTpy: -------------------------------------------------------------------------------- 1 | #!/Users/yf/opt/anaconda3/bin/python 2 | # EASY-INSTALL-ENTRY-SCRIPT: 'MCMTpy==0.1.0a1','console_scripts','MCMTpy' 3 | import re 4 | import sys 5 | 6 | # for compatibility with easy_install; see #2198 7 | __requires__ = 'MCMTpy==0.1.0a1' 8 | 9 | try: 10 | from importlib.metadata import distribution 11 | except ImportError: 12 | try: 13 | from importlib_metadata import distribution 14 | except ImportError: 15 | from pkg_resources import load_entry_point 16 | 17 | 18 | def importlib_load_entry_point(spec, group, name): 19 | dist_name, _, _ = spec.partition('==') 20 | matches = ( 21 | entry_point 22 | for entry_point in distribution(dist_name).entry_points 23 | if entry_point.group == group and entry_point.name == name 24 | ) 25 | return next(matches).load() 26 | 27 | 28 | globals().setdefault('load_entry_point', importlib_load_entry_point) 29 | 30 | 31 | if __name__ == '__main__': 32 | sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) 33 | sys.exit(load_entry_point('MCMTpy==0.1.0a1', 'console_scripts', 'MCMTpy')()) 34 | -------------------------------------------------------------------------------- /jsons/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/jsons/.DS_Store -------------------------------------------------------------------------------- /jsons/syn.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | // 1. Path 4 | "GFs_json_file": "./build_GFs.json", // The path to the Json-file used to calculate Green Function Database. 5 | 6 | 7 | // 2. Source 8 | "srcType": 'dc', // The type of source, mt(moment tensor) dc(double-couple) sf(single-couple) ep(explosion). 9 | "point": [25.682, 99.881, 5], // Lat lon and depth of the source 10 | "source_mechanism": [6.4, 141, 68, -153], // dc: [Mw, Strike, Dip, Rake] || mt: [Mw, Mxx, Mxy, Mxz, Myy, Myz, Mzz] 11 | 12 | 13 | // 3. Station 14 | "NET_STA":[ ['YN', 'YUL', 25.885401, 99.371696, 0.0], 15 | ['YN', 'LUS', 25.831699, 98.851799, 0.0], 16 | ['YN', 'TNC', 25.0289, 98.519798, 0.0], 17 | ['YN', 'YOD', 24.0357, 99.245399, 0.0], 18 | ['YN', 'JIG', 23.5019, 100.7351, 0.0], 19 | ['YN', 'CUX', 25.029301, 101.5356, 0.0], 20 | ['YN','YUM', 25.6894, 101.8607, 0.0], 21 | ['YN','HUP', 26.587099, 101.1993, 0.0], 22 | ['YN', 'LIJ', 26.895599, 100.2322, 0.0], 23 | ['YN', 'ZOD', 27.8232, 99.698402, 0.0],], 24 | // [network_name] [station_name] [station_lat] [source_lon] [station_depth] 25 | 26 | 27 | // 4. Source Time Function 28 | "Trapezoid_stf_mode": true, 29 | "dura": 4, 30 | "rise": 0.5, 31 | "delta": 0.2, 32 | "Stf_file": "./Stf_file/Stf_file.sac", // Source time function 33 | 34 | 35 | // 5. Filter 36 | "filter_mode":true, // Whether do filter 37 | "freqmin": 0.005, 38 | "freqmax": 2, 39 | 40 | 41 | // 6. Add Noise 42 | "Add_noise": true, 43 | "noise_level_waveform": 0.001, // Noise level of waveform 44 | "noise_level_arrive_time": 0.1, // Noise level of phase time 45 | 46 | 47 | // 7. Output 48 | "Output_mode": true, 49 | "Output_path": "./Synthetic", // Output path 50 | "source_name": "source_syn", 51 | "ASDF_filename": "SYN_test", 52 | 53 | } 54 | -------------------------------------------------------------------------------- /jsons/v_model_yunnan.txt: -------------------------------------------------------------------------------- 1 | 5.01000000 3.17601610 5.41925121 2.50000000 600.00000000 1200.00000000 2 | 5.01000000 3.36477536 5.67947907 2.55000000 600.00000000 1200.00000000 3 | 5.01000000 3.52147424 5.93255556 2.60000000 600.00000000 1200.00000000 4 | 5.01000000 3.55152174 6.00984300 2.65000000 600.00000000 1200.00000000 5 | 5.01000000 3.54084541 6.02592110 2.70000000 600.00000000 1250.00000000 6 | 5.01000000 3.58840419 6.14793478 2.75000000 650.00000000 1300.00000000 7 | 5.01000000 3.75369968 6.48572061 2.80000000 700.00000000 1350.00000000 8 | 5.01000000 3.94361514 6.86566667 2.90000000 750.00000000 1400.00000000 9 | 10.01000000 4.12710548 7.20229388 3.00000000 800.00000000 1500.00000000 10 | 10.01000000 4.30825765 7.55049678 3.10000000 850.00000000 1600.00000000 11 | 10.01000000 4.38069968 7.72566425 3.20000000 850.00000000 1700.00000000 12 | 90.00000000 4.50000000 7.80000000 3.27000000 900.00000000 1800.00000000 13 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | numpy 2 | tqdm>=4.19.4 3 | matplotlib<=3.1.1 4 | obspy 5 | pyasdf 6 | json5 7 | -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OUCyf/MCMTpy/cd807abedac8396f4dc677102aa9931dd4ba3f22/test/__init__.py --------------------------------------------------------------------------------