public class Response
extends java.lang.Object
Constructor and Description |
---|
Response(java.util.List<ResponseStage> responseStageList,
InstrumentSensitivity instrumentSensitivity,
InstrumentPolynomial instrumentPolynomial) |
Response(javax.xml.stream.XMLEventReader reader) |
Modifier and Type | Method and Description |
---|---|
static void |
checkResponse(Response resp) |
ResponseStage |
getFirstStage() |
InstrumentPolynomial |
getInstrumentPolynomial() |
InstrumentSensitivity |
getInstrumentSensitivity() |
java.lang.String |
getResourceId() |
java.util.List<ResponseStage> |
getResponseStageList() |
static boolean |
isValid(InstrumentSensitivity sens)
Deprecated.
|
static boolean |
isValid(Response resp) |
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 |
setInstrumentSensitivity(InstrumentSensitivity sensitivity) |
public Response(java.util.List<ResponseStage> responseStageList, InstrumentSensitivity instrumentSensitivity, InstrumentPolynomial instrumentPolynomial)
public Response(javax.xml.stream.XMLEventReader reader) throws javax.xml.stream.XMLStreamException, StationXMLException
javax.xml.stream.XMLStreamException
StationXMLException
public static boolean isValid(InstrumentSensitivity sens)
InstrumentSensitivity.isValid(InstrumentSensitivity)
insteadpublic static boolean isValid(Response resp)
public static void checkResponse(Response resp) throws InvalidResponse
InvalidResponse
public static void repairResponse(Response resp) throws InvalidResponse
InvalidResponse
public ResponseStage getFirstStage()
public java.util.List<ResponseStage> getResponseStageList()
public InstrumentSensitivity getInstrumentSensitivity()
public void setInstrumentSensitivity(InstrumentSensitivity sensitivity)
public InstrumentPolynomial getInstrumentPolynomial()
public java.lang.String getResourceId()