|
||||||||||
| 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.gcim.imr.attenRelImpl.ASI_WrapperAttenRel.ASI_AttenRelWrapper
public class ASI_AttenRelWrapper
Title: ASI_AttenRelWrapper
Description: Provides the wrapper that allows all ground motion prediction equations for Sa to be used to compute ASI, Acceleration Specturm Intensity Reference: Bradley, B.A., 2009. Site specific and spatially distributed prediction of acceleration spectrum intensity, Bulletin of the Seismological Society of America, 100 (2): 792-801. Supported Intensity-Measure Parameters:
Other Independent Parameters:
Verification - This model has been verified against the original Matlab code used in the above reference.
| 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 | |
|---|---|
ASI_AttenRelWrapper()
|
|
ASI_AttenRelWrapper(ParameterChangeWarningListener warningListener,
AttenuationRelationship attenRelToWrap)
This initializes several ParameterList objects. |
|
| Method Summary | |
|---|---|
URL |
getInfoURL()
This provides a URL where more info on this model can be obtained |
double |
getMean()
Calculates the mean of the exceedence probability distribution. |
String |
getName()
get the name of this IMR |
String |
getShortName()
Returns the Short Name of each AttenuationRelationship |
double |
getStdDev()
This returns the standard deviation (stdDev) of the intensity-measure level for the current set of parameters. |
protected void |
initEqkRuptureParams()
Creates the EqkRupture-related parameters, which are all associated parameters that the exceedance probability depends upon. |
protected void |
initIndependentParamLists()
This sets the lists of independent parameters that the various dependent parameters (mean, standard deviation, exceedance probability, and IML at exceedance probability) depend upon. |
protected void |
initParameterEventListeners()
Adds the parameter change listeners. |
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()
Creates the supported IM parameter (asiParam), and adds this to the supportedIMParams list. |
void |
parameterChange(ParameterChangeEvent e)
This listens for parameter changes and updates the primitive parameters accordingly |
void |
resetParameterEventListeners()
Allows to reset the change listeners on the parameters |
void |
setDefaultImCorrRel()
This method sets the default ImCorrelationRelationship to use for initialization |
void |
setEqkRupture(EqkRupture eqkRupture)
This sets the eqkRupture related parameters based on the eqkRupture passed in. |
void |
setImCorrRel(ImCorrelationRelationship imCorrRel)
This method sets the ImCorrRel to use (possibly different from default) |
void |
setParamDefaults()
Allows the user to set the default parameter values for the selected Attenuation Relationship. |
protected void |
setPropagationEffectParams()
This does nothing; is it needed? |
void |
setSite(Site site)
This sets the site-related parameter (siteTypeParam) based on what is in the Site object passed in (the Site object must have a parameter with the same name as that in siteTypeParam). |
| 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 SHORT_NAME
public static final String NAME
| Constructor Detail |
|---|
public ASI_AttenRelWrapper()
public ASI_AttenRelWrapper(ParameterChangeWarningListener warningListener,
AttenuationRelationship attenRelToWrap)
| Method Detail |
|---|
public void setEqkRupture(EqkRupture eqkRupture)
throws InvalidRangeException
setEqkRupture in interface IntensityMeasureRelationshipsetEqkRupture in class AbstractIMReqkRupture - The new eqkRupture value
InvalidRangeException - thrown if rake is out of bounds
public void setSite(Site site)
throws ParameterException
setSite in interface IntensityMeasureRelationshipsetSite in class AbstractIMRsite - The new site object
ParameterException - Thrown if the Site object doesn't contain a
Vs30 parameterprotected void setPropagationEffectParams()
setPropagationEffectParams in class AttenuationRelationshippublic double getMean()
getMean in interface ScalarIMRpublic double getStdDev()
ScalarIMR
getStdDev in interface ScalarIMRpublic void setDefaultImCorrRel()
public void setImCorrRel(ImCorrelationRelationship imCorrRel)
public void setParamDefaults()
setParamDefaults in interface IntensityMeasureRelationshipprotected void initIndependentParamLists()
protected void initSupportedIntensityMeasureParams()
initSupportedIntensityMeasureParams in class AttenuationRelationshipprotected void initSiteParams()
AttenuationRelationship
initSiteParams in class AttenuationRelationshipprotected void initEqkRuptureParams()
AttenuationRelationship
initEqkRuptureParams in class AttenuationRelationshipprotected void initPropagationEffectParams()
AttenuationRelationship
initPropagationEffectParams in class AttenuationRelationshippublic String getName()
getName in interface NamedgetName in interface IntensityMeasureRelationshipgetName in class AbstractIMRpublic String getShortName()
getShortName in interface IntensityMeasureRelationshippublic void parameterChange(ParameterChangeEvent e)
parameterChange in interface ParameterChangeListenere - ParameterChangeEventpublic void resetParameterEventListeners()
resetParameterEventListeners in interface ScalarIMRresetParameterEventListeners in class AttenuationRelationshipprotected void initParameterEventListeners()
initParameterEventListeners in class AttenuationRelationship
public URL getInfoURL()
throws MalformedURLException
getInfoURL in interface IntensityMeasureRelationshipgetInfoURL in class AbstractIMRMalformedURLException - if returned URL is not a valid URL.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||