|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpectrumCalculatorAPI
| Method Summary | |
|---|---|
ParameterList |
getAdjustableParams()
|
ListIterator |
getAdjustableParamsIterator()
get the adjustable parameters |
int |
getCurrRuptures()
|
DiscretizedFunc |
getDeterministicSpectrumCurve(Site site,
ScalarIMR imr,
EqkRupture rupture,
boolean probAtIML,
double imlProbVal)
This function computes a deterministic exceedance curve for the given Site, IMR, and ProbEqkrupture. |
DiscretizedFunc |
getIML_SpectrumCurve(DiscretizedFunc spectrumFunction,
Site site,
ScalarIMR imr,
ERF eqkRupForecast,
double probVal,
List supportedSA_Periods)
This function computes a spectrum curve for all SA Period supported by the IMR and then interpolates the IML value from all the computed curves. |
double |
getMaxSourceDistance()
|
PtSrcDistCorr.Type |
getPtSrcDistCorrType()
This gets the type of point-source distance correction that is desired (see the class PtSrcDistCorr for options) |
DiscretizedFunc |
getSpectrumCurve(Site site,
ScalarIMR imr,
ERF eqkRupForecast,
double imlVal,
List supportedSA_Periods)
This function computes a spectrum curve for the given Site, IMR, and ERF. |
int |
getTotRuptures()
|
void |
setAdjustableParams(ParameterList paramList)
|
void |
setMaxSourceDistance(double distance)
This sets the maximum distance of sources to be considered in the calculation (as determined by the getMinDistance(Site) method of ProbEqkSource subclasses). |
void |
setPtSrcDistCorrType(PtSrcDistCorr.Type ptSrcDistCorrType)
This sets the type of point-source distance correction that is desired (see the class PtSrcDistCorr for options) |
| Method Detail |
|---|
int getCurrRuptures()
DiscretizedFunc getDeterministicSpectrumCurve(Site site,
ScalarIMR imr,
EqkRupture rupture,
boolean probAtIML,
double imlProbVal)
hazFunction: - This function is where the hazard curve is placedsite: - site objectimr: - selected IMR objectrupture: - Single Earthquake Rupture
DiscretizedFunc getIML_SpectrumCurve(DiscretizedFunc spectrumFunction,
Site site,
ScalarIMR imr,
ERF eqkRupForecast,
double probVal,
List supportedSA_Periods)
specFunction: - This function is where the final interplotaed spectrum
for the IML@prob curve is placed.site: - site objectimr: - selected IMR objecteqkRupForecast: - selected Earthquake rup forecast
DiscretizedFunc getSpectrumCurve(Site site,
ScalarIMR imr,
ERF eqkRupForecast,
double imlVal,
List supportedSA_Periods)
hazFunction: - This function is where the hazard curve is placedsite: - site objectimr: - selected IMR objecteqkRupForecast: - selected Earthquake rup forecast
int getTotRuptures()
void setMaxSourceDistance(double distance)
distance: - the maximum distance in kmdouble getMaxSourceDistance()
void setAdjustableParams(ParameterList paramList)
ParameterList getAdjustableParams()
ListIterator getAdjustableParamsIterator()
void setPtSrcDistCorrType(PtSrcDistCorr.Type ptSrcDistCorrType)
ptSrcDistCorrType - PtSrcDistCorr.Type getPtSrcDistCorrType()
ptSrcDistCorrType -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||