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
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
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
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
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
18926610cf
[add] colorized table
2018-04-26 16:19:12 +02:00
b02a0e8f9a
[bugfix] os.getlogin not working on all OS/python versions
2018-04-26 15:00:40 +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
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
349715d13c
[removed] nth_sample dialog
2018-04-18 16:21:57 +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
f0b6897053
[bugfix] identity check of np.array
2018-04-18 16:01:39 +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