edu.sc.seis.sod.process.waveform.vector
Class VectorTrim
java.lang.Object
edu.sc.seis.sod.process.waveform.vector.VectorTrim
- All Implemented Interfaces:
- WaveformVectorProcess, SodElement, Subsetter, Threadable
public class VectorTrim
- extends java.lang.Object
- implements WaveformVectorProcess, Threadable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VectorTrim
public VectorTrim()
accept
public WaveformVectorResult accept(CacheEvent event,
ChannelGroup channelGroup,
RequestFilter[][] original,
RequestFilter[][] available,
LocalSeismogramImpl[][] seismograms,
CookieJar cookieJar)
throws java.lang.Exception
- Specified by:
accept
in interface WaveformVectorProcess
- Throws:
java.lang.Exception
trim
public LocalSeismogramImpl[][] trim(LocalSeismogramImpl[][] vector)
throws FissuresException
- Throws:
FissuresException
alignTimes
public static LocalSeismogramImpl alignTimes(LocalSeismogramImpl main,
LocalSeismogramImpl shifty)
throws FissuresException
- Throws:
FissuresException
cutVector
public LocalSeismogramImpl[][] cutVector(LocalSeismogramImpl[][] vector,
Cut[] c)
throws FissuresException
- Throws:
FissuresException
findSmallestCoveringCuts
public Cut[] findSmallestCoveringCuts(LocalSeismogramImpl[][] vector)
normalizeSampling
public boolean normalizeSampling(LocalSeismogramImpl[][] impls)
- If the passed in seismograms sampling periods are all within 1% in size,
each has its sampling set to the sampling of the first sampling
isThreadSafe
public boolean isThreadSafe()
- Specified by:
isThreadSafe
in interface Threadable