Commit Graph
100 Commits
Author SHA1 Message Date
Wehling-Benatelli e434bda993 [change] corrected for required versions 2024-08-30 15:01:28 +02:00
sebastianw c0c3cbbd7b refactor: remove unused methods 2024-08-30 15:01:28 +02:00
sebastianw 76d4ec290c refactor: restructure data objects 2024-08-30 15:01:18 +02:00
sebastianw 63dac0fff6 refactor: restructure data objects 2024-08-30 15:00:44 +02:00
sebastianw b15cfe2e1d bugfix: corrected for ValueError 2024-08-30 15:00:44 +02:00
sebastianw 29a1e4ebe6 refactor: move Project definition to individual file 2024-08-30 14:59:28 +02:00
sebastianw 50cabb0038 refactor: remove unused code; rewrite too complex functions 2024-08-30 14:59:28 +02:00
sebastianw 8dd5789b0c refactor: remove unnecessary additional declaration 2024-08-30 14:59:28 +02:00
sebastianw c4aeab0d89 suggestion: add new dataclasses; remove unused code 2024-08-30 14:59:19 +02:00
sebastianw ef69fc429f refactor: removed unused code 2024-08-30 14:58:53 +02:00
sebastianw c8f9c1c33a refactor: rename writephases; add write hash to write_phases 2024-08-30 14:58:53 +02:00
sebastianw 59f2c4b46f refactor: remove unused code; restructure writephases 2024-08-30 14:58:53 +02:00
sebastianw 8eb958c91b change: add docu and test case 2024-08-30 14:58:52 +02:00
sebastianw e3dd4a4e28 bugfix: remove unused functions; correct for wrong formatting (PEP) 2024-08-30 11:59:49 +02:00
sebastianw 2bbb84190c feat: add type hints and tests for plot utils 2024-08-30 11:56:59 +02:00
sebastianw fb32d5e0c5 bugfix: add tests to key_for_set_value 2024-08-30 11:55:14 +02:00
sebastianw f043401cc0 bugfix: rename is_iterable and add doc tests 2024-08-30 11:55:14 +02:00
sebastianw eb15382b5f bugfix: refactor get_owner and get_hash; add tests 2024-08-30 11:55:13 +02:00
sebastianw 7fbc3bc5ae bugfix: add new tests and refactor get_none 2024-08-30 11:55:01 +02:00
sebastianw 221743fe20 bugfix: correct erroneous and add new doctests 2024-08-30 11:49:22 +02:00
sebastianw 554afc5a81 bugfix: update check4rotate 2024-08-29 16:12:19 +02:00
sebastianw 0634d24814 fix: disabled button in case flag is false
The button was not disabled in case the flag variable was false. The get_Bool function was renamed and improved to also work in case in the input variable is of type int or float.

Additionally, the environment file was corrected to also work for macOS installations with ARM architecture.
2023-04-06 16:40:20 +02:00
Sebastian Wehling-Benatelli e46f9066d9 [change] increased inter platform compatibility 2017-07-13 17:40:21 +02:00
sebastianw d668a483fc Merge tag '0.1a' into develop
First release of PyLoT
2016-10-04 06:42:34 +02:00
sebastianw f5c06cd6b7 Merge branch 'release/0.1a' 2016-10-04 06:41:54 +02:00
sebastianw b8840dff13 [version] edited release version 2016-10-04 06:40:48 +02:00
sebastianw 91c181ef2d [README] added some necessary information to the README for first release; renamed pylot_sample.in for convenience and removed an obsolete import 2016-10-04 06:32:10 +02:00
sebastianw ae0cc5e160 [remove] moved correlation code from PyLoT to the seisobs utils scope 2016-10-03 08:56:23 +02:00
sebastianw 45184fd888 [move] acitveSeismoPick3D removed from PyLoT project
will be under version control on its own
2016-10-03 08:20:54 +02:00
sebastianw 75a8397b21 [release] edit to README and deleted duplicate LICENSE file 2016-09-30 16:32:34 +02:00
sebastianw 96124537cd Merge branch 'master' into develop 2016-09-29 14:18:39 +02:00
sebastianw ad909804d1 Merge branch 'master'
Conflicts:
	pylot/core/analysis/magnitude.py
	pylot/core/pick/autopick.py
	pylot/core/util/dataprocessing.py
2016-09-29 14:01:15 +02:00
sebastianw 04da34deec Merge branch 'feature/magnitude4QtPyLoT' into develop
Conflicts:
	pylot/core/analysis/magnitude.py
	pylot/core/util/widgets.py
2016-09-29 13:54:18 +02:00
DarkBeQst 7054ac6ab2 Initial commit 2016-09-29 13:31:31 +02:00
sebastianw 2e840cdfeb [fix] reformatted code and fixed magnitude_type bug 2016-09-29 12:44:37 +02:00
sebastianw dfefd8af87 [enhancement] make use of new Magnitude method in QtPyLoT 2016-09-29 12:08:59 +02:00
sebastianw 34c1e80e78 [enhancement] make use of the new methods introduced in [900c7af931] 2016-09-29 11:55:08 +02:00
sebastianw 900c7af931 [new] added referenced information on Magnitude properties to the recently introduced Magnitude objects 2016-09-29 11:53:25 +02:00
sebastianw 010963dcd1 [bugfix] not all processing entries have to contain remove but at least one of them 2016-09-28 15:07:49 +02:00
sebastianw d68a1bcf0e [fix] some bugs found and fixed 2016-09-28 14:58:27 +02:00
sebastianw 019a3ae0f3 [new] added origin information to the net_magnitude 2016-09-28 14:58:27 +02:00
sebastianw 5f92d1f0db [refactor] major refactoring of autoPyLoT and making use of the newly introduced Magnitude objects 2016-09-28 11:03:53 +02:00
sebastianw 231e7dafa9 [new] added a function to easily add amplitude information to a given Obspy event object 2016-09-28 11:01:09 +02:00
sebastianw 4e520df145 [new] added Wood-Anderson amplitude output for further analysis 2016-09-28 10:59:50 +02:00
sebastianw ae967b3429 [remove] removed Wood-Anderson peak-to-peak amplitude reading from autopick.py; newly introduced in autoPyLoT in a future commit 2016-09-28 10:57:52 +02:00
sebastianw c1bddd5c0b [change] improved verbosity and plotting control for Magnitude objects 2016-09-28 10:56:05 +02:00
sebastianw 72d15e1fc5 [new] implemented new magnitude concept into QtPyLoT 2016-09-27 15:15:53 +02:00
sebastianw 699ba6f122 [new] added a new Error -> ProcessingError raised in case of failed restitution 2016-09-27 15:14:48 +02:00
sebastianw cf514ae024 [change] traces that could not be restituted are now removed from trace 2016-09-27 15:13:51 +02:00
sebastianw 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
sebastianw 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
sebastianw 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
sebastianw 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
sebastianw 9288a169a4 [change] if folder selection is canceled do not empty editable text 2016-09-26 14:49:29 +02:00
sebastianw dc38bd6e79 [fix, refactor] started major refactoring of magnitude.py and fixed some smaller bugs 2016-09-26 14:47:50 +02:00
sebastianw eaa3c2e75d [change] do some major refactoring on Magnitude and subclasses to be more efficient and clean 2016-09-26 10:49:02 +02:00
sebastianw 51f4082e04 [fix] imported Magnitude overwrite prevented by renamed import; changed wrong function call 2016-09-23 15:21:34 +02:00
sebastianw 0dffe37d3b [namefix] rename data file and corresponding function 2016-09-23 15:12:43 +02:00
sebastianw 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
sebastianw 65740e6cff [namefix] rename data file and corresponding function 2016-09-23 14:28:02 +02:00
sebastianw 04ec43c699 [fix] restitute waveform data prior to Wood-Anderson simulation 2016-09-22 14:12:24 +02:00
sebastianw 8307974edf [new] added richter magnitude calculation (to be tested) 2016-09-22 11:39:07 +02:00
sebastianw 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
sebastianw 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
sebastianw 80e0ca99d7 [new] added function to calculate symmetrized pickerror on the fly 2016-09-21 14:12:58 +02:00
sebastianw a215ba35b1 Merge branch 'feature/magnitude4QtPyLoT'
Conflicts:
	pylot/core/analysis/magnitude.py
2016-09-21 10:41:38 +02:00
sebastianw 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
sebastianw 777941b669 [fix] corrected docstring for new signature 2016-09-21 10:13:25 +02:00
sebastianw a54ffe01f8 [new, bugfix] use new metadata concept in the scope of QtPyLoT; consistent use of input variables
input variables should always be used; avoid hard-coded parameters
2016-09-20 13:45:49 +02:00
sebastianw 21042bc071 Merge branch 'feature/magnitude4QtPyLoT'
Conflicts:
	pylot/core/util/dataprocessing.py
	pylot/core/util/widgets.py
2016-09-20 13:24:37 +02:00
sebastianw df002ce9ac [change] use read in metadata information instead of reading metadata each time invoked 2016-09-20 09:58:33 +02:00
sebastianw 7e76bf7577 [change] make use of new metadata reading utility function to improve performance 2016-09-20 09:57:09 +02:00
sebastianw 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
sebastianw c73435dec3 [fix] do not calculate moment magnitude for S phases 2016-09-20 09:54:14 +02:00
sebastianw 84739ed8ab [new] added new function to find common time window within a stream 2016-09-19 11:43:16 +02:00
sebastianw 420f382051 [cherry-pick] merged conflicts after cherry-pick of commit [17585f9381] 2016-09-19 11:42:52 +02:00
sebastianw f34262d931 [enhancement] catch possible exceptions during restitution process without losing code's verbosity 2016-09-19 11:39:15 +02:00
sebastianw ce4ac4fd04 [pep8] use naming and style conventions 2016-09-19 11:36:51 +02:00
sebastianw fa19ae9b9c [bugfix] only try to calculate moment magnitude given w0 and fc 2016-09-19 11:35:59 +02:00
sebastianw 8ee515e79f [bugfix] do not continue calculation without given data 2016-09-19 11:34:03 +02:00
sebastianw 5155efc710 [bugfix] do not try to give a full filepath for searching issue 2016-09-19 11:33:08 +02:00
sebastianw 8d37e9299c [new] added new function to find common time window within a stream 2016-09-19 11:32:00 +02:00
sebastianw 17585f9381 [rename] renaming getGlobalTimes for consistency and introduction of similar new function in future commit 2016-09-19 11:29:33 +02:00
sebastianw c8d8525c11 [bugs fixed and found] dataprocessing doesn't work as expected, np.bool_ substituted by bool 2016-09-15 14:51:11 +02:00
sebastianw 1e4b1d691a [bugfix] using get method and account for not existing autopylot input file 2016-09-15 12:14:43 +02:00
sebastianw 4233af55c6 [bugfix] which now also uses the nllocbin parameter from the input file 2016-09-15 12:11:24 +02:00
sebastianw fa42134a00 [modified] use os.path to create path strings for reading data 2016-09-15 11:41:30 +02:00
sebastianw d7680f8ae3 Merge branch 'feature/magnitude4QtPyLoT'
Conflicts:
	pylot/core/util/utils.py
2016-09-13 12:02:21 +02:00
sebastianw 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
sebastianw 8a5fcf05bf [move] pseudo method restituteWFData changed to function restitute_data and moved to dataprocessing 2016-09-10 13:24:42 +02:00
sebastianw 7c5b8cb646 [move] pseudo method restituteWFData changed to function restitute_data and moved to dataprocessing 2016-09-10 13:24:12 +02:00
sebastianw 8866d54428 [bugfix] now plotting of picks works also if less data than picks are available 2016-09-09 06:31:30 +02:00
sebastianw 94236190ba [bugfix] cancelling localization now works and gives information about the localization state 2016-09-09 06:31:04 +02:00
sebastianw 3d41e0abcd [refs #200] take advantage of the newly imported input file for magnitude calculation 2016-09-08 15:31:23 +02:00
sebastianw 6e6b3570a8 [bugfix] now plotting of picks works also if less data than picks are available 2016-09-08 15:29:37 +02:00
sebastianw a2ddd04b2f [bugfix] cancelling localization now works and gives information about the localization state 2016-09-08 15:28:40 +02:00
sebastianw cbbe019475 [new] read generalized parameter input file 2016-09-08 14:02:21 +02:00
sebastianw 7d5b8db232 [new] pylot.in which will substitute other input files later
a more general input file might help prevent ambiguity among use cases
2016-09-08 13:45:16 +02:00
sebastianw fd8abd18b5 Merge branch 'develop'
[bugfixes] bringing bugfixes into master
2016-09-08 09:56:57 +02:00
sebastianw 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