Class Response
java.lang.Object
edu.sc.seis.seisFile.fdsnws.stationxml.Response
-
Constructor Summary
ConstructorsConstructorDescriptionResponse()
Response
(List<ResponseStage> responseStageList, InstrumentSensitivity instrumentSensitivity, InstrumentPolynomial instrumentPolynomial) Response
(XMLEventReader reader) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkResponse
(Response resp) static boolean
isValid
(InstrumentSensitivity sens) Deprecated.static boolean
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)
-
Constructor Details
-
Response
public Response() -
Response
public Response(List<ResponseStage> responseStageList, InstrumentSensitivity instrumentSensitivity, InstrumentPolynomial instrumentPolynomial) -
Response
-
-
Method Details
-
isValid
Deprecated. -
isValid
-
checkResponse
- Throws:
InvalidResponse
-
repairResponse
Checks for nonsense sensitivity (overall gain of -1) and trys to repair by multiplying the gains of the individual stages. This only works if all the frequencys are either the same or zero. We assume a frequency of zero means that there is no frequnecy dependence for this stage.- Throws:
InvalidResponse
-
getFirstStage
-
getResponseStageList
-
getInstrumentSensitivity
-
setInstrumentSensitivity
-
getInstrumentPolynomial
-
getResourceId
-
InstrumentSensitivity.isValid(InstrumentSensitivity)
instead