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
47d6aeabff
[minor] used event highlighting of eventlist also for eventbox
2018-06-19 11:28:41 +02:00
Darius Arnold
0a1d15c429
Add PickingFailedException
2018-06-19 11:26:42 +02:00
Darius Arnold
accb3c5d51
Add unittests for PickingResults
2018-06-19 11:20:57 +02:00
Darius Arnold
075b6e26c7
Modify test assertion to use DictContainsSubset and look at P and S seperately
...
With AssertDictContainsSubset the resulting dict from the new code can have more key/value pairs than the one from the old code, but all key/value pairs that are in the results from the old code must exist and be the same.
2018-06-19 11:19:49 +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
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
9b5fe3baba
[bugfix] saving xml when tuning autopicker unnecessary (and caused id mismatch)
2018-06-05 15:07:06 +02:00
d695c0016a
[bugfix] delete_later not caused tuneAutoPicker to malfunction
2018-06-05 15:06:33 +02:00
cbba41f16a
[bugfix] autoPickWidget not enabled again after Error
2018-06-05 14:24:00 +02:00
d57c193a0b
Merge branch 'feature/obspy_dmt_interface' into develop
2018-06-05 13:48:53 +02:00
20eb54e9c5
[minor] gitignore modification
2018-06-05 13:47:00 +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
58191e2d8f
[add] test for dot access in PickingParameter object
2018-05-29 19:04:51 +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
7910df3cc9
[add] tests for getQualityFromUncertainty function
...
Testing uncertainty in classes, between classes and outside of upper/lower bound of quality classes
2018-05-29 18:43:59 +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
82c0b7837c
Add tests for creating of PickingParameters object from *args and **kwargs
2018-05-25 18:00:06 +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
Darius Arnold
455733ea19
[Add] Unittest for autopickstation function picking with and without taupy
2018-05-22 19:21:29 +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