Commit Graph

735 Commits

Author SHA1 Message Date
Marcel Paffrath
2308695fa8 Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop 2015-09-30 13:55:01 +02:00
Marcel Paffrath
3473ce732c changed structure -> all FMTOMO to vtk functions to one module 2015-09-30 13:06:51 +02:00
Ludger Küperkoch
708f0a1f1a Some cosmetics on DCfc of class magnitude. 2015-09-29 14:55:15 +02:00
Ludger Küperkoch
f4b905c2e6 Removed inserted plot command for debugging purposes. 2015-09-29 11:19:25 +02:00
Ludger Küperkoch
ce57f184e7 In order to calculate DC value and corner frequency of source spectrum a synthetic spectrum is calculated and optimized using scipys curve_fit. 2015-09-29 11:17:47 +02:00
Ludger Küperkoch
8035903fa5 Zero crossings are calculated to derive only P pulse for calculating source spectrum. 2015-09-29 11:15:51 +02:00
Marcel Paffrath
5b8e2da59e *** empty log message *** 2015-09-28 12:24:28 +02:00
Marcel Paffrath
48c889129a Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop 2015-09-28 12:22:09 +02:00
4bd92565b9 reformat code (fix indentation and python 3.x issues) 2015-09-28 10:57:48 +02:00
Marcel Paffrath
fd3d4cc476 -> import numpy 2015-09-28 10:23:41 +02:00
Marcel Paffrath
f7878cdb4a implemented vgrids2VTK to surveyUtils 2015-09-28 10:20:26 +02:00
3dc9bb3d06 some pick plotting issues solved; replotting main window if picks have been changed, otherwise just plot additional/deleted picks 2015-09-25 15:06:59 +02:00
33164d4d1f corrected for some python 3 compatibility issues; added a new delete picks button to the picking window 2015-09-25 09:03:59 +02:00
Marcel Paffrath
98df4db95d cosmetics 2015-09-24 10:14:39 +02:00
Ludger Küperkoch
b391f5e082 Modified class DCfc: calculation of fft bins after Bath. 2015-09-23 17:02:27 +02:00
Ludger Küperkoch
c790b4f353 Implemented new class DCfc. 2015-09-23 16:32:18 +02:00
Ludger Küperkoch
30ee81a39d New class DCfc of object Magnitude for calculating source spectrum and to derive DC value and corner frequency. 2015-09-23 16:31:48 +02:00
Marcel Paffrath
d38adb75b2 deleted import * from pylab 2015-09-23 14:11:24 +02:00
Marcel Paffrath
9d5b7ad5ae name change 2015-09-22 14:38:27 +02:00
Marcel Paffrath
19e4435497 name change 2015-09-22 14:36:19 +02:00
Marcel Paffrath
bb97df6179 name change 2015-09-22 14:35:04 +02:00
Marcel Paffrath
217db9bbdd [bugfix] updated EPick nan fix 2015-09-22 13:41:19 +02:00
844708bbac [hotfix] earllatepicker recursively modifies isignal to obtain zero-crossing also for low frequency onsets 2015-09-22 12:29:42 +02:00
Marcel Paffrath
dedf6eff00 Changed earllatepicker. If EPick = Nan, signal window is doubled. 2015-09-22 11:58:43 +02:00
130dc8db4e [bugfix] wrong functions import fixed 2015-09-22 10:31:37 +02:00
34d31a1aa8 Merge branch 'develop' 2015-09-18 09:54:43 +02:00
2b42583999 debugged some code fragments while trying to solve the load event data problem 2015-09-17 17:55:40 +02:00
7a47594614 debugged some code fragments while trying to solve the load event data problem 2015-09-17 17:45:10 +02:00
Marcel Paffrath
26c958b421 initial import of new modules working on active seismic data 2015-09-17 11:09:30 +02:00
Marcel Paffrath
61c7e9f417 removed stashed changes 2015-09-17 11:07:22 +02:00
Marcel Paffrath
57a9444478 commiting changes to suppress output; necessary for fast calculation in active mode 2015-09-14 11:01:23 +02:00
49cbfd92e5 Merge branch 'develop' of ariadne:/data/git/pylot into 176 2015-09-05 09:40:52 +02:00
Ludger Küperkoch
cfca52e576 Debuged slope determination [counts/s] within AICPicker. 2015-09-04 15:28:37 +02:00
4eef4d238b 176 open event failure 2015-09-04 15:01:59 +02:00
Ludger Küperkoch
0753071cfb Removed import of scipy as this is no more necessary. 2015-09-04 11:23:59 +02:00
Ludger Küperkoch
254c745f25 Marginal changes. 2015-09-04 11:19:57 +02:00
Ludger Küperkoch
23430c9d90 Modofied checksignallength: uses RMS trace of all components (if available) to check signal length. This avoids skipping of P pick, if P coda is very weak. If only vertical trace is available, rms of vertical trace is used instead with smaller required minimum signal length. 2015-09-04 11:16:34 +02:00
Ludger Küperkoch
de608798b9 Modified checking of signal length, uses RMS trace of all components now (if available). 2015-09-04 11:13:52 +02:00
Ludger Küperkoch
0dc1091078 restituteWFData: introduced return flag restflag to indicate whether restitution could be performed or not. 2015-09-04 11:12:25 +02:00
Ludger Küperkoch
ab1d27747a Some reformating. 2015-09-03 15:42:20 +02:00
Ludger Küperkoch
60b9f176f0 Cosmetics, changed print commands to keep compatibility to Python 3. 2015-09-03 14:55:25 +02:00
cc0b1e0a5b 176 open event failure 2015-09-03 13:21:46 +02:00
81b95e6a22 [addresses #167] started fixing the multiple phase saving issue 2015-09-03 09:15:31 +02:00
Ludger Küperkoch
bf1194ec3b Changed?? 2015-09-01 14:32:36 +02:00
Ludger Küperkoch
3ba57cfc56 Introduced new class DCfc for calculating the source spectrum and to derive the DC-value and the corner frquency of the source spectrum. Just at the beginning! 2015-09-01 14:32:09 +02:00
Ludger Küperkoch
258b8b1ff4 Marginal changes only. 2015-09-01 14:30:54 +02:00
Ludger Küperkoch
de5c65bc1d Wood-Anderson peak-to-peak amplitude is now calculated even if S weight is 4. At least P pick must be confident, if S weight > 3 a larger window for getting maximum peak-to-peak amplitude is used. 2015-09-01 14:25:48 +02:00
c940b092d0 Merge branch 'master' into develop 2015-08-31 13:47:22 +02:00
Ludger Küperkoch
fb3b599f50 restituteWFData: If input streams is None, a copy of streams derived by self.getWFData() is used for further processing. 2015-08-31 10:24:17 +02:00
Ludger Küperkoch
d756f5d2e1 Replaced hard coded window length for getting Wood-Anderson peak-to-peak amplitude with formerly set window length for calculating CF for S-picking. 2015-08-31 10:10:42 +02:00
Ludger Küperkoch
d0d38b81cb Removed indentation error. 2015-08-31 09:38:18 +02:00
Ludger Küperkoch
69c17f9fdb Merge branch 'develop' of ariadne.geophysik.rub.de:/data/git/pylot into develop 2015-08-31 09:02:16 +02:00
1f7049691c [addresses #167] started fixing the multiple phase saving issue 2015-08-28 16:01:42 +02:00
Ludger Küperkoch
eb592a3426 Claculation of Wood-Anderson amplitude only, if S-weight < 4. 2015-08-28 11:39:39 +02:00
Ludger Küperkoch
533ccc7b5c Implemented new class wapp to calculate Wood-Anderson amplitudes for local magnitude calculation. Before calculating Wood-Anderson amplitude the certain traces are instrument corrected. 2015-08-28 11:29:00 +02:00
Ludger Küperkoch
ef8ebc300e New object to calculate magnitude. Finished class wapp to calculate amplitude as seen on Wood-Anderson seismograph. 2015-08-28 11:27:09 +02:00
497ca39c91 reformatted data.py to meet coding conventions 2015-08-28 10:15:28 +02:00
038caf4d54 reformat code 2015-08-28 09:05:50 +02:00
6597c881a6 reformatting code 2015-08-27 15:42:51 +02:00
779b9e7313 Merge branch 'develop' of ariadne.geophysik.ruhr-uni-bochum.de:/data/git/pylot into develop
Conflicts:
	pylot/core/read/data.py
2015-08-27 15:42:01 +02:00
7785bd1900 Merge branch 'master' into develop
Conflicts:
	pylot/core/read/data.py
2015-08-27 15:28:54 +02:00
Ludger Küperkoch
ee777b4beb Removed import pdb. 2015-08-27 14:26:15 +02:00
Ludger Küperkoch
3e164fd0c6 restituteWFData: More output for user. 2015-08-27 14:24:52 +02:00
3dd65b9cc3 [addresses #167] started fixing the multiple phase saving issue 2015-08-27 12:55:34 +02:00
Ludger Küperkoch
96395f6a1a restituteWFData: searches now for keyword processing to check, whether this trace has already been corrected or not. 2015-08-27 11:40:42 +02:00
Ludger Küperkoch
845fd6a7b3 restituteWFData: able to handle several dataless-, inventory- or resp-files, calculates prefiltering from sampling rate of trace. Processing with inventory- or resp-file has yet not been checked! 2015-08-27 11:04:46 +02:00
Ludger Küperkoch
4bfe4ce047 Marginal changes. 2015-08-27 09:53:05 +02:00
Ludger Küperkoch
8af4f8ad1e Finished (temporary!) new function restitueWFData. 2015-08-26 17:00:17 +02:00
Ludger Küperkoch
def9760f4b Cosmetics. 2015-08-13 11:02:07 +02:00
Ludger Küperkoch
ceed663a77 AICPicker: if iplot > 1, figure with waveform and CF is raised, even when slope is calculation failed. 2015-08-13 10:57:46 +02:00
Ludger Küperkoch
64b8e1a9e8 checksignallength: Added more detailed information for user. 2015-08-13 10:54:17 +02:00
Ludger Küperkoch
fba2aad664 Added more detailed information for user about skipped picks. 2015-08-13 10:52:07 +02:00
Ludger Küperkoch
2668f4435c Removed unsused import-pdb command. 2015-08-13 09:01:47 +02:00
Ludger Küperkoch
4f634cc43a Debuged getDataArray: Reliable cutting of waveforms independetn from actual waveform lengths. 2015-08-12 16:48:55 +02:00
d9cb3517cc [closes #160] the picking window has now a home button for easy reset of zoom 2015-07-21 08:10:15 +02:00
0e3576d193 [closes #157] filter defaults are now read from text file like the sample filter.in coming with this commit simply copy to .pylot folder in your home directory (this is preliminary because the filter parameters should be settable project wide by one responsible person) 2015-07-21 07:41:41 +02:00
0b02e8c213 Merge branch 'export-and-save-picks' into develop 2015-07-18 16:13:37 +02:00
0b6fbd22c5 reformatting code to meet coding conventions 2015-07-18 16:13:11 +02:00
f4f744e22c export and save picks implemented successfully 2015-07-18 16:11:20 +02:00
fc86179c39 [closes #145], [addresses #146] this commit introduces the handling of picks as obspy event objects 2015-07-18 16:09:50 +02:00
17933c75f0 file format for exporting event data is controlled by the extension used; this behavior is more convenient for a GUI driven file selection 2015-07-18 15:59:42 +02:00
2115864d5c revert RELEASE-VERSION manually 2015-07-14 08:32:05 +02:00
49bf0ecd3c make the naming of the Thread self explaining 2015-07-14 08:08:02 +02:00
092852d745 fix import error on debian machine 2015-07-13 15:15:37 +02:00
8802267628 fix zooming issue after S Pick is set 2015-07-13 10:03:43 +02:00
e31890d8fc export and save picks to hard drive 2015-07-13 09:24:16 +02:00
108d6c75d6 Merge branch 'develop' of 134.147.164.251:/data/git/pylot into develop 2015-07-13 06:41:02 +02:00
da22dcce90 renaming run_autopicking to autopickstation 2015-07-13 06:40:51 +02:00
d79165a9f2 [bugfix] pick times are absolute times, thus for plotting the start time has to be subtracted 2015-07-13 06:40:10 +02:00
Ludger Küperkoch
707618c6b1 Found bug in fmpicker, copy-and-paste error. 2015-07-10 15:23:48 +02:00
ea976295d0 huge structural rearrangement to resolve circular import problems
[add] new feature added to QtPyLoT capable of automatically picking an event from overview window
2015-07-10 09:22:58 +02:00
f704d8b258 Merge branch 'develop' of 134.147.164.251:/data/git/pylot into develop 2015-07-09 11:37:11 +02:00
398a25f902 non-working commit of autoPyLoT functionality in overview window 2015-07-09 11:37:03 +02:00
120f2743d2 preparing call to autoPyLoT from QtPyLoT 2015-07-09 11:34:41 +02:00
Ludger Küperkoch
dde7d73d2a Improved text output on stdout for some control routines. 2015-07-09 09:17:10 +02:00
0236a19db1 [bugfix] the type of obspy.core.event.Event objects resource_id attribute is of type obspy.core.event.ResourceID but must be of type str; simple conversion fixed this 2015-07-08 15:00:51 +02:00
ec9840839e preserve the occurrence of the authority id in the filenames for write support of event information 2015-07-08 14:58:42 +02:00
05d38f583f corrected names for the output format to write event information on disk 2015-07-08 14:57:22 +02:00
cf944358dd removed unnecessary apply button 2015-07-07 11:23:29 +02:00
ca1b41511c draw picks from main window to the picking window 2015-07-07 11:23:01 +02:00
b8c92ed551 preparing to parse the picks to the picking window 2015-07-07 11:02:46 +02:00
b8aabfce99 implement changes proposed by deprecation warning from matplotlib 2015-07-07 10:49:42 +02:00
f99f5dbc8f unified icon set used for PyLoT in order to match the license restriction 2015-07-07 10:31:39 +02:00
Ludger Küperkoch
b5e279a318 removed fixed iplot flag. 2015-07-06 15:53:56 +02:00
Ludger Küperkoch
8463a87507 Introduced saftey factor for jackknife test to be less conservative. 2015-07-06 15:52:25 +02:00
29de650b4e reformatting code to avoid mixing up whitespace and tabulator characters 2015-07-06 10:57:34 +02:00
76f04bec6f [task] starting method to make PyLoT capable of restituting waveform data with given inventory xml files 2015-07-06 10:20:25 +02:00
a08c9e91e0 Ludger reported a Qt Problem that the MPLWidget was not recognized as an PySide.QtGui.QWidget; the problem was not reproducible on my system; maybe the problem was caused because getnoisewin is now imported from pick/utils and there matplotlib is imported for plotting reasons but to clarify the Qt backend used by matplotlib, it should not be imported before 2015-07-06 09:51:59 +02:00
97aaa0b0d3 convenience imports and implementation of initial pick set for S phases (including zooming to re-scaled horizontal data) 2015-07-02 10:40:01 +02:00
a5c1f68f03 [bugfix] draw all picked phases not only the actually picked one 2015-07-02 10:37:31 +02:00
5e6173b351 [bugfix] fixes an issue where the zoom action is not reset when setting the initial pick 2015-07-02 10:36:33 +02:00
d05e9320e5 make MPLWidget able to distinguish scaled and unscaled data; additionally make plotting noise levels more convenient 2015-07-02 10:35:36 +02:00
a46b0db583 new method to return the traceID for given channel names 2015-07-02 10:32:35 +02:00
f77ba344c3 make the implementation of the picking dialog widget initialization method better readable 2015-07-02 10:31:39 +02:00
e99d2630a1 moved static methods as functions to the util package for flexibility reasons 2015-07-02 10:29:50 +02:00
Ludger Küperkoch
0d8b6b4446 New key in pick dictionary: marker, indicating if pick has been rejected by checksignallength or checkZ4S. 2015-07-02 09:26:05 +02:00
Ludger Küperkoch
8282a7aa12 Marginal changes. 2015-07-02 09:23:51 +02:00
Ludger Küperkoch
82d9d45abf Marginal changes. 2015-07-01 15:37:07 +02:00
Ludger Küperkoch
3e81adfec6 Marginal changes. 2015-07-01 15:31:50 +02:00
Ludger Küperkoch
5bb616ffc5 Marginal changes. 2015-07-01 15:31:02 +02:00
Ludger Küperkoch
fb956f381a Implmented new quality control function checkZ4S. 2015-07-01 15:30:13 +02:00
1af88fbe85 default values changed to the defaults from autopylot 2015-06-29 16:23:46 +02:00
327a22818a added static method demeanWFData which simply returns the demeaned waveform stream object while the individual trace data are decreased by the average value of the waveform in a given window 2015-06-29 16:21:17 +02:00
9aa8a5bf13 function getSNR re-implemented in order to allow SNR calculation for stream object with more than one trace; the resulting SNR is the maximum SNR found over all traces in the stream object 2015-06-29 16:16:59 +02:00
0fcd6fab9d clean-up to meet coding conventions 2015-06-29 16:14:11 +02:00
a46fb88282 Merge branch 'develop' of 134.147.164.251:/data/git/pylot into develop 2015-06-28 19:35:08 +02:00
a854cf2762 use default filter options for all expected phases set up by the project leader 2015-06-28 19:35:01 +02:00
Ludger Küperkoch
99adb5ce9c Finialized new function checkPonset. 2015-06-26 15:59:50 +02:00
Ludger Küperkoch
0789f51d69 Implemented additional quality control function checkPonsets, using subfunction jackknife to skip misspicks. Yet not entirely finished. 2015-06-26 08:48:24 +02:00
Ludger Küperkoch
ab840fbcf1 Merge branch 'develop' of ariadne.geophysik.rub.de:/data/git/pylot into develop
Try to solve conflict, only marginal changes.
Conflicts:
	pylot/core/pick/utils.py
2015-06-25 11:17:32 +02:00
Ludger Küperkoch
edd925af99 Some cosmetics. 2015-06-25 11:11:19 +02:00
e542aa70d9 doctesting added without having doctests inserted (pending) 2015-06-25 10:36:45 +02:00
4292197818 [bugfix] switching between zooming types now does not cause weird mouse event behavior anymore 2015-06-25 10:35:58 +02:00
ec3ecd04bb pick colors now depend on the type of phase picked; blueish colors for compressional wave (p) phases and reddish colors for shear wave (s) phases 2015-06-25 10:34:15 +02:00
a383f8c769 [bugfix] labels are now drawn correctly after picking an onset 2015-06-25 10:31:55 +02:00
cb5bd7dc09 differentiate between initial picks for p and s phases as they are picked from different components; zoom window determination for s phases not implemented yet 2015-06-25 10:30:59 +02:00
bb52f8ac83 moved the determination of the time resolution window to the utils module within the pick package 2015-06-25 10:27:00 +02:00
7635f790fd [bugfix] one filter parameter was type string and caused problems when parsing the parameters to the filter function of an obspy object 2015-06-25 10:24:17 +02:00
7ec28664b4 new function getResolutionWindow and doc testing added 2015-06-25 10:21:52 +02:00
Ludger Küperkoch
c9f07b6540 getSNR: demean using only mean determined from noise window. 2015-06-25 10:07:35 +02:00
Ludger Küperkoch
2cd7572ee4 Removed fixed plotting flag. 2015-06-24 16:44:15 +02:00
Ludger Küperkoch
7281220b55 wadaticheck: bug fixed, initialization of running index at wrong place. 2015-06-24 16:42:50 +02:00
Ludger Küperkoch
1abcb9d9a9 Merge branch 'develop' of ariadne.geophysik.rub.de:/data/git/pylot into develop 2015-06-24 15:47:14 +02:00
Ludger Küperkoch
c68597ce62 Debugging. 2015-06-24 15:43:59 +02:00
c840e07635 filtering of the waveform in the picking window implemented (work in progress, still bugs inside which have to be located and fixed) 2015-06-24 14:33:19 +02:00
0d3fb8be93 [bugfix] false indentation corrected (broken program logic fixed) 2015-06-24 14:31:43 +02:00
8dd100792e [bugfix] obspy filter function do not use order but corners as parameter name (keyword changed for argument parser) 2015-06-24 14:30:48 +02:00
4548f361e4 Merge branch 'develop' of 134.147.164.251:/data/git/pylot into develop 2015-06-24 14:24:20 +02:00
Ludger Küperkoch
017532272f Modified: new function checksignallength added. 2015-06-24 14:17:43 +02:00
Ludger Küperkoch
68bbea9854 Implemented new function for quality control: checksignallength, checks signal length in order to detect spuriously picked noise peaks. 2015-06-24 14:15:54 +02:00
Ludger Küperkoch
728cf15f19 Demean: Mean to be subtracted from time series is now calculated from noise part only. 2015-06-24 09:29:59 +02:00
ac99ec8a76 added static method to the FilterOptionsDialog in order to be able to directly get an filter object without having to create an dialog object in advance explicitly 2015-06-24 09:24:21 +02:00
Ludger Küperkoch
123634924b Removed fix iplot flag. 2015-06-23 16:27:28 +02:00
Ludger Küperkoch
8f0c1fb8ec Debugging. 2015-06-23 16:24:10 +02:00
Ludger Küperkoch
5410b4481a Debugging. 2015-06-23 16:23:18 +02:00
Ludger Küperkoch
54fd3004b4 Debugging. 2015-06-23 16:22:21 +02:00
2c9ad97a4a avoid weird behavior of the picking window 2015-06-23 13:26:37 +02:00
37e50b12e6 use more reliable hard coded sample phase names 2015-06-23 13:25:27 +02:00
03219e69d6 substract the mean of the waveform data within the noise window prior to picking 2015-06-23 13:24:47 +02:00
dec3e733a2 use settings and defaults rather than hard coded parameters 2015-06-23 13:23:31 +02:00
b1990e6e1c filter waveform with default parameter for selected phase prior to initial phase identification 2015-06-23 13:22:01 +02:00
2393b88f05 rearranged filter waveform data method to match signature of the parseFilterOptions method of the FilterOptions object which will be used to hold filter information which can be defined by the project leader in advance 2015-06-23 13:15:39 +02:00
f1c7f00193 new local variable reused in plotting command for noise level positioning while plotting 2015-06-23 13:12:20 +02:00
c1818622de [bugfix] obsolete plotting command causing the plot to appear differently than desired 2015-06-23 13:09:03 +02:00
c94c569fcb closes ticket #151 : in the picking window always the entire waveform data is plotted with varying zoom window sizes 2015-06-23 13:07:24 +02:00
c851fa6901 avoid direct manipulation of attributes of an object; use get and set methods instead; new methods added to feature the desired behavior 2015-06-23 12:57:36 +02:00
6d8a17b7e2 deleting obsolete class definition 2015-06-23 12:51:27 +02:00
Ludger Küperkoch
1c749dd9a8 Debugging. 2015-06-23 12:24:13 +02:00
Ludger Küperkoch
c54ba04ae2 Marginal changes. 2015-06-23 12:19:16 +02:00
Ludger Küperkoch
add4944c05 Marginal changes. 2015-06-23 12:18:45 +02:00
Ludger Küperkoch
c35dd456fe Merge branch 'develop' of ariadne.geophysik.rub.de:/data/git/pylot into develop
Merge necessary after commit before pull.
2015-06-23 12:02:51 +02:00
Ludger Küperkoch
44050564b8 Debugging. 2015-06-23 12:02:04 +02:00
Ludger Küperkoch
931853016a Debugging. 2015-06-23 12:01:36 +02:00
8d4aaab92a [bugfix] return value of getnoisewin and getsignalwin should be of expected type numpy.ndarray (was tuple) 2015-06-23 08:49:10 +02:00
dc281c6c0e [bugfix] determine the SNR according to the demeaned waveform between the beginning of the noise window and the end of the signal window 2015-06-23 08:24:21 +02:00
bb6ebc7ee1 reformatting code for reasons of coding conventions 2015-06-23 08:22:59 +02:00
Ludger Küperkoch
d25e791bb8 Debugging. 2015-06-22 16:01:25 +02:00
Ludger Küperkoch
833b29a488 Debugging. 2015-06-22 16:01:16 +02:00
Ludger Küperkoch
f2510ff400 Switched off warnings. 2015-06-22 15:35:16 +02:00
Ludger Küperkoch
4a911a4ac9 Marginal changes only. 2015-06-22 15:20:03 +02:00
Ludger Küperkoch
ab53a72c57 Debugging: If not enough S-P times are available, the plotting is modified. 2015-06-22 15:07:54 +02:00
Ludger Küperkoch
99a5a4499a Debugging: If no P-Pick was determined, no plot of of horizontal data comes up. 2015-06-22 14:59:57 +02:00
Ludger Küperkoch
eb153679ba Removed axis limits from plotting part. 2015-06-22 14:37:47 +02:00
Ludger Küperkoch
aba3997b20 Modified earllatepicker: Mean is removed from trace calculated from noise + signal window. 2015-06-22 12:39:29 +02:00
Ludger Küperkoch
635ac1686b Merge branch 'develop' of ariadne.geophysik.rub.de:/data/git/pylot into develop
Conflicts:
	pylot/core/pick/utils.py
2015-06-22 11:27:01 +02:00
Ludger Küperkoch
fd6e4cb02a Uses now UTCDateTime.timestamp as this is more efficient and shorter. 2015-06-22 11:07:22 +02:00
30bc8ccd82 reformatting code to avoid indentation inconsistencies 2015-06-22 11:06:53 +02:00
245a7455ff FilterOptions class has new method parseFilterOptions which establishes a valid keyword arguments dictionary to be parsed to the obspy.core.stream.Stream 's filter method 2015-06-22 10:59:14 +02:00
ff52ec5410 started implementation of running of external programs (work in progress, pending until release of picking window) 2015-06-22 10:56:16 +02:00
6b14c452e2 Merge branch 'develop' of 134.147.164.251:/data/git/pylot into develop
Conflicts:
	pylot/core/pick/utils.py
2015-06-22 10:54:30 +02:00
864ef6c64d [bugfix] determination of zero crossings breaks down if data is not demeaned in the signal window (explicitly demeaning data in the signal window when determining the zero crossings) 2015-06-22 10:52:26 +02:00
Ludger Küperkoch
3330a3ae35 Corrected calculation of Vp/Vs ratio in wadaticheck, now determined from slope of trend as it should be. 2015-06-22 09:32:33 +02:00
Ludger Küperkoch
a95caa5efc Weight 9 now for skiped S onsets, turned rank warning off. 2015-06-19 15:48:04 +02:00
Ludger Küperkoch
aa624c0358 Added new function wadaticheck to test certainty of S-onsets using Wadati diagram. 2015-06-19 15:28:53 +02:00
Ludger Küperkoch
613bef1678 Implmented dictionary containing onset parameters. 2015-06-19 09:09:22 +02:00
57dfb86819 [bugfix] importing of run_autopicking.py was inhibited by badly indented call to raw_input() (fixed) 2015-06-18 10:55:26 +02:00
883fdf6bf5 just cleaning up the code to meet coding conventions 2015-06-12 09:36:52 +02:00
c5da8fd994 changed usage signature of some function from module utils and the corresponding calls 2015-06-11 10:12:50 +02:00
546e919dc9 code clean-up following several conventions 2015-06-11 10:07:21 +02:00
3d8bea8f7e deleted obsolete module 2015-06-11 10:02:44 +02:00
63849177be package active will provide capabilities for processing reflection seismic surveys automatically 2015-06-11 05:36:56 +02:00
77b7d26902 selectable phases should be edited elsewhere not in the combobox itself 2015-06-11 05:34:07 +02:00
e6e38dbb95 Merge branch 'develop' of 134.147.164.251:/data/git/pylot into develop 2015-06-10 15:49:15 +02:00
93dfe76b7e fixed some bugs concerning plotting and implemented a more flexible way of drawing the picks including error plotting 2015-06-10 15:49:06 +02:00
864cb112bc usage changed due to release [1d70a23] 2015-06-10 15:47:40 +02:00
b3ea4229a4 implement opportunity to apply different kind of event data to the data object 2015-06-10 15:46:37 +02:00
1d70a236d1 [bugfix] avoid forming invalid pickID strings (line 194)
do not use altered resource identifier for all kinds of event  objects
2015-06-10 15:45:49 +02:00
ba7ab07473 catch non string type input for filename construction 2015-06-10 15:43:43 +02:00
3cb73fb948 alternative for storing event data (discussable) 2015-06-10 15:41:37 +02:00
0721e225a7 never return values for without a meaning 2015-06-10 15:40:36 +02:00
e6b0c2b470 zero xings are now be derived from demeaned data 2015-06-10 15:37:58 +02:00
Ludger Küperkoch
b0acee7136 Added component splitting also for channels 1 and 2. 2015-06-02 13:46:10 +02:00
Ludger Küperkoch
15b245c2e8 Debuging, temporary solved problems occuring when reading channels of not oriented sondes (channels 1/2). 2015-06-01 16:30:22 +02:00
Ludger Küperkoch
85f0717f10 Implemented first-motion picker, some debugging. 2015-06-01 14:18:18 +02:00
Ludger Küperkoch
74682952e7 New function invoked by autoPyLoT for automated picking of onset times. Main tool for automatic picking! 2015-05-29 16:48:58 +02:00
Ludger Küperkoch
5be662524f Debuged AIC picker for plotting smoothed CF instead of unsmoothed CF, implemented quick and dirty a temporary solution to process restituted data in order to calculate apropriate slope (line 204). 2015-05-29 16:43:32 +02:00
Ludger Küperkoch
6e51c05c94 Running indicies changed after kai Olbert to calculate equal CF as done in MatLab, implemented some tools to compensate numerical artefacts. 2015-05-29 16:35:00 +02:00
Ludger Küperkoch
0b6b7a7aed Marginal changes only. 2015-05-29 16:28:50 +02:00
0c76c496fb Merge branch 'develop' of 134.147.164.251:/data/git/pylot into develop 2015-05-28 12:14:29 +02:00
c86adb4e6e preparing storing the picks and making the GUI work more intuitively 2015-05-28 12:14:16 +02:00
2da7861b6f todo mark deleted 2015-05-28 11:54:16 +02:00
Ludger Küperkoch
caa0dce637 Adopted zero-crossing plotting to output of new function for calculating zero-crossings. 2015-05-27 09:36:12 +02:00
6dc0b206e9 changed string representation of data object 2015-05-20 11:20:37 +02:00
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