Commit Graph

312 Commits

Author SHA1 Message Date
9a4677c794 bugfix: deleted default value for suffix 2015-05-20 10:33:59 +02:00
5f8b6de1ec bugfix: method hasParam did not return any value 2015-05-20 10:23:47 +02:00
5badf2ba34 implementation of different data structure type handling 2015-05-20 09:38:25 +02:00
56a0563709 implementation of PilotDataStructure as subclass to GenericDataStructure 2015-05-18 13:12:12 +02:00
f177901883 rearranging methods to provide a superclass to all other structure classes 2015-05-11 13:41:08 +02:00
7cab62b97e release version committed to avoid conflicting files while update 2015-05-04 12:05:14 +02:00
367610d032 made AutoPickParameter class more flexible in reading and handling parameters; export routine defined: exports in the new autoPyLoT.in format (see docstring) 2015-05-04 05:25:40 +02:00
426c2d0d4c TODO: restructuring the datastructure classes; suggestion: write a Superclass GenericDataStructure which is than inherited by PilotDataStructure and SeiscompDataStructure 2015-04-29 07:57:52 +02:00
0760c2fe3a introducing new attribute __name to the datastructure objects. Used in autoPyLoT to distinguish between structure types. 2015-04-29 06:29:08 +02:00
ca8081b7aa debugging: return the exception text whenever an error occurs - makes debugging much easier 2015-04-22 12:38:10 +02:00
58aad840c8 task: read also old autoPILOT parameter files 2015-04-22 12:22:34 +02:00
4b641f1b3c reversed polarity in picking mode 2015-04-21 08:21:59 +02:00
463535f01a improved flexibility of the GUI actions (Matplotlib) implementation 2015-04-21 08:16:32 +02:00
bb84e27e54 implemented a much faster calculation of the zero crossing beside an average calculation over the whole signal window of the dominant period 2015-04-21 08:14:26 +02:00
4d268da435 suppress output of earllatepicker 2015-04-13 09:52:45 +02:00
7816e6342f zooming for 3-component window changed now zooming is done by using the mouse wheel
bugfix: calculation of the snr corrected
2015-04-13 09:42:17 +02:00
67dd66535a bugfix: zooming with scroll wheel now working properly
task: panning now available while in exploration mode, if a phase is selected initial pick can be set and afterwards the onset itself (procedure questionable as two picks are needed)
panning not tested yet!
2015-04-09 08:49:11 +02:00
d21798f633 test pickingdialog and prepare figures for the poster 2015-04-07 15:00:00 +02:00
043c45e02c bugfix: undo filtering when checkbox is unchecked
code improvement: class PickDlg -> distinguish between setting the initial pick (for zooming) and setting the actual pick (phase onset); methods renamed -> setPick is now setIniPick and plotPick became setPick
2015-04-06 11:42:21 +02:00
b243be8075 task: implementation of picking (work in progress) 2015-04-02 18:48:06 +02:00
e35d6b9371 bugfix: modified icon management and corrected usage of references 2015-04-02 18:36:21 +02:00
0824026159 standalone python files now import definitions from module pylot.core.pick.utils and parse arguments when called from shell (deleted "if __name__ == '__main__' :" clauses from the module) 2015-04-02 15:45:38 +02:00
Ludger Küperkoch
f6f1c9cf2f Modified to handle new module utils. 2015-03-30 16:25:04 +02:00
Ludger Küperkoch
a015b0c90d New functions in module: getnoisewin and getsignalwin to extract noise and signal parts. 2015-03-30 16:22:20 +02:00
Ludger Küperkoch
e8aa9de060 Modified to handle new module utils.py. 2015-03-30 16:20:41 +02:00
Ludger Küperkoch
1cdda3652f New module containing some helpful functions, replaces getSNR, fmpicker, and earllatepicker. 2015-03-30 14:35:21 +02:00
Ludger Küperkoch
bebe3a3c45 Cleaned up source code, debuged: calculates now T/4 instead of T/8 out of zero crossings. 2015-03-30 14:18:19 +02:00
Ludger Küperkoch
0ad7e629ce Marginal changes only. 2015-03-30 10:59:27 +02:00
Ludger Küperkoch
45eb138717 New function to derive SNR, returns SNR and SNR[dB]. 2015-03-30 10:58:24 +02:00
5b52f718fe mutable default arguments may cause problems as unexpected default behavior 2015-03-30 06:04:24 +02:00
814906ef65 module restructured: beginning with general utils followed by utils concerning obspy event creation 2015-03-30 05:55:54 +02:00
27ecdb899b plotting scheme restructured: the same widgets are used for plotting the overview and the station plots, the plotting method has been moved to the widget side which makes more sense than having it on the data side;
new functions in utils module: prepTimeAxis returns a proper time axis array for a given start time and an obspy trace; getGlobalTimes returns the minimum start time and the maximum end time (edges) of a given obspy stream object
2015-03-29 08:07:46 +02:00
Ludger Küperkoch
dc78abed09 Modified to handle new function fmpicker. 2015-03-19 14:36:56 +01:00
Ludger Küperkoch
a606b030e2 New function to derive automatically first motion (polarity) of phase onset based on zero crossings and slope determination. 2015-03-19 14:32:50 +01:00
Ludger Küperkoch
787cac7d68 Removed class EarlLatePicker, replaced by new function earllatepicker. 2015-03-18 14:45:49 +01:00
Ludger Küperkoch
16ae4bdfe9 Modified for using new function earllatepicker instead of removed class EarlLatePicker of object Picker. 2015-03-18 14:45:08 +01:00
Ludger Küperkoch
8ba34db05c New function to calculate earliest and latest possible pick from a given initial (most likely) pick. Replaces class EarlLatePicker of object Picker. 2015-03-18 14:44:08 +01:00
Ludger Küperkoch
49a248d139 Debuged AICPicker: Now values equal zero are removed from CF to avoid numerical instabilities. 2015-03-12 15:45:54 +01:00
474622027e now the station selection works fine and a picking window is opened when the waveform has been clicked 2015-03-12 13:59:29 +01:00
a0bbe8ca04 trying to get the picking of plot coordinates working (pending for poster preparation) 2015-03-11 12:05:52 +01:00
Ludger Küperkoch
486449fbb5 Debuged EarLatePicker noise level exceedance part. 2015-03-11 12:01:06 +01:00
Ludger Küperkoch
85f0445e6b Stabilized AICPicker: if no minimum was found, try 1st derivative of AIC-CF. 2015-03-10 16:48:48 +01:00
Ludger Küperkoch
ea68b38f7e Stabilized AICPicker by introducing 1st derivative of CF to find global maximum. 2015-03-10 16:18:32 +01:00
Ludger Küperkoch
380cccdf16 New attribute getPickError in class EarlLatePicker to derive symmetric picking error out of earliest and latest possible and most probable pick. 2015-03-09 16:14:03 +01:00
Ludger Küperkoch
a3fb4770c6 Modified to apply and show symmetric picking error derived from EarlLatePicker.py with new attribute getPickError. 2015-03-09 16:11:52 +01:00
c7aeb1959b implement picking window and station selection (tests pending due to not working station selection so far) 2015-03-09 11:21:33 +01:00
54916fa421 Merge branch 'filter-handling' into develop
Conflicts:
	pylot/core/util/widgets.py
2015-03-06 09:14:51 +01:00
78b41f3d57 initialization of a picking window (work doubled due to system crash before commit) 2015-03-06 09:05:52 +01:00
Sebastian Wehling
e321ad26b2 make creating new event work 2015-03-06 09:03:04 +01:00
Sebastian Wehling
a86a2efb8a debugging in progress (filter waveform not working) 2015-03-05 14:52:34 +01:00
Sebastian Wehling
ffa58c1f89 Merge branch 'develop' of ariadne:/data/git/pylot into develop 2015-03-05 11:54:32 +01:00
Dennis Wlecklik
5fbd9d7fa9 initial import from coincidence trigger to generate coincidence triggerlists
with obspys coincidenceTrigger
2015-03-05 11:49:27 +01:00
Dennis Wlecklik
3507314955 initial git import of module trigger which introduces simple triggerlist
modification functionality
2015-03-05 11:44:38 +01:00
Ludger Küperkoch
77c87067da Different time windows for slope determination from AR- and HOS-CF. 2015-03-04 15:53:18 +01:00
Ludger Küperkoch
8f71297884 Debuged, stable slope determination of CF, modified plotting. 2015-03-04 15:52:14 +01:00
Sebastian Wehling
567ae16f1d bugfix: FilterOptionsDialog should only provide logic options 2015-03-04 15:42:08 +01:00
Ludger Küperkoch
714e70de69 Modified for improved class Picker.py 2015-03-04 13:49:02 +01:00
Ludger Küperkoch
f6922fafef Implemented quality assessment for AICPicker based on slope and SNR from CF. New attributes getSNR and getSlope. 2015-03-04 13:45:29 +01:00
Sebastian Wehling
cc2d823272 user interface setup for picking dialog added 2015-03-04 11:54:56 +01:00
Sebastian Wehling
0ceba15118 corrected MatLab code remnant semicolon 2015-03-04 11:53:15 +01:00
Sebastian Wehling
0dbcca1c6f moved function createAction to the widgets module (reused in additional widget)
bugfix: on Linux systems os.getlogin raises an exception (reimplementation: getLogin)
2015-03-04 11:52:04 +01:00
b23c9d1104 initialized new widget and window for picking (work in progress) 2015-03-01 19:59:41 +01:00
addb8ae815 try to make filtering work 2015-03-01 19:59:41 +01:00
Ludger Küperkoch
b953377c58 Major changes: 1) Implemented new class EarlLatePicker for calculating earliest and lates possible pick from initial (most likely) onset, based on cook book for consistent phase picking by Diehl & Kissling 2) Modified AICPicker, uses now unsmoothed and smoothed CF for not sticking in some local minima 3) Implemented optional plotting of interims results 2015-02-25 10:07:16 +01:00
Ludger Küperkoch
4a48874f88 Debuged and cleaned source code 2015-02-25 09:59:59 +01:00
Ludger Küperkoch
1966a2b612 Extended for applying new class EarlLatePicker and for plotting earliest and lates possible picks 2015-02-25 09:56:23 +01:00
Ludger Küperkoch
3556a2becc Changed index for AR-CF calculation, no more shift in getTimeArray needed. 2015-02-24 09:08:38 +01:00
Ludger Küperkoch
acd8f70369 AR-CFs now have same sampling rate as raw seismograms, new attribute getXCF 2015-02-23 15:42:35 +01:00
Ludger Küperkoch
16c07da6e4 Merge branch 'develop' of ariadne.geophysik.rub.de:/data/git/pylot into develop 2015-02-23 15:06:22 +01:00
Ludger Küperkoch
125728f2b1 Closes Ticket #143, uses now None instead of -1 2015-02-23 15:04:39 +01:00
4184fcffdc make waveform filtering work (in progress) 2015-02-20 08:38:26 +01:00
7dd1519f83 use similar method names for similar types of methods (e.g. xWFData for all methods connected to waveform data) 2015-02-20 08:35:26 +01:00
5496b2deaa bugfix: use get and set methods instead of directly changes values of attributes 2015-02-20 08:28:24 +01:00
757a6d784b better use call to the classes method then returning a value 2015-02-18 15:35:54 +01:00
cdb8af56b3 bugfix: avoid empty parts of the data display 2015-02-18 15:35:12 +01:00
abbe9cb2c4 bugfix: missed to call get method before trying to fetch an item 2015-02-18 15:34:21 +01:00
693362a278 normalize waveform data to avoid overlapping 2015-02-18 15:32:37 +01:00
dd360bd9cc code clean up 2015-02-18 15:32:01 +01:00
1878b887f6 give information on files which could not be read and thus not be attended to the waveform container 2015-02-18 15:31:35 +01:00
d15441900e bugfixes in order to make the GUI work 2015-02-17 13:17:01 +01:00
091ab23b90 version string changed for testing reasons 2015-02-16 10:32:19 +01:00
fa6db084b8 Data object restructured for convenience; fixed problems in the class logic; restructured imports 2015-02-16 10:30:35 +01:00
be0bf20382 cross-correlation analysis 2015-02-16 07:01:41 +01:00
d32b401508 changed due to testing 2015-02-13 11:36:44 +01:00
759697add8 problem with the creation of a valid resource identifier fixed (still problematic, see #145) 2015-02-13 11:36:09 +01:00
c35eea4588 several bugfixes for the read routine for PILOT event data (testing not yet completed, see also tickets #145 and #146) 2015-02-13 11:35:00 +01:00
1b86d3bfa4 nothing changed 2015-02-13 11:32:00 +01:00
cdd24e23fb added missing method for GenericDataStructure 2015-02-13 11:31:20 +01:00
e66e0701a4 catching a problem with sloppy formatted GSE data 2015-02-13 11:30:45 +01:00
47f0fcb030 corrected wrong logic of the routine 2015-02-13 11:29:32 +01:00
6a59bee73d the call to the parents method makes no sense - deleted; typo corrected 2015-02-13 11:28:58 +01:00
903e87e1e1 usage of DATASTRUCTURE modified 2015-02-13 11:13:21 +01:00
b07f1b5b78 picks.py deleted new classes are not needed; ~obspy.core.event.Pick object used instead 2015-02-11 13:11:12 +01:00
bec1ee1716 new function added: createAmplitude - routine for convenient ~obspy.core.event.Amplitude object creation 2015-02-11 08:19:13 +01:00
d5c9ad41be Merge branch 'develop' of 134.147.164.251:/data/git/pylot into develop
Conflicts:
	pylot/core/util/utils.py
2015-02-10 13:17:46 +01:00
46a20a10e6 new functions added for event creation purposes:
getHash - returns a hash string from an UTCDateTime object
	createResourceID - returns a valid PyLoT resourceID for arbitrary types of event data
	createOrigin - returns an ObsPy Origin object (work in progress)
	createEvent - returns an ObsPy Event object (work in progress)
	createPick - returns an ObsPy Pick object (work in progress)
	createArrival - returns an ObsPy Arrival object (work in progress)
	createMagnitude - returns an ObsPy Magnitude object (work in progress)
	createAmplitude - returns an ObsPy Amplitude object (work in progress)
testing should be carried out as a next step
2015-02-10 13:12:04 +01:00
c88ba18d2f new functions added for event creation purposes:
getHash - returns a hash string from an UTCDateTime object
	createResourceID - returns a valid PyLoT resourceID for arbitrary types of event data
	createOrigin - returns an ObsPy Origin object (work in progress)
	createEvent - returns an ObsPy Event object (work in progress)
	createPick - returns an ObsPy Pick object (work in progress)
	createArrival - returns an ObsPy Arrival object (work in progress)
2015-02-09 13:24:55 +01:00
f6bf37c920 new package io.py which should contain all import and export routines written by ourselves, such as reading old PILOT phase and location information file; implementation of the readPILOTevent function; new routines in utils: createArrival will be split into two functions: createPick and createArrival; also planned: createOrigin, createAmplitude and createMagnitude as well as giving createEvent functionality 2015-02-07 09:12:58 +01:00
d3199a5798 implementation of reading and plotting seismograms (work in progress) 2015-02-07 09:05:08 +01:00
401c09d0b4 added new methods to the MPLWidget class to control the axes labels 2015-02-04 14:49:49 +01:00