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(Response resp) |
protected edu.sc.seis.fissuresUtil.cache.InstrumentationLoader.WorkUnit |
getFromQueue() |
void |
getInstrumentation(DataSetSeismogram seis,
ChannelChooser channelChooser) |
protected boolean |
isEmpty() |
static boolean |
isValid(Instrumentation inst) |
static boolean |
isValid(Response resp) |
static boolean |
isValid(Sensitivity sens) |
static boolean |
isValidSensitivity(QuantityImpl sens) |
static void |
repairResponse(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(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(QuantityImpl sens)
public static boolean isValid(Sensitivity sens)
public static boolean isValid(Instrumentation inst)
public static boolean isValid(Response resp)
public static void checkResponse(Response resp) throws InvalidResponse
InvalidResponse