|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.imr.AbstractIMR
org.opensha.sha.imr.AttenuationRelationship
org.opensha.sha.imr.attenRelImpl.NSHMP_2008_CA
public class NSHMP_2008_CA
This is an implementation of the combined attenuation relationships used in California for the 2008 National Seismic Hazard Mapping Program (NSHMP). The three next generation attenuation relationships (NGAs) used are:
Please take note of the following implementation details:
M<6 6%le;M<7 7≤M
=============================
D<10 0.375 | 0.210 | 0.245
10≤D<30 0.230 | 0.225 | 0.230
30≤D 0.400 | 0.360 | 0.310
=============================
For an earthquake rupture at a given distance and magnitude, the corresponding
uncertainty is applied to a particular NGA with the following weights:
hazard curve weight
======================================
mean + unc 0.185
mean 0.630
mean - unc 0.185
======================================
| Field Summary | |
|---|---|
static String |
NAME
|
static String |
SHORT_NAME
|
| Fields inherited from class org.opensha.sha.imr.AbstractIMR |
|---|
eqkRupture, eqkRuptureParams, EXCEED_PROB_DEFAULT, EXCEED_PROB_INFO, EXCEED_PROB_MAX, EXCEED_PROB_MIN, EXCEED_PROB_NAME, exceedProbParam, im, intensityMeasureChanged, listener, otherParams, propagationEffectParams, site, siteParams, supportedIMParams, url_info_string, XML_METADATA_IMT_NAME, XML_METADATA_NAME, XML_METADATA_SITE_PARAMETERS_NAME |
| Fields inherited from interface org.opensha.commons.metadata.XMLSaveable |
|---|
XML_METADATA_NAME |
| Constructor Summary | |
|---|---|
NSHMP_2008_CA(ParameterChangeWarningListener listener)
|
|
| Method Summary | |
|---|---|
double |
getEpsilon()
This returns (iml-mean)/stdDev, ignoring any truncation. |
double |
getEpsilon(double iml)
This returns (iml-mean)/stdDev, ignoring any truncation. |
DiscretizedFunc |
getExceedProbabilities(DiscretizedFunc imls)
This fills in the exceedance probability for multiple intensityMeasure levels (often called a "hazard curve"); the levels are obtained from the X values of the input function, and Y values are filled in with the asociated exceedance probabilities. |
double |
getExceedProbability()
This calculates the probability that the intensity-measure level (the value in the Intensity-Measure Parameter) will be exceeded given the mean and stdDev computed from current independent parameter values. |
double |
getExceedProbability(double iml)
This calculates the probability that the supplied intensity-measure level will be exceeded given the mean and stdDev computed from current independent parameter values. |
protected double |
getExceedProbability(double mean,
double stdDev,
double iml)
This method computed the probability of exceeding the IM-level given the mean and stdDev, and considering the sigma truncation type and level. |
double |
getIML_AtExceedProb()
This calculates the intensity-measure level associated with probability held by the exceedProbParam given the mean and standard deviation (according to the chosen truncation type and level). |
double |
getIML_AtExceedProb(double exceedProb)
This calculates the intensity-measure level associated with given probability and the calculated mean and standard deviation (and according to the chosen truncation type and level). |
double |
getMean()
This returns the mean intensity-measure level for the current set of parameters. |
String |
getName()
Returns name of the IntensityMeasureRelationship. |
DiscretizedFunc |
getSA_ExceedProbSpectrum(double iml)
This calculates the exceed-probability at each SA Period for the supplied intensity-measure level (a hazard spectrum). |
DiscretizedFunc |
getSA_IML_AtExceedProbSpectrum(double exceedProb)
This calculates the intensity-measure level for each SA Period associated with the given probability. |
String |
getShortName()
Returns a Short Name for the IMR |
double |
getStdDev()
This returns the standard deviation (stdDev) of the intensity-measure level for the current set of parameters. |
double |
getTotExceedProbability(PointEqkSource ptSrc,
double iml)
This method will compute the total probability of exceedance for a PointEqkSource (including the probability of each rupture). |
protected void |
initEqkRuptureParams()
Creates the EqkRupture-related parameters, which are all associated parameters that the exceedance probability depends upon. |
protected void |
initOtherParams()
This creates the otherParams list. |
protected void |
initParameterEventListeners()
Adds the Listeners to the parameters so that Attenuation can listen to any kind of changes to parameter values. |
protected void |
initPropagationEffectParams()
Creates Propagation-Effect related parameters, which are all associated parameters that the exceedance probability depends upon. |
protected void |
initSiteParams()
This creates Site-related parameters, which are all associated parameters that the exceedance probability depends upon. |
protected void |
initSupportedIntensityMeasureParams()
This creates the supported intensity-measure parameters. |
static void |
main(String[] args)
|
void |
parameterChange(ParameterChangeEvent e)
Function that must be implemented by all Listeners for ParameterChangeEvents. |
void |
setEqkRupture(EqkRupture eqkRupture)
Sets the EqkRupture object in the IMR as a reference to the one passed in. |
void |
setIntensityMeasure(String intensityMeasureName)
This sets the intensityMeasure parameter as that which has the name passed in; no value (level) is set, nor are any of the IM's independent parameters set (since it's only given the name). |
void |
setIntensityMeasureLevel(Double iml)
Sets the value of the selected intensityMeasure; |
void |
setIntensityMeasureLevel(Object iml)
Sets the value of the currently selected intensityMeasure (if the value is allowed); this will reject anything that is not a Double. |
void |
setParamDefaults()
This sets the defaults for all the parameters. |
void |
setPropagationEffect()
|
protected void |
setPropagationEffectParams()
Calculates the value of each propagation effect parameter from the current Site and ProbEqkRupture objects. |
void |
setSite(Site site)
Sets the Site object as a reference to that passed in. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
public static final String NAME
public static final String SHORT_NAME
| Constructor Detail |
|---|
public NSHMP_2008_CA(ParameterChangeWarningListener listener)
| Method Detail |
|---|
public void setParamDefaults()
IntensityMeasureRelationship
setParamDefaults in interface IntensityMeasureRelationshippublic String getShortName()
IntensityMeasureRelationship
getShortName in interface IntensityMeasureRelationshippublic String getName()
AbstractIMR
getName in interface NamedgetName in interface IntensityMeasureRelationshipgetName in class AbstractIMRprotected void setPropagationEffectParams()
AttenuationRelationship
setPropagationEffectParams in class AttenuationRelationshipprotected void initSupportedIntensityMeasureParams()
AttenuationRelationship
initSupportedIntensityMeasureParams in class AttenuationRelationshipprotected void initSiteParams()
AttenuationRelationship
initSiteParams in class AttenuationRelationshipprotected void initOtherParams()
AttenuationRelationship
initOtherParams in class AttenuationRelationshipprotected void initEqkRuptureParams()
AttenuationRelationship
initEqkRuptureParams in class AttenuationRelationshipprotected void initPropagationEffectParams()
AttenuationRelationship
initPropagationEffectParams in class AttenuationRelationshipprotected void initParameterEventListeners()
AttenuationRelationship
initParameterEventListeners in class AttenuationRelationshippublic void setSite(Site site)
AbstractIMR
setSite in interface IntensityMeasureRelationshipsetSite in class AbstractIMRsite - The new site objectpublic void setEqkRupture(EqkRupture eqkRupture)
AbstractIMR
setEqkRupture in interface IntensityMeasureRelationshipsetEqkRupture in class AbstractIMReqkRupture - The new EqkRupture objectpublic void setPropagationEffect()
public double getMean()
ScalarIMR
getMean in interface ScalarIMRpublic double getStdDev()
ScalarIMR
getStdDev in interface ScalarIMRpublic double getEpsilon()
AttenuationRelationship
getEpsilon in interface ScalarIMRgetEpsilon in class AttenuationRelationshippublic double getEpsilon(double iml)
AttenuationRelationship
getEpsilon in interface ScalarIMRgetEpsilon in class AttenuationRelationshipiml - double
public DiscretizedFunc getExceedProbabilities(DiscretizedFunc imls)
throws ParameterException
AttenuationRelationship
getExceedProbabilities in interface ScalarIMRgetExceedProbabilities in class AttenuationRelationshipimls - The function to be filled in
ParameterException - Description of the Exception
public double getExceedProbability()
throws ParameterException,
IMRException
AttenuationRelationship
getExceedProbability in interface IntensityMeasureRelationshipgetExceedProbability in class AttenuationRelationshipParameterException - Description of the Exception
IMRException - Description of the Exception
protected double getExceedProbability(double mean,
double stdDev,
double iml)
throws ParameterException,
IMRException
AttenuationRelationship
getExceedProbability in class AttenuationRelationshipParameterException
IMRException
public double getExceedProbability(double iml)
throws ParameterException,
IMRException
AttenuationRelationship
getExceedProbability in interface ScalarIMRgetExceedProbability in class AttenuationRelationshipParameterException - Description of the Exception
IMRException - Description of the Exception
public double getIML_AtExceedProb()
throws ParameterException
AttenuationRelationship
getIML_AtExceedProb in interface ScalarIMRgetIML_AtExceedProb in class AttenuationRelationshipParameterException - Description of the Exception
public double getIML_AtExceedProb(double exceedProb)
throws ParameterException
AttenuationRelationship
getIML_AtExceedProb in interface ScalarIMRgetIML_AtExceedProb in class AttenuationRelationshipexceedProb - : Sets the Value of the exceed Prob param with this value.
ParameterException - Description of the Exception
public DiscretizedFunc getSA_ExceedProbSpectrum(double iml)
throws ParameterException,
IMRException
AttenuationRelationship
getSA_ExceedProbSpectrum in interface ScalarIMRgetSA_ExceedProbSpectrum in class AttenuationRelationshipParameterException
IMRException
public DiscretizedFunc getSA_IML_AtExceedProbSpectrum(double exceedProb)
throws ParameterException,
IMRException
AttenuationRelationship
getSA_IML_AtExceedProbSpectrum in interface ScalarIMRgetSA_IML_AtExceedProbSpectrum in class AttenuationRelationshipParameterException
IMRException
public double getTotExceedProbability(PointEqkSource ptSrc,
double iml)
AttenuationRelationship
getTotExceedProbability in class AttenuationRelationship
public void setIntensityMeasureLevel(Double iml)
throws ParameterException
AttenuationRelationship
setIntensityMeasureLevel in interface ScalarIMRsetIntensityMeasureLevel in class AttenuationRelationshipiml - The new intensityMeasureLevel value
ParameterException - Description of the Exception
public void setIntensityMeasureLevel(Object iml)
throws ParameterException
AttenuationRelationship
setIntensityMeasureLevel in interface IntensityMeasureRelationshipsetIntensityMeasureLevel in class AttenuationRelationshipiml - The new intensityMeasureLevel value
ParameterException - Description of the Exception
public void setIntensityMeasure(String intensityMeasureName)
throws ParameterException
AbstractIMR
setIntensityMeasure in interface IntensityMeasureRelationshipsetIntensityMeasure in class AbstractIMRParameterExceptionpublic void parameterChange(ParameterChangeEvent e)
ParameterChangeListener
parameterChange in interface ParameterChangeListenere - The Event which triggered this function callpublic static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||