Commit Graph

1039 Commits

Author SHA1 Message Date
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
9288a169a4 [change] if folder selection is canceled do not empty editable text 2016-09-26 14:49:29 +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
Ludger Küperkoch
180cd25b51 Fixed bug in read_metadata.py: path to inventory file was not taken into account. 2016-09-21 14:36:25 +02:00
80e0ca99d7 [new] added function to calculate symmetrized pickerror on the fly 2016-09-21 14:12:58 +02:00
a215ba35b1 Merge branch 'feature/magnitude4QtPyLoT'
Conflicts:
	pylot/core/analysis/magnitude.py
2016-09-21 10:41:38 +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
db3347b17c Removed pdb. 2016-09-20 15:29:45 +02:00
Ludger Küperkoch
a95a33abc9 Implemented read_metadata.py in calcsourcespec.py (was this intended?). 2016-09-20 15:26:55 +02:00
Ludger Küperkoch
e4c1912896 Additional screen output for read_metadata.py. 2016-09-20 15:25:26 +02:00
Ludger Küperkoch
ee2f462c92 Fixed bug in read_metadata.py: path to inventory file was not taken into account. 2016-09-20 14:30:24 +02:00
21042bc071 Merge branch 'feature/magnitude4QtPyLoT'
Conflicts:
	pylot/core/util/dataprocessing.py
	pylot/core/util/widgets.py
2016-09-20 13:24:37 +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
Ludger Küperkoch
f46c618748 Stabilized zero-crosings determination for source spectrum estimation from P pulse. 2016-09-20 10:40:21 +02:00
df002ce9ac [change] use read in metadata information instead of reading metadata each time invoked 2016-09-20 09:58:33 +02:00
7e76bf7577 [change] make use of new metadata reading utility function to improve performance 2016-09-20 09:57:09 +02:00
4a6b653a72 [new] added new function to read metadata from disk
this new function prevents multiple reading of large dataless seed volume to enhance overall performance
2016-09-20 09:55:54 +02:00
Ludger Küperkoch
c60689c8ad Removed import pdb 2016-09-19 13:35:35 +02:00
Ludger Küperkoch
aacfbf3bbb Merge branch 'develop' of ariadne.geophysik.rub.de:/data/git/pylot into develop 2016-09-19 13:22:50 +02:00
Ludger Küperkoch
93f9070396 Fixed bug: path seperator was not taken inot account. 2016-09-19 13:22:46 +02:00
84739ed8ab [new] added new function to find common time window within a stream 2016-09-19 11:43:16 +02:00
420f382051 [cherry-pick] merged conflicts after cherry-pick of commit [17585f9381] 2016-09-19 11:42:52 +02:00
f34262d931 [enhancement] catch possible exceptions during restitution process without losing code's verbosity 2016-09-19 11:39:15 +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
17585f9381 [rename] renaming getGlobalTimes for consistency and introduction of similar new function in future commit 2016-09-19 11:29:33 +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
1e4b1d691a [bugfix] using get method and account for not existing autopylot input file 2016-09-15 12:14:43 +02:00
4233af55c6 [bugfix] which now also uses the nllocbin parameter from the input file 2016-09-15 12:11:24 +02:00
fa42134a00 [modified] use os.path to create path strings for reading data 2016-09-15 11:41:30 +02:00
Ludger Küperkoch
d099e4b466 Bug fixed: Parser could not find dless-file as path was not given. 2016-09-14 13:43:10 +02:00
d7680f8ae3 Merge branch 'feature/magnitude4QtPyLoT'
Conflicts:
	pylot/core/util/utils.py
2016-09-13 12:02:21 +02:00
15700b074d [major, refs #200] major change for the magnitude estimation from GUI
restitution of waveform data has been moved to dataprocessing; the routines have been cleaned up and work in changed order now:
new function restitute_data is a wrapper function in order to restitute seismic data with the most popular kinds of station metadata
2016-09-13 12:00:37 +02:00
8a5fcf05bf [move] pseudo method restituteWFData changed to function restitute_data and moved to dataprocessing 2016-09-10 13:24:42 +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
fd8abd18b5 Merge branch 'develop'
[bugfixes] bringing bugfixes into master
2016-09-08 09:56:57 +02:00
49b07163ad [bugfix] saving data did not work properly due to changed variable signature; picking on just one horizontal component now possible, crash was caused by mismatching component labels -> new function added to find these labels from the available data 2016-09-08 09:54:43 +02:00
d953609419 [bugfix] just parse filter options if available 2016-09-07 12:17:51 +02:00
9632ecf41f [bugfix] cover all possible cases (some correct components have been dropped before) 2016-09-07 11:10:51 +02:00
e6b788d423 Merge branch 'develop'
Conflicts:
	QtPyLoT.py
	pylot/core/io/data.py
2016-09-02 14:24:34 +02:00
76a856aa11 [clean-up] some code cosmetics and started to implement eventinformation 2016-09-02 14:21:59 +02:00
d98ecea18a [refs #200] now merging picks without destroyed reference resource IDs 2016-09-01 14:21:25 +02:00
f1d806c154 Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop 2016-08-30 15:00:34 +02:00
a8e56dba8b added repicking layout UI 2016-08-30 14:59:38 +02:00
280e954cac [closes #137] location out of QtPyLoT now possible 2016-08-30 14:53:58 +02:00
a4c2666584 adding repicking qt layout 2016-08-30 11:54:38 +02:00
ad91504211 [ref #137] removing last bugs before closing feature 2016-08-29 15:52:58 +02:00
eb1d7c07a0 preparations for QT repicking interface 2016-08-26 14:31:09 +02:00
30ccd331d4 [refs #137] bugfix in widgets.py badly formatted string corrupted load of settings; added a functionality to utils' which function to also look for NLLoc installation in the settings' binary path 2016-08-26 10:48:16 +02:00
b29c7068e3 [refs #137] some improvements in autoPyLoT and ongoing work in the QtPyLoT NLL implementation 2016-08-25 21:32:41 +02:00
e53dd99d75 [refs #137] implementation of GUI driven NonLinLoc location started 2016-08-25 13:31:51 +02:00
135ac0ef80 successfully implemented a working version of QT postprocessing interface 2016-08-24 14:58:51 +02:00
e51704f2b7 Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop 2016-08-24 13:13:41 +02:00
9c3770ea9f working on postprocessing GUI 2016-08-24 13:13:24 +02:00
f428a72e86 [enhancement] improved functionality and flexibility of PDFstatistics class 2016-08-19 16:32:31 +02:00
c500f1b8bb [add] added new utility function to find a substring in a list of strings 2016-08-19 16:09:29 +02:00
f9d40439a9 [change] oversampling reduced to avoid computational overhead 2016-08-19 16:08:18 +02:00
71f59b3c64 [change] extracted plotting and started new module for plotting; improved docstring quality 2016-08-18 10:22:30 +02:00
5228657a60 small changes for synthetic tests 2016-08-15 13:35:01 +02:00
7921d12c80 Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop
Conflicts:
	pylot/core/util/utils.py
2016-08-12 19:57:11 +02:00
49727b25df [change] improved docstrings and testing of utils.py 2016-08-12 09:50:36 +02:00
sebastianp
36e7bc1bb2 [documentation] adding docstring to all the methods. 2016-08-11 16:13:53 +02:00
a6ce93cd9f [modification] added missing docstring content 2016-08-10 16:30:28 +02:00
c72ed1e169 Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop 2016-08-10 14:24:40 +02:00
7b9d1f172a semi working QT interface for postprocessing 2016-08-10 14:24:07 +02:00
sebastianp
dd6bce89fb Merge remote-tracking branch 'origin/develop' into develop 2016-08-10 10:06:48 +02:00
sebastianp
14c22d73b7 [enhancement] adding a save option for plotting 2016-08-10 10:06:34 +02:00
94782f6758 Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop 2016-08-09 13:10:49 +02:00
f8623fc454 [enhancement] added capability of searching for files in subdirectories 2016-08-09 13:10:25 +02:00
sebastianp
37ed561f73 removing unnecessary code 2016-08-09 12:21:00 +02:00
28d2464aee got working window layout for postprocessing (no functions yet) 2016-08-09 11:48:37 +02:00
sebastianp
a4c7e61e1a Merge remote-tracking branch 'origin/develop' into develop 2016-08-09 11:07:26 +02:00
sebastianp
7c8a437dd8 [task] additional changes for phase separation 2016-08-09 11:07:18 +02:00
9f15376fd8 Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop 2016-08-09 10:38:19 +02:00
9d51339268 start of improving postprocessing ui 2016-08-09 10:37:26 +02:00
sebastianp
f4bdb38e16 [task] PDFStatistics object is now far more flexible 2016-08-09 10:07:27 +02:00
sebastianp
b72e16aaed Merge remote-tracking branch 'origin/develop' into develop 2016-08-04 16:07:47 +02:00
sebastianp
87f87ffb95 [task] rewriting some functions to make them more flexible 2016-08-04 16:07:01 +02:00
4c42e9ceb5 bugfixes, added fullscreen mode 2016-08-04 14:17:22 +02:00
30049baf94 added constant SNR possibility (plotting), changed replotting structure 2016-08-04 12:16:25 +02:00
3efb237452 fix: wait for process obsdata (p.wait()) 2016-08-04 10:35:09 +02:00
471cfe755b [fix] be sure to start the external programs in the right directory 2016-08-03 13:28:54 +02:00
c13bdd2cf2 code cleanup 2016-08-02 12:21:25 +02:00