Commit Graph

256 Commits

Author SHA1 Message Date
Ludger Küperkoch
0ef2afa775 Update of event object for moment magntiude was missing. 2019-10-25 16:20:48 +02:00
Ludger Küperkoch
dd05d46be7 Added calulation of network moment magnitude, additional screen output of moment magnitude. 2019-10-25 16:16:07 +02:00
e6a326d437 [bugfixes] on GUI driven earthquake location/magnitude calculation 2019-10-24 10:12:00 +02:00
18aa67e5ba [update] some bugfixes relating array_maps, removed some unneccessary files 2019-10-23 11:34:50 +02:00
Ludger Küperkoch
e94129ec36 If several locations done, use the most recent one. 2019-09-13 12:29:42 +02:00
Ludger Küperkoch
813a2c989e Some cosmetics. 2019-09-11 12:22:11 +02:00
Ludger Küperkoch
f21973c7b6 Restitute and calculate magnitudes only on picked traces. 2019-09-11 12:13:53 +02:00
Ludger Küperkoch
2ecd7b1ec5 Removed deactivated code. 2019-09-11 11:30:39 +02:00
Ludger Küperkoch
929ddb0ab2 Activated magnitude calculation, removed typo (WAscaling), still buggy in applyEvent! 2019-09-09 16:23:34 +02:00
b39489b253 [update] increased flexibility of ArrayMap class 2019-09-05 17:19:40 +02:00
34ca64ee17 [bugfix] old picks were not properly erased before loeading new picks 2019-08-23 11:30:16 +02:00
15882ed27e Merge branch 'feature/metadata_clean_inventory' into develop 2019-08-12 16:39:12 +02:00
9764e12b19 [new] save event table as .csv file 2019-07-01 17:24:06 +02:00
2d775fa1b9 [rename] real_Bool/real_None -> get_Bool/get_None 2019-06-24 15:05:04 +02:00
fe73d2e054 [minor] make safety copy of existing deleted picks file before overwriting 2019-06-24 15:05:02 +02:00
61b514fae1 [bugfix] on deleted picks 2019-06-18 11:35:43 +02:00
Ludger Küperkoch
025822c485 On the way to stable magnitude determination, still buggy! 2019-06-14 12:35:56 +02:00
Ludger Küperkoch
bb313f0f49 Re-implemented magnitude calculation within manual picking/location, yet on-going work 2019-06-04 12:29:53 +02:00
102b7eafe3 [new] log deleted picks in json file 2019-05-29 15:59:05 +02:00
3ccf826f25 [new] FileExtensionDialog for load-picks (e.g. _correlatex.xml) 2019-05-29 10:37:16 +02:00
77eec8e94c [bugfix] some small fixes regarding plotting and reading notes.txt 2019-05-28 11:23:47 +02:00
Sally
8270bd4974 [change] delete old obspy dmt database files, current files unselectable
The metadata files that come from the obspy dmt database are saved in a list. When a new event is opened, the obspy dmt metadata files from the old event are deleted from the inventory (and the new ones are added). 
The metadata files from the obspy dmt database are now unselectable in the MetadataWidget. 
The clear inventory function is called when saving the project (otherwise the obspy dmt metadata gets saved and becomes editable). The update_obspy_dmt function is called after the save to get the obspy_dmt_metadata back to continue working after the save.
2019-05-17 11:20:12 +02:00
98e9e786af [new] gain control for main plot window (hotkeys: +, - [amplified with Ctrl] and R [reset]) 2019-04-12 10:35:16 +02:00
6b9231abd3 [merge] feature/refactor into develop 2019-04-12 10:31:29 +02:00
Darius Arnold
49f7ba3eab Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop 2019-04-09 20:41:08 +02:00
912347beda [change] colormap can be adjusted in array_map 2019-04-05 10:23:10 +02:00
6d4610983d [minor] exclude folder "EVENTS-INFO" from possible event folders in dmt_structure 2019-04-03 15:08:36 +02:00
Darius Arnold
af43d247c6 Bugfix #270: Create path for Symmetric picking error so it can be drawn
The function shape() will generate the missing path without side effects.
2019-03-22 10:42:16 +01:00
ea07823a61 [change] imported pick/location data now completely overwrites current
data instead of "weirdly" merging everything
2019-03-12 15:19:23 +01:00
Sally
15d294626f Filter von Übersicht auf einzelne Stationen übertragen
Vorher: Wenn man in der Übersicht einen Filter anwendet (P oder S) und dann eine Station öffnet ist dort immer der P-Filter aktiv.
Jetzt: Wenn man die Übersicht filtert und dann eine Station öffnet, wird derselbe Filter angewendet wie in der Übersicht. 
Disclaimer: Gibt vermutlich eine elegantere Lösung.
2019-03-12 11:44:47 +01:00
Sally
2e2924efa1 Update for changed button name 2019-03-12 11:44:47 +01:00
d6381e80c1 [bugfix] cell changing did not set event/project dirty 2019-03-07 17:02:11 +01:00
a9d92e70ce [bugfix] stations not updated when changing event 2019-03-07 17:01:45 +01:00
49bcdd2680 [bugfix] time axis for plots created with linspace instead of arange
[minor] enhanced error output
2019-03-07 16:31:41 +01:00
7bf3bb6835 [minor] various small fixes 2019-03-07 16:31:41 +01:00
4dfcdb41ec [bugfix] missing split for event dirty flag (*) in event_table 2019-02-28 16:39:53 +01:00
16b469ff67 [bugfix] information about deleted picks was not transferred to the
current event, thus not saved
2019-02-28 16:20:21 +01:00
Darius Arnold
45949afca6 [bugfix] #267 Remove stations from ArrayMap whose metadata files were removed
Fixes https://ariadne.geophysik.ruhr-uni-bochum.de/trac/PyLoT/ticket/267
2018-12-07 11:19:54 +01:00
Darius Arnold
3abeabc75c [bugfix] File wasn't closed explicitly, add implicit close by with statement 2018-11-30 11:20:47 +01:00
Darius Arnold
6afb61b666 [change] order to Day/Month/Year when reading csv file for event info 2018-11-30 10:26:57 +01:00
Darius Arnold
815a18f2f3 [bugfix] error in check during loading of event info csv file
Original condition didn't check for eventID in event.origins.
2018-11-30 10:21:54 +01:00
739a6e89f4 [pycharm] optimized imports 2018-08-16 17:34:05 +02:00
c23bbfae8a [bugfix] enhanced emergency reset loop for corrupted QSettings 2018-08-16 16:22:35 +02:00
ce1564c2f8 [minor] improved convenience, small bugfix 2018-08-15 15:51:41 +02:00
8a187905cb [update] finalized recent projects
[minor] some small fixes, improvements
2018-08-15 15:39:43 +02:00
402248f340 [new] minor, add recently used projects (WIP) 2018-08-14 14:21:32 +02:00
a2af6b44f3 [bugfix] regard location ID in PyLoT! (WIP) 2018-08-06 16:03:54 +02:00
34891d3dc1 [minor] added verbosity flag for Metadata to reduce output in GUI 2018-08-06 09:19:30 +02:00
Darius Arnold
a45e817213 Merge remote-tracking branch 'origin/develop' into feature/refactor 2018-08-03 11:55:13 +02:00
d9a4c40d0b [minor] hide pick qualities histogram action (not implemented yet) 2018-08-03 11:16:08 +02:00
e211a901ff [bugfix] could not init array map when loading project 2018-08-03 09:33:37 +02:00
d5e9cd07d4 [revert] went back to old quality assessment without SNR 2018-08-02 14:18:20 +02:00
529939b4b8 [minor] removed unused object 2018-08-02 13:32:45 +02:00
017683806b [new] if QSettings fails, ask to reset!
[bugfix] checkBoxPG outdated in QSettings
[bugfix] moved SetChannelComponents to utils (produced circular imports)
2018-08-01 13:49:01 +02:00
c898f93293 [new] idea for new quality check using SNR 2018-08-01 13:25:27 +02:00
e68b634f25 [new] event modification status saved with "dirty" attribute, only save event-XML when modified 2018-07-31 09:41:48 +02:00
bfc745dd30 Merge branch 'develop'
Conflicts:
	pylot/core/pick/autopick.py
2018-07-25 10:53:08 +02:00
146ef7098c [bugfix] closes #233 closes #234
can cope with stations without horizontal components now, removed dangerous try/except construct
2018-07-25 10:48:43 +02:00
974ee12076 [update] closes #242 - dpi change added, figures using PylotCanvas can be saved with CTRL+S 2018-07-24 15:20:00 +02:00
37e2e39f3a Merge branch 'develop' into feature/metadata_class 2018-07-24 14:36:22 +02:00
f310afb4c6 [minor] renaming QtAction 2018-07-24 14:33:38 +02:00
6d6179bb55 [bugfix] closes #251 also fixed for histogram and locateAction 2018-07-24 14:32:15 +02:00
ef6e011d22 [update] slightly improved feasibility using obspy_dmt with metadata and array map 2018-07-23 16:03:15 +02:00
eb07c19c2e [update] metadata/inventory management
[bugfix] errors when there were no manual picks using array_map
2018-07-23 14:54:53 +02:00
f802f1db58 [new] working on metadata/inventory selection from GUI 2018-07-19 11:50:29 +02:00
b348117d5a [bugfix] tuneAutopicker not using new pb_widget 2018-07-18 15:04:07 +02:00
90e26cbd8f [bugfix] various, pick delete/plot behaviour 2018-07-18 14:12:59 +02:00
ed7ee5d944 [bugfix] progressText not updating in progressBar 2018-07-18 11:13:29 +02:00
37da7327d0 [bugfix] using Metadata class for pickDlg, not yet working for array_map (WIP!) 2018-07-17 16:04:20 +02:00
dda997e457 [update] autopick -> only export necessary XML (WIP) 2018-07-17 14:49:37 +02:00
fbc01290d5 [update] make PYQTGRAPH mandatory for PyLoT (stop maintaining unused stuff)! 2018-07-17 14:49:37 +02:00
64885db214 [update] no more replotting of whole data when pick is changed 2018-07-17 14:49:36 +02:00
5b48b744fd [update] plotting (added fill_between again now performance got increased) 2018-07-17 14:49:36 +02:00
469d91bfdc [cleanup] removed has_spe function, using dict.get method instead! 2018-07-17 14:49:36 +02:00
7a0d3486a6 [cleanup] code cleanup by PyCharm 2018-07-17 14:49:34 +02:00
415af11f63 [cleanup] add @staticmethod, some other stuff 2018-07-17 14:45:51 +02:00
d151cdbc6d [bugfix] added missing parameter "WAScaling" (not knowing what it does but it was missing!) 2018-07-17 14:45:50 +02:00
e210bd8793 [add] number of active picks (and total) 2018-07-17 14:45:48 +02:00
ad686d42db [minor] update_status when loading multiple events 2018-07-17 14:45:48 +02:00
Darius Arnold
2c92f6f2fd Merge branch 'develop' into feature/refactor 2018-07-13 09:28:50 +02:00
704a45f845 [minor] changes/testing threshfactor 2018-07-12 09:46:53 +02:00
91959367d4 [minor] set DATASTRUCTURE correctly 2018-07-11 09:41:58 +02:00
5f6f986e3e [update] removed read of pylot.in on start!!! Now using default params
from now on all input files should be saved in directory different to ~/.pylot
2018-07-10 14:16:36 +02:00
77dd0d4733 Merge branch 'develop' of ariadne:/data/git/pylot into develop 2018-07-10 11:36:31 +02:00
c46513a626 [bugfix] full_range called for each station when drawing picks, largely decreasing plot performance 2018-07-10 11:13:41 +02:00
b4516fb2cb [update] save automatic picks calculated inside GUI in XML files as well 2018-07-10 11:01:34 +02:00
Darius Arnold
5258a7e9b4 Merge remote-tracking branch 'origin/develop' into feature/refactor 2018-07-06 09:49:52 +02:00
e05909b188 [minor] textobjects split into single lines before adding to log for convenience 2018-07-04 16:48:14 +02:00
2379dee142 [hotfix] metadata could not be read (improve this) 2018-07-04 10:56:18 +02:00
f4201c4e2f [bugfix] full path for ctrfile 2018-06-28 15:59:13 +02:00
4cb3f72ba8 [bugfixes] location/magnitude w ludger 2018-06-28 15:22:40 +02:00
3a66ec1c95 [bugfix] print a warning in case saveData fails 2018-06-27 14:20:11 +02:00
a5667c1e06 [bugfix] nextStation not working with deleted PickDlg 2018-06-21 14:23:52 +02:00
2a8efd0904 [bugfix] autoPyLoT <-> obspyDMT 2018-06-21 13:24:24 +02:00
910ed66676 [new] only load relevant waveforms into TAP widget 2018-06-20 13:49:27 +02:00
47d6aeabff [minor] used event highlighting of eventlist also for eventbox 2018-06-19 11:28:41 +02:00
7de8c2ee8b [minor] info on number of traces for main plot 2018-06-19 11:13:06 +02:00
ca886d4355 [update] on obspyDMT compatibility (WIP) 2018-06-19 10:35:34 +02:00
ec32981787 [minor] improve current event highlighting 2018-06-19 10:26:17 +02:00
0168d8923d [minor] tighten PyLoT tabs layouts 2018-06-14 16:26:26 +02:00
fe0e4be43d [update] array_map uses PylotCanvas now, added grid and labels 2018-06-14 14:08:25 +02:00
06cacdd4cb [update] major improvements of array_map, code restyled, increased flexibility 2018-06-13 17:01:05 +02:00
f50e38241e [minor] tweaks and finalization of obspyDMT options 2018-06-08 15:01:05 +02:00
083e5c8fe9 [new] synthetics checkbox 2018-06-08 14:29:45 +02:00
8155389b3d [new] add qcombobox for raw/processed selection 2018-06-08 14:18:28 +02:00
9b5fe3baba [bugfix] saving xml when tuning autopicker unnecessary (and caused id mismatch) 2018-06-05 15:07:06 +02:00
cbba41f16a [bugfix] autoPickWidget not enabled again after Error 2018-06-05 14:24:00 +02:00
Darius Arnold
c38e3eb07a [refactor] rename getQualityFromUncertainty function to be more pythonic 2018-05-29 18:53:38 +02:00
f49d323c13 [add] no data label 2018-04-27 10:45:20 +02:00
ae4c345fa7 [update] same functionality but within main thread 2018-04-26 16:40:46 +02:00
8073a872c1 [add] event colored grey if folder isEmpty 2018-04-26 16:26:03 +02:00
ea9939a0c0 Merge branch 'develop' into feature/obspy_dmt_interface 2018-04-26 16:19:30 +02:00
18926610cf [add] colorized table 2018-04-26 16:19:12 +02:00
3d1d97dd26 Merge branch 'develop' into feature/obspy_dmt_interface 2018-04-26 15:01:29 +02:00
be82706413 [bugfix] event_path overwritten 2018-04-25 14:06:07 +02:00
644470f156 [bugfix] was only checking current data processing state 2018-04-25 14:01:05 +02:00
d6150c5d1a [new] disable event selection of folder is empty 2018-04-25 13:48:06 +02:00
073a71e150 [add] origin/mag to eventBox 2018-04-24 15:37:15 +02:00
d3de33a12b [add] lineEdit showing if using processed/raw data 2018-04-23 17:00:52 +02:00
36a4f0df8a [bugfix] error when there is nothing to plot 2018-04-23 13:33:05 +02:00
0320ad67b9 [new] station highlighting by middle mouseclick 2018-04-20 14:53:15 +02:00
4d3b300e17 [removed] check4gaps/doubled, plotting merged instead 2018-04-19 17:03:11 +02:00
56295f0c81 Merge branch 'feature/obspy_dmt_interface' into develop 2018-04-19 13:44:42 +02:00
a876384338 [add] info for user on min/max plot 2018-04-19 13:38:17 +02:00
af54cb0d4b [add] auto set plotmethod 'fast' for large dataset 2018-04-18 16:44:33 +02:00
349715d13c [removed] nth_sample dialog 2018-04-18 16:21:57 +02:00
f0b6897053 [bugfix] identity check of np.array 2018-04-18 16:01:39 +02:00
ba37d587a6 [update] testing min/max plot (WIP) 2018-04-13 10:56:52 +02:00
Darius Arnold
90e6c758d8 [bugfix] convert string response from qsettings to integer for calculation 2018-04-06 14:35:24 +02:00
10c26a8261 Merge branch 'develop' into feature/obspy_dmt_interface 2018-04-05 16:03:26 +02:00
b730b16ac6 [add] check for plot quantity 2018-04-05 16:02:53 +02:00
4cf785a135 [add] synthetic data plot (not yet flexible) 2018-04-05 15:33:40 +02:00
366db9aef0 [initial] first changes to supply an interface to an obspyDMT database 2018-04-04 14:57:54 +02:00
39f9238a06 [new] function to modify project/event rootpath (called on loading project) 2018-03-05 17:45:07 +01:00
8dabfb41d8 [add] check for event data 2018-03-05 16:51:06 +01:00
b076ee90fa [add] cb for overwriteFilter, else filter automatically again 2018-02-22 16:03:11 +01:00
2e5ed974f0 [bugfix] filteroptions were not loaded from project 2018-02-22 11:28:46 +01:00
90bc7642fd [update] default corners=4! 2018-02-22 11:19:24 +01:00
fa46385a52 [add] color representation of auto filter values 2018-02-22 10:05:57 +01:00
Ludger Küperkoch
f56d32b661 New button for showing pick qualities. Still work in progress. 2018-02-01 11:42:34 +01:00
Ludger Küperkoch
da06115886 New button for getting histogram of pick qualities, in progress. 2018-01-30 16:16:41 +01:00
97de485c99 [bugfix] case pg=False: internal change of pylot canvas updated 2018-01-17 10:30:38 +01:00
ffa30e92e9 [bugfix] tried to filter without active event 2018-01-12 10:15:30 +01:00
23ed5ceb5c [update] filter hotkeys changed to P, S, Ctrl+F 2018-01-12 10:10:51 +01:00
185cc14e38 [add] P and S Filter options for main window
[bugfix] wforiginal not pre-processed
2018-01-12 10:07:14 +01:00
0ebc6e11f8 [add] prev/next event button (~~had to remove min button width) 2018-01-10 16:54:26 +01:00
78d5ee58b5 [update] apply new filter settings after selection 2018-01-10 16:08:28 +01:00
1324bf3d7c [bugfix] retain filtering when switching events 2018-01-09 12:04:03 +01:00
4150e7f7d4 [update/bugfix] big update on filter options:
- added toggle and QSetting for automatic filtering when picking
- filtering in 3comp window independent from main plot, current filter options are copied after 3comp. init though
- several bugfixes when activating/deactivating filter
2018-01-09 11:44:22 +01:00
fb4753ca83 [add] improved filteroptions and fixed some bugs 2018-01-08 14:45:29 +01:00