public class Cut extends java.lang.Object implements LocalSeismogramFunction
Modifier and Type | Field and Description |
---|---|
static UnitImpl |
SEC_PER_SEC |
Constructor and Description |
---|
Cut(MicroSecondDate begin,
MicroSecondDate end) |
Cut(RequestFilter request) |
Modifier and Type | Method and Description |
---|---|
LocalSeismogramImpl |
apply(LocalSeismogramImpl seis) |
RequestFilter |
apply(RequestFilter original) |
LocalSeismogramImpl |
applyEncoded(LocalSeismogramImpl seis)
Makes a seismogram covering as little extra beyond begin and end times of
this cut without extracting the data from the encoded data array.
|
static LocalSeismogramImpl[] |
coarseCut(RequestFilter[] aFilterseq,
LocalSeismogram[] seis)
Applys a coarse cut to the seismograms based on the request filter.
|
static LocalSeismogramImpl |
cut(LocalSeismogramImpl seis,
int beginIndex,
int endIndex) |
static LocalSeismogramImpl |
cutEncoded(LocalSeismogramImpl seis,
int beginIndex,
int endIndex) |
MicroSecondDate |
getBegin() |
protected int |
getBeginIndex(LocalSeismogramImpl seis) |
MicroSecondDate |
getEnd() |
protected int |
getEndIndex(LocalSeismogramImpl seis) |
boolean |
overlaps(LocalSeismogramImpl seis) |
java.lang.String |
toString() |
public static final UnitImpl SEC_PER_SEC
public Cut(MicroSecondDate begin, MicroSecondDate end)
public Cut(RequestFilter request)
public LocalSeismogramImpl apply(LocalSeismogramImpl seis) throws FissuresException
apply
in interface LocalSeismogramFunction
FissuresException
public static LocalSeismogramImpl cut(LocalSeismogramImpl seis, int beginIndex, int endIndex) throws FissuresException
FissuresException
public boolean overlaps(LocalSeismogramImpl seis)
protected int getEndIndex(LocalSeismogramImpl seis)
protected int getBeginIndex(LocalSeismogramImpl seis)
public java.lang.String toString()
toString
in class java.lang.Object
public MicroSecondDate getBegin()
public MicroSecondDate getEnd()
public RequestFilter apply(RequestFilter original)
public LocalSeismogramImpl applyEncoded(LocalSeismogramImpl seis) throws FissuresException
FissuresException
public static LocalSeismogramImpl cutEncoded(LocalSeismogramImpl seis, int beginIndex, int endIndex) throws FissuresException
FissuresException
public static LocalSeismogramImpl[] coarseCut(RequestFilter[] aFilterseq, LocalSeismogram[] seis) throws FissuresException
FissuresException