e68b634f25
[new] event modification status saved with "dirty" attribute, only save event-XML when modified
2018-07-31 09:41:48 +02:00
cc9ae9c146
[bugfix] empty picks dictionary leading to KeyError
2018-07-31 09:24:43 +02:00
Darius Arnold
7bbcb489bf
[refactor] add current_figure attribute
...
This instance attribute holds the current figure,which removes the need for an external function to extract the correct figure from the fig_dict and the need to pass the figure into instance methods (it can now be directly accessed by the attribute).
2018-07-30 14:28:21 +02:00
Darius Arnold
97458b5b42
[minor] small code changes
2018-07-30 14:08:49 +02:00
Darius Arnold
b4316ae717
[refactor] improving S pick code by extracting functions
2018-07-30 13:36:09 +02:00
Darius Arnold
c89e47ac43
[change] Extract function that calculates cuttimes
2018-07-30 12:43:56 +02:00
Darius Arnold
da2b1ed133
[change] Enable picking on traces with only one vertical component
...
Only the P pick will be calculated
2018-07-30 12:03:33 +02:00
db9a1371b1
[bugfix] closes #223
2018-07-25 15:16:14 +02:00
bf5c371459
[bugfix] various bugfixes originating from changes (more picks) in dictionary (refs #233 refs #234 )
2018-07-25 14:05:15 +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
37e2e39f3a
Merge branch 'develop' into feature/metadata_class
2018-07-24 14:36:22 +02:00
62287df1b4
[minor] removed "None" from filteroptions
2018-07-24 14:16:24 +02:00
b3524c562d
[bugfix] closes #260 checking for filtertype first
2018-07-24 14:15:32 +02:00
9e75f8d4f2
[bugfix] closes #255 filtering should work as intended now
2018-07-24 13:54:40 +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
Darius Arnold
7fe5d0f7a3
[remove] Redundant checks for missing waveform data
...
Missing waveform data is now handled before picking starts, so it is not necessary to check during picking.
2018-07-20 14:50:27 +02:00
Darius Arnold
61b14dc770
[change] Create clean PickingResults instance with only required values
...
During picking, intermediary values were saved in p_results or s_results PickingResults instance.
Additionally the PickingResults class contained members that were only used during picking but not when returning the results, thus wasting space after picking, because they stayed in the instance.
Now autopickstation generates a clean PickingResults containing only the members that are expected in the results.
2018-07-20 14:49:10 +02:00
Darius Arnold
153beff663
[add] tests for picking with missing trace in stream
2018-07-20 13:02:57 +02:00
Darius Arnold
318ca25ef8
[add] handling missing traces
...
either a missing vertical or missing both vertical traces in the wfstream will fail picking and return None. This is the same behaviour as before refactoring.
2018-07-20 13:00:19 +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
17c27f9294
[bugfix] add time to metadata.get_coordinates in check4rotated
2018-07-18 11:38:33 +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
c172cfa892
Merge branch 'develop' into feature/metadata_class
2018-07-17 14:51:24 +02:00
1fc62a5e9d
[bugfix] add trace starttime to metadata.get_coordinates call
2018-07-17 14:49:37 +02:00
cf34c9465c
[minor] cosmetics
2018-07-17 14:49:37 +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
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
663d244f70
[cleanup] removed some parentheses
2018-07-17 14:49:35 +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
b22d04db47
[cleanup] replace equality by "is"
2018-07-17 14:45:50 +02:00
0e70520a78
[bugfix] Spick quality check doing random stuff caused by copy paste errors
2018-07-17 14:45:48 +02:00
a9636caf73
[bugfix] picks for S and P were deleted when wadati check failed
2018-07-17 14:44:31 +02:00
Darius Arnold
27f5a0d50c
[remove] unused function, check was moved to init method
...
In the init method of autopickstation the N trace will be copied to the E trace or reversed if one of them is missing, so checking for it during S picking has become redundant.
2018-07-17 14:01:23 +02:00
Darius Arnold
85b34177c4
[add] default values for parameters of AutoPickStation init method
2018-07-17 13:59:46 +02:00
Darius Arnold
775d3de46c
Change whitespace, add comments/documentation
2018-07-17 13:59:13 +02:00
Darius Arnold
6d26338f2e
Decrease indentation in pick_s_phase
...
Instead of checking if(condition){DoSomething()}; check if (!condition){ErrorOut()}; DoSomething();.
This allows to decrease the indentation of the potentially large codeblock DoSomething().
2018-07-17 13:56:25 +02:00
Darius Arnold
6ae5a213d1
[update] Metadata docstrings improved
2018-07-13 23:10:47 +02:00
Darius Arnold
2c92f6f2fd
Merge branch 'develop' into feature/refactor
2018-07-13 09:28:50 +02:00
3b52b7a28f
[bugfix] fixed some bugs resulting from restructuring of serial/parallel picking
2018-07-12 15:56:34 +02:00
9f1672d793
[hotfix] something went wrong trying to merge/rebase develop
2018-07-12 14:17:06 +02:00
319343499b
[bugfix] parallel picking called accidently
2018-07-12 14:14:22 +02:00
d360d9db92
[bugfix] raise Exception if no Z-component is found for Magnitude calculation
2018-07-12 14:13:34 +02:00