019a3ae0f3
[new] added origin information to the net_magnitude
2016-09-28 14:58:27 +02:00
4e520df145
[new] added Wood-Anderson amplitude output for further analysis
2016-09-28 10:59:50 +02:00
c1bddd5c0b
[change] improved verbosity and plotting control for Magnitude objects
2016-09-28 10:56:05 +02:00
28a5cedbc6
[refactor] further refactoring done -> obsolete functions deleted, imports optimized, output suppressed and calculation done in __init__
2016-09-27 15:12:14 +02:00
405402ffdc
[refactor] major refactoring of Magnitude objects finished
...
now the changed usage of the Magnitude object has to be implemented into autoPyLoT and QtPyLoT (pending)
2016-09-27 13:57:14 +02:00
d4481e4acd
[new] added peak_to_peak, get and net_magnitude giving Wood-Anderson simulated peak amplitude, single station magnitudes and network magnitude for a given event, respectively
2016-09-26 16:04:09 +02:00
c52277e4a2
[new] added attributes, properties and special method __str__ to the Magnitude superclass -> improves significantly convenience of sub-class programming
2016-09-26 15:56:40 +02:00
dc38bd6e79
[fix, refactor] started major refactoring of magnitude.py and fixed some smaller bugs
2016-09-26 14:47:50 +02:00
eaa3c2e75d
[change] do some major refactoring on Magnitude and subclasses to be more efficient and clean
2016-09-26 10:49:02 +02:00
51f4082e04
[fix] imported Magnitude overwrite prevented by renamed import; changed wrong function call
2016-09-23 15:21:34 +02:00
0dffe37d3b
[namefix] rename data file and corresponding function
2016-09-23 15:12:43 +02:00
bfa7ffc960
[move] moving functions for Richter and moment magnitude calculation to magnitude module for re-use in autoPyLoT
2016-09-23 15:12:04 +02:00
65740e6cff
[namefix] rename data file and corresponding function
2016-09-23 14:28:02 +02:00
Ludger Küperkoch
d0a46eb2bb
Changed iplot flag.
2016-09-23 10:31:42 +02:00
Ludger Küperkoch
dc677062f4
Merge branch 'develop' of ariadne.geophysik.rub.de:/data/git/pylot into develop
...
Something unholy happend!
2016-09-23 10:25:52 +02:00
Ludger Küperkoch
18f8fc25a8
Marginal changes.
2016-09-23 10:25:48 +02:00
04ec43c699
[fix] restitute waveform data prior to Wood-Anderson simulation
2016-09-22 14:12:24 +02:00
8307974edf
[new] added richter magnitude calculation (to be tested)
2016-09-22 11:39:07 +02:00
bcb3eca8b2
[new] added data file and a function that evaluates the Gutenberg-Richter relation for a given distance
2016-09-22 10:54:37 +02:00
f35559e7c0
[new] added data file and a function that evaluates the Gutenberg-Richter relation for a given distance
2016-09-22 10:53:09 +02:00
ca7ce5f13c
[change] signature of calcMoMw changed; renamed getinvdir to get_metadata
...
removed an unused remnant parameter invdir from definition of calcMoMw; method getinvdir from Magnitude class has been renamed and modified and returns now the metadata information and not only the inventory directory
2016-09-21 10:27:47 +02:00
777941b669
[fix] corrected docstring for new signature
2016-09-21 10:13:25 +02:00
Ludger Küperkoch
6a2bbe3f91
Stabilized zero-crosings determination for source spectrum estimation from P pulse.
2016-09-20 13:22:05 +02:00
df002ce9ac
[change] use read in metadata information instead of reading metadata each time invoked
2016-09-20 09:58:33 +02:00
ce4ac4fd04
[pep8] use naming and style conventions
2016-09-19 11:36:51 +02:00
8d37e9299c
[new] added new function to find common time window within a stream
2016-09-19 11:32:00 +02:00
c8d8525c11
[bugs fixed and found] dataprocessing doesn't work as expected, np.bool_ substituted by bool
2016-09-15 14:51:11 +02:00
7c5b8cb646
[move] pseudo method restituteWFData changed to function restitute_data and moved to dataprocessing
2016-09-10 13:24:12 +02:00
3d41e0abcd
[refs #200 ] take advantage of the newly imported input file for magnitude calculation
2016-09-08 15:31:23 +02:00
edd8920d54
WALL-E --- Small robot, big job! Restructuring the code and preparing implementation of a re-assessment tool for PILOT phases.
2016-05-01 21:10:30 +02:00
d7cfd0d176
WALL-E: Einmal aufräumen und zurück!
2016-03-30 08:14:58 +02:00
sebastianp
0d0b43103b
editing of Docstring
2016-02-03 14:49:16 +01:00
sebastianp
8f6f6cf8b6
completition of Docstring
2016-02-03 14:35:07 +01:00
Ludger Küperkoch
5f0e59d95a
Additional comments to make the code clearer.
2015-12-14 09:34:56 +01:00
Ludger Küperkoch
f6930618f2
calcMoMw: modified for calculating Mo and Mw using metric units. calcsourcespec: modified correction for attenutation using an exponential including Q(f).
2015-12-11 15:53:35 +01:00
Ludger Küperkoch
0c7c5645b6
Implemented correction for attenuation in calcsourcespek.
2015-12-04 16:05:53 +01:00
Ludger Küperkoch
d6ae82e070
Included rotation of seismograms using Obspys stream.rotation for a more reliable estimation of source spectra.
2015-12-03 14:57:44 +01:00
Ludger Küperkoch
46cbe96a43
Extended class MoMw for calculating source spectrum. New functions calcsourcespec, calcMoMw and run_calcMoMw implemented.
2015-12-02 10:12:37 +01:00
Ludger Küperkoch
30970b8451
Modified class MoMw: new functio run_calcMoMw using subfunction calcMoMw, gets hypocentral distances from NLLoc-location file. Returns modified pick dictionary including individual seismic moments and corresponding moment magnitudes.
2015-12-01 15:41:37 +01:00
Ludger Küperkoch
41a495371d
Changed average radiation pattern for P-waves to exact definition in Aki and Richards, 1980.
2015-11-30 16:45:29 +01:00
Ludger Küperkoch
23b9fda5e4
New class M0Mw for calculating seismic moment and moment magnitude.
2015-11-30 16:35:58 +01:00
Ludger Küperkoch
466e0020a6
w0fc: Plateau omega0 and corner frequency are are now taken as the median of previously calculated values from different functions synthsourcespek and fitSourceModel.
2015-11-30 13:27:08 +01:00
Ludger Küperkoch
957d2ccfe7
New function to derive plateau and corner frequency of observed source spectrum. Additional to scipys implicit function curve_fit, as seismic moment is sensitive to estimated plateau of source spectrum, which in turn is sensitivec to estimated corner frequency.
2015-11-30 13:14:23 +01:00
0a7b02c04a
general clean-up 2.0 even more checks made and issues resolved
2015-10-19 11:25:15 +02:00
0fa701a878
general code clean-up
2015-10-19 05:32:10 +02:00
Ludger Küperkoch
708f0a1f1a
Some cosmetics on DCfc of class magnitude.
2015-09-29 14:55:15 +02:00
Ludger Küperkoch
f4b905c2e6
Removed inserted plot command for debugging purposes.
2015-09-29 11:19:25 +02:00
Ludger Küperkoch
ce57f184e7
In order to calculate DC value and corner frequency of source spectrum a synthetic spectrum is calculated and optimized using scipys curve_fit.
2015-09-29 11:17:47 +02:00
Ludger Küperkoch
b391f5e082
Modified class DCfc: calculation of fft bins after Bath.
2015-09-23 17:02:27 +02:00
Ludger Küperkoch
30ee81a39d
New class DCfc of object Magnitude for calculating source spectrum and to derive DC value and corner frequency.
2015-09-23 16:31:48 +02:00