Commit Graph

1886 Commits

Author SHA1 Message Date
Darius Arnold
71d8626fa3 [bugfix] parameters tpred2z and tdet2z were unused 2018-07-06 11:10:02 +02:00
d223011f90 [bugfix] Metadata class raised Exception using obspy get_coordinates 2018-07-06 11:03:21 +02:00
Darius Arnold
b1a1e8924a Merging picker.py did not work correctly 2018-07-06 10:51:17 +02:00
1f2dd689ba [change] slope normalized to maximum y value, TESTING NEEDED 2018-07-06 10:36:38 +02:00
Darius Arnold
5258a7e9b4 Merge remote-tracking branch 'origin/develop' into feature/refactor 2018-07-06 09:49:52 +02:00
871fb685a4 [removed] amplification of cf by empirical values to account for restituted data 2018-07-05 15:30:40 +02:00
2c588c1c80 [change] initial pick now searches for latest local minimum instead of first increase in cf 2018-07-05 15:29:09 +02:00
df0f059ff3 [bugfix] parameters tpred2z and tdet2z were unused 2018-07-05 14:37:32 +02:00
b0ad99eced [minor] improved text output if wf data cannot be read 2018-07-04 17:25:11 +02:00
27e425844a Merge branch 'develop' of ariadne:/data/git/pylot into develop 2018-07-04 10:56:44 +02:00
Darius Arnold
4581025b4d Bugfix: typo l/1 in figure name 2018-07-03 13:56:29 +02:00
Darius Arnold
59e67b51d5 Bugfix where not giving origin with taupy would still use negative starttime 2018-07-03 13:55:51 +02:00
Darius Arnold
80835bc56e Transfer plotting of results in GUI after picking 2018-07-03 13:55:04 +02:00
Ludger Küperkoch
b6c682315d Allow negative saftey gap for slope determination, use only mean of noise window for SNR determination 2018-07-03 11:34:32 +02:00
4896c1e1d8 [cleanup] removed redundancy 2018-07-02 13:34:30 +02:00
Darius Arnold
86419220e2 Minor changes in autopick.py 2018-06-29 15:57:58 +02:00
Darius Arnold
68b2917e7f Refactor quality control of initial pick into own function 2018-06-29 15:56:32 +02:00
Darius Arnold
d4e279aeba Refactor taupy usage 2018-06-29 14:21:03 +02:00
2c07dd63b8 [bugfix] save Event before tarting tuneAutopicker (else source information might not be accessible to autoPyLoT) 2018-06-29 14:19:09 +02:00
22e5de194e [bugfix] array map only checking for manual picks 2018-06-29 13:55:42 +02:00
9b63c1bb24 [bugfix] taupy phases lost on plot refresh 2018-06-29 10:13:58 +02:00
4cb3f72ba8 [bugfixes] location/magnitude w ludger 2018-06-28 15:22:40 +02:00
4ed8e54822 Merge branch 'develop' of ariadne:/data/git/pylot into develop 2018-06-27 14:21:35 +02:00
8ae0449c01 [new] metadata class (WIP) 2018-06-27 14:21:20 +02:00
19f943627a [bugfixes] autopylot 2018-06-26 17:07:38 +02:00
Ludger Küperkoch
4d1c3985f4 [Bugfix] Input argument iplot was fixed to 1. 2018-06-26 12:25:03 +02:00
Ludger Küperkoch
f43478d0c0 Consistent calculation of SNR, using maximum (not mean) of signal window, more stable! 2018-06-26 11:58:08 +02:00
Ludger Küperkoch
88ddbc1efc [Bugfix] Time array improper calculated (rounding errors?) 2018-06-26 10:51:39 +02:00
Ludger Küperkoch
8487d696c6 Cosmetics 2018-06-25 15:59:52 +02:00
Ludger Küperkoch
3845e7291e Relaxed condition for slope determination, plot interims results even if picking failed. 2018-06-25 15:56:15 +02:00
Ludger Küperkoch
d4b76bdecb Cosmetics 2018-06-25 15:31:58 +02:00
Ludger Küperkoch
7d175a4bc9 Accidently screen output got lost. 2018-06-25 15:30:10 +02:00
Ludger Küperkoch
b18298c4db Additional screen output of derived onset time, [Bugfix] Use of argrelmax not reliable. 2018-06-25 15:24:36 +02:00
77b4458ab5 [idea] change read_metadata to also read files without specific file ending 2018-06-25 14:22:14 +02:00
Ludger Küperkoch
b607da7262 [Bugfix] it was not sure that enough waveform remains for processing after cutting with improper cut times 2018-06-25 10:30:36 +02:00
34508fc4a3 [bugfix] addressing PyLoTCanvas already deleted
setParent(None) -> del(widget), not fully working on autopickwidget
2018-06-21 15:04:58 +02:00
1b5f58bbbd [minor] prefer processed data on init 2018-06-21 14:24:15 +02:00
2a8efd0904 [bugfix] autoPyLoT <-> obspyDMT 2018-06-21 13:24:24 +02:00
7ad36c2305 [bugfix] take width of mainwindow for min/max plot estimation
before width was only 80px for initial plot
2018-06-20 13:55:59 +02:00
910ed66676 [new] only load relevant waveforms into TAP widget 2018-06-20 13:49:27 +02:00
08124174b1 [update] autopicker - obspyDMT (WIP) 2018-06-20 11:47:10 +02:00
Darius Arnold
fe1e76f53a Add correct way to put picking results even when picking fails, now passing all tests 2018-06-19 19:55:09 +02:00
Darius Arnold
f4750472c7 Change PickingResults to inherit from dict and add dot access methods 2018-06-19 19:44:26 +02:00
Darius Arnold
675052975a Add finish_picking which transfers all results into the correct format in PickingResults
This function is called whether picking succeeded or failed. If it failed, it will put the default initialized values into the result. If picking succeeded, the default values will have been overwritten with the results during picking.
2018-06-19 19:38:13 +02:00
Darius Arnold
e3f7840d9e Add S phase picking 2018-06-19 19:38:12 +02:00
Darius Arnold
d4033eca08 Add converting fig_dict and iplot to the correct types 2018-06-19 19:33:22 +02:00
Darius Arnold
5b5da2e40d Move Trace Extraction to __init__ and copy over existing hor. trace if one is missing 2018-06-19 18:42:32 +02:00
Darius Arnold
7b6f64b46a Bugfixes/typos fixed during picking 2018-06-19 11:39:00 +02:00
Darius Arnold
335f3c4150 Replace access to trace over Stream index by direct access to trace attribute 2018-06-19 11:36:30 +02:00
Darius Arnold
0a1d15c429 Add PickingFailedException 2018-06-19 11:26:42 +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
7c0de44974 [update] array_map legend inaxes, add lat/lon status, some fixes and improvements 2018-06-15 14:49:26 +02:00
0168d8923d [minor] tighten PyLoT tabs layouts 2018-06-14 16:26:26 +02:00
46a6cdcc00 [bugfix] remove autopicks weight>3 2018-06-14 15:50:44 +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
5e161d308a [bugfix] trying to access station not in autopicks dictionary 2018-06-05 15:11:43 +02:00
d695c0016a [bugfix] delete_later not caused tuneAutoPicker to malfunction 2018-06-05 15:06:33 +02:00
d57c193a0b Merge branch 'feature/obspy_dmt_interface' into develop 2018-06-05 13:48:53 +02:00
Darius Arnold
629bae63e2 [bugfix] wrong variable used during calculating length of waveform 2018-05-29 23:51:09 +02:00
Darius Arnold
b0749e0ddc remove all usage of checkwindowP/S and minfactorP/S
Those changes have their own branch now, the parameters were not used during picking on this branch.
2018-05-29 21:28:32 +02:00
Darius Arnold
8d931fa97a [refactor] remove unnecessary if/else for earllatepicker 2018-05-29 21:27:11 +02:00
Darius Arnold
ec9bce97ee [refactor] use existing functions to avoid repetition in autopickstation
DRY
2018-05-29 19:20:59 +02:00
Darius Arnold
b93407012e [refactor] remove positional None argument in AICPicker instantiation
Instead use keyword arguments
2018-05-29 19:18:36 +02:00
Darius Arnold
1ffe4dcbb2 [minor] correct typos, add to docs, remove unnecessary parentheses 2018-05-29 19:14:41 +02:00
Darius Arnold
a68cb9b0b7 [add] transfer P picking routine to new function 2018-05-29 19:08:06 +02:00
Darius Arnold
628f335b34 [refactor] get_quality_class uses generator expression
Can handy any size of list for weight_classes now
2018-05-29 19:02:58 +02:00
Darius Arnold
c38e3eb07a [refactor] rename getQualityFromUncertainty function to be more pythonic 2018-05-29 18:53:38 +02:00
Darius Arnold
2d850b70db Merge branch 'develop' into feature/refactor 2018-05-29 18:28:24 +02:00
Darius Arnold
756b5d67da [bugfix] getQualityFromUncertainty giving worst quality for uncertainty values between two classes
Now the quality classes are exclusive lower bound and inclusive upper bound.
2018-05-29 18:27:15 +02:00
Darius Arnold
0230f0bf2e Add object based approach to autopickstation: preparing traces, modifying cuttimes with taupy 2018-05-25 17:59:30 +02:00
Darius Arnold
9b787ac4e8 Add functions for splitting and preparing wfstream 2018-05-25 17:55:00 +02:00
Darius Arnold
02b7fae3df Minor formatting and docstring changes 2018-05-25 17:50:45 +02:00
Darius Arnold
15722c436e Merge remote-tracking branch 'origin/develop' into feature/refactor 2018-05-25 17:14:02 +02:00
Darius Arnold
b220059e5b Move use_taupy and taupy_model from s_parameters to p_parameters 2018-05-25 12:28:15 +02:00
f49d323c13 [add] no data label 2018-04-27 10:45:20 +02:00
65f0d23f07 [revert] changes not working due to Thread 2018-04-26 16:37:57 +02:00
2554f6ca7e [new] dont show plot if no data 2018-04-26 16:32:05 +02:00
3d1d97dd26 Merge branch 'develop' into feature/obspy_dmt_interface 2018-04-26 15:01:29 +02:00
b02a0e8f9a [bugfix] os.getlogin not working on all OS/python versions 2018-04-26 15:00:40 +02:00
4c42d34adc [bugfix] check for time_ax not working this way 2018-04-26 14:52:17 +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
e6648a3cec [add] read event info from obsDMT pickle file 2018-04-23 16:49:01 +02:00
36a4f0df8a [bugfix] error when there is nothing to plot 2018-04-23 13:33:05 +02:00
9b0ef55b70 [bugfix] wasnt using processed data 2018-04-20 13:51:21 +02:00
4d3b300e17 [removed] check4gaps/doubled, plotting merged instead 2018-04-19 17:03:11 +02:00
a876384338 [add] info for user on min/max plot 2018-04-19 13:38:17 +02:00
964aa9ce6c [change] set downsampling to false again (creating errors when plotting
picks)
2018-04-18 16:46:21 +02:00
af54cb0d4b [add] auto set plotmethod 'fast' for large dataset 2018-04-18 16:44:33 +02:00
726210daeb [add] plot-method = 'fast' for min/max plot 2018-04-18 16:21:27 +02:00
e72111a6fb [add] obspy-like min/max function, removed testing area 2018-04-18 16:17:54 +02:00
5fcb07e647 [change] prepTimeAxis using linspace (is that ok?) 2018-04-18 16:17:16 +02:00
Darius Arnold
0366181532 [refactor] picking parameters into dictionaries 2018-04-17 11:53:47 +02:00
ba37d587a6 [update] testing min/max plot (WIP) 2018-04-13 10:56:52 +02:00
Darius Arnold
1edc745903 Merge branch 'develop' into feature/refactor 2018-04-06 13:53:04 +02:00
4cf785a135 [add] synthetic data plot (not yet flexible) 2018-04-05 15:33:40 +02:00
f3627033b1 [bugfix] auto downsampling not working 2018-04-05 15:06:23 +02:00
bd086e6cd4 Merge branch 'develop' into feature/obspy_dmt_interface 2018-04-04 15:20:30 +02:00
a201b99c2e [bugfix] closes #256, not asking for filteroptions if no filterphase 2018-04-04 15:17:55 +02:00
889628ceee [remove] RELEASE VERSION!!! 2018-04-04 15:17:55 +02:00
366db9aef0 [initial] first changes to supply an interface to an obspyDMT database 2018-04-04 14:57:54 +02:00
8f5292b957 [minor] added Error if phase can not be identified 2018-03-28 10:24:24 +02:00
4002ccfd1a [bugfix] pickdlg not deleted, consuming tons of memory 2018-03-28 10:24:24 +02:00
Darius Arnold
aba1a16f98 Merge branch 'feature/parameter_limits' into develop 2018-03-19 11:44:22 +01:00
Darius Arnold
8f78b6d8c8 [Add] Parameters clamped according to min/max values in default_parameters 2018-03-07 14:24:41 +01:00
Darius Arnold
a44ada9938 [minor] correct misspelling in min value key in default_parameters 2018-03-07 14:23:36 +01:00
Darius Arnold
ef8c19b747 Merge branch 'develop' into feature/parameter_limits 2018-03-07 11:16:37 +01:00
f9203d92e8 [bugfix] tuneAutopicker not working without 'P' and 'S' in picks 2018-03-05 17:49:40 +01: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
4918448d92 [bugfix] some fixes on hovering/renaming picks 2018-02-23 10:37:23 +01:00
9e74ff04c2 [add] linear detrend for manual picking... 2018-02-22 16:31:01 +01:00
39b925f475 [bugfix] init of Filteroptions class not working with kwargs 2018-02-22 16:26:46 +01:00
b076ee90fa [add] cb for overwriteFilter, else filter automatically again 2018-02-22 16:03:11 +01:00
bff888c98a [bugfix] emitted signal disturbing reset feature 2018-02-22 11:33:14 +01:00
2e5ed974f0 [bugfix] filteroptions were not loaded from project 2018-02-22 11:28:46 +01:00
08b3c70497 [add] labels auto/manu 2018-02-22 11:16:56 +01:00
69955ff439 [add] reset (to auto settings) button 2018-02-22 10:51:26 +01:00
fa46385a52 [add] color representation of auto filter values 2018-02-22 10:05:57 +01:00
144ecda61e Merge branch 'feature/additional_channel_display' into develop 2018-02-21 13:39:49 +01:00
ff65fd2290 [minor] some updates 2018-02-21 13:36:43 +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
Ludger Küperkoch
dc6c6445a9 Default for input parameter iplot. 2018-01-30 11:11:57 +01:00
Ludger Küperkoch
1b85625643 [Bugfix] Two times "def calPick(self)" (accidently?). 2018-01-30 10:06:22 +01:00
Ludger Küperkoch
af393d5118 Take into account that dip/azimut might be 0 when not available. 2018-01-25 11:34:37 +01:00
819e4d7076 [bugfix] skip unknown channels for everything but comparison option 2018-01-17 16:38:11 +01:00
60a2863629 [bugfix] copy/paste failure 2018-01-17 16:28:50 +01:00
c6cd6b2d69 [bugfix] use filter selected for ini pick not auto, save this filteropt. 2018-01-17 12:19:32 +01:00
0e057af39b [cleanup] simplifaction of setIniPickP/S functions, merge into one 2018-01-17 12:04:07 +01:00
473529961e [update] EVERY trace now scaled relative to its own noiselevel 2018-01-17 11:47:52 +01:00
d2437b5014 Merge branch 'develop' into feature/additional_channel_display 2018-01-17 10:31:40 +01:00
97de485c99 [bugfix] case pg=False: internal change of pylot canvas updated 2018-01-17 10:30:38 +01:00
98f7ff8406 [update] resetZoom after picking 2018-01-16 16:17:18 +01:00
f4632ac1f5 [update] enable/disable comboboxes in pick mode 2018-01-16 16:10:47 +01:00
c520c7c212 [new] HUGE rearrangement of initial pick behavior (untested)
- zooms on selected channels after initial pick
- ylims not relying on noiselevel anymore (better overview and not possible with more than one phase),
xlims now based on mean snr of all selected channels for initial pick instead of snr of one 'random' channel
2018-01-16 16:06:24 +01:00
ec394d447d [new] choose channels to pick on for each phase 2018-01-16 13:33:12 +01:00
a22e64889d [add] scaling by channel (untested) 2018-01-15 16:35:19 +01:00
4835c0ca8a [change] possible to select one of all available channels for comparison 2018-01-15 15:29:46 +01:00
975bd64266 Merge branch 'develop' into feature/additional_channel_display 2018-01-15 14:43:26 +01:00
de8886b73b [update] leave rename phase mode when picking initiated 2018-01-15 14:37:07 +01:00
f4839bb609 [bugfix] too many arguments in function (outdated) 2018-01-15 14:31:42 +01:00
5b5902a329 [update] keep filter corresponding to phase when refreshing plot 2018-01-15 14:28:08 +01:00
1c51ed12fc [bugfix] missing paranthesis 2018-01-15 14:21:10 +01:00
49de0fb22e [add] Hotkey for renaming 2018-01-15 14:20:48 +01:00