Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@

.ftpconfig
.DS_Store
*.pyc
23 changes: 10 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
## SpecMod - A Python-Based Toolbox for Processing and Modeling Seismic Spectra

SpecMod was designed following closely the method of spectral modeling described in Edwards et al. (2010).
SpecMod - A Python-Based Toolbox for Processing and Modeling Seismic Spectra
===============================
SpecMod was designed following method of spectral modeling described in Edwards *et al.* (2010).

Benjamin Edwards, Bettina Allmann, Donat Fäh, John Clinton, Automatic computation of moment magnitudes for small earthquakes and the scaling of local to moment magnitude, Geophysical Journal International, Volume 183, Issue 1, October 2010, Pages 407–420, https://doi.org/10.1111/j.1365-246X.2010.04743.x


SpecMod is very much still in development and, as such, contains bugs which may introduce inaccuracies into spectral modeling. Therefore, it should be used with caution and not without a basic understanding of processing/modeling spectra.
SpecMod is still an early protype and may contain bugs which could introduce inaccuracies into spectral modeling. Therefore, it should be used with caution and not without a basic understanding of digital signal processing and data modeling. It is possible the code will
go through major redesigns in later versions, so this is a concept module.

## Usage Instructions

This code currently has a good number of dependencies and is written for python 3.7.
This code is written for python 3.7 but is usable in versions 3.6, 3.7, and 3.8.

Crucial dependencies:

Expand All @@ -22,12 +23,8 @@ Crucial dependencies:

My suggestion is that you should use anaconda/miniconda create a new conda environment.

$ conda create -n SpecMod python=3.7

Then install all dependencies listed in the requirements.txt file.
MAKE SURE YOU POINT TO THE CORRECT FILE! It is under the SpecMod directory.

$ conda install -c conda-forge --file requirements.txt
$ conda create -n SpecMod python=3.X

Anaconda will install all of the relevant dependencies. If this step fails, try
to just install 1-4(or 5) and anaconda should be able to manage all of the sub-dependencies.
Then install all dependencies listed above. Conda should install the sub-dependencies for you.
Theoretically, the code should work with the latest versions of the dependencies, unless they made a big change.
If there is an issue please create an issue and mention the versions of the listed modules you are using.
171 changes: 0 additions & 171 deletions Tutorial/.ipynb_checkpoints/OrderStrongMotion-checkpoint.ipynb

This file was deleted.

Loading