public class InstrumentationLoader
extends java.lang.Thread
Constructor and Description |
---|
InstrumentationLoader() |
Modifier and Type | Method and Description |
---|---|
protected void |
addToQueue(edu.sc.seis.fissuresUtil.cache.InstrumentationLoader.WorkUnit work) |
static void |
checkResponse(edu.iris.Fissures.IfNetwork.Response resp) |
protected edu.sc.seis.fissuresUtil.cache.InstrumentationLoader.WorkUnit |
getFromQueue() |
void |
getInstrumentation(DataSetSeismogram seis,
ChannelChooser channelChooser) |
protected boolean |
isEmpty() |
static boolean |
isValid(edu.iris.Fissures.IfNetwork.Instrumentation inst) |
static boolean |
isValid(edu.iris.Fissures.IfNetwork.Response resp) |
static boolean |
isValid(edu.iris.Fissures.IfNetwork.Sensitivity sens) |
static boolean |
isValidSensitivity(edu.iris.Fissures.model.QuantityImpl sens) |
static void |
repairResponse(edu.iris.Fissures.IfNetwork.Response resp)
Checks for nonsense sensitivity (overall gain of -1) and trys to repair by multiplying the
gains of the individual stages.
|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public static void repairResponse(edu.iris.Fissures.IfNetwork.Response resp) throws InvalidResponse
InvalidResponse
protected boolean isEmpty()
protected edu.sc.seis.fissuresUtil.cache.InstrumentationLoader.WorkUnit getFromQueue() throws java.lang.InterruptedException
java.lang.InterruptedException
protected void addToQueue(edu.sc.seis.fissuresUtil.cache.InstrumentationLoader.WorkUnit work)
public void getInstrumentation(DataSetSeismogram seis, ChannelChooser channelChooser)
public static boolean isValidSensitivity(edu.iris.Fissures.model.QuantityImpl sens)
public static boolean isValid(edu.iris.Fissures.IfNetwork.Sensitivity sens)
public static boolean isValid(edu.iris.Fissures.IfNetwork.Instrumentation inst)
public static boolean isValid(edu.iris.Fissures.IfNetwork.Response resp)
public static void checkResponse(edu.iris.Fissures.IfNetwork.Response resp) throws InvalidResponse
InvalidResponse