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) |
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.
|
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)
public 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 InstrumentPolynomial getInstrumentPolynomial()
public java.lang.String getResourceId()