Class CodaSNREndTimePicker
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.service.impl.processing.CodaSNREndTimePicker
- All Implemented Interfaces:
- EndTimePicker
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoublegetEndTime(float[] waveform, double sampleRate, double startTimeEpochSeconds, int startOffset, double minLengthSec, double maxLengthSec, double minimumSnr, double noise) Attempts to estimate a coda-end time for a given waveform.
- 
Constructor Details- 
CodaSNREndTimePickerpublic CodaSNREndTimePicker()
 
- 
- 
Method Details- 
getEndTimepublic double getEndTime(float[] waveform, double sampleRate, double startTimeEpochSeconds, int startOffset, double minLengthSec, double maxLengthSec, double minimumSnr, double noise) Attempts to estimate a coda-end time for a given waveform. Has rudimentary support for spike detection and coda-slope deviations from what the physics expects to try and identify aftershocks, artifacts, or other interfering events. Generally works well between 1 and 25hz for most regions of the world but is not particularly good below 1hz.- Specified by:
- getEndTimein interface- EndTimePicker
- Parameters:
- waveform- the waveform
- sampleRate- the sample rate
- startTimeEpochSeconds- the start time in epoch seconds for the phase onset
- startOffset- the start offset indicates where the picker should start assessment (e.g. phase onset)
- minLengthSec- the minimum coda length (sec)
- maxLengthSec- the maximum coda length (sec)
- minimumSnr- the minimum SNR threshold
- noise- the estimated noise amplitude level
- Returns:
- the estimated end time or the BAD_PICK value if no estimate can be made
 
 
-