|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.gcim.imCorrRel.ImCorrelationRelationship
public abstract class ImCorrelationRelationship
Title:ImCorrelationRelationship
Description: This is an abstract class that gives the Pearson correlation
coefficient between (the natural logarithm of) two different intensity measures
| Field Summary | |
|---|---|
protected ASI_Param |
asiParam
|
protected CAV_Param |
cavParam
|
protected Ds575_Param |
ds575Param
|
protected Ds595_Param |
ds595Param
|
protected DSI_Param |
dsiParam
|
protected IA_Param |
iaParam
|
protected Parameter |
imi
Intensity Measurei. |
protected Parameter |
imj
Intensity Measurej. |
protected boolean |
intensityMeasureiChanged
|
protected boolean |
intensityMeasurejChanged
|
protected PeriodInterpolatedParam |
InterpPeriodiParam
|
protected PeriodInterpolatedParam |
InterpPeriodjParam
|
protected ParameterList |
otherParams
ParameterList of other parameters. |
protected PGA_Param |
pgaParam
The supported IM parameters for which correlation equations can be developed |
protected PGD_Param |
pgdParam
|
protected PGV_Param |
pgvParam
|
protected DampingParam |
saiDampingParam
|
protected SA_InterpolatedParam |
saiInterpParam
|
protected SA_Param |
saiParam
|
protected DampingParam |
sajDampingParam
|
protected SA_InterpolatedParam |
sajInterpParam
|
protected SA_Param |
sajParam
|
protected PeriodParam |
saPeriodiParam
|
protected PeriodParam |
saPeriodjParam
|
protected SI_Param |
siParam
|
protected ArrayList<Parameter<?>> |
supportedIMiParams
This creates the supported intensity-measure i ParameterList. |
protected ArrayList<Parameter<?>> |
supportedIMjParams
This creates the supported intensity-measure j ParameterList. |
protected ParameterList |
supportedImParams
|
protected TectonicRegionTypeParam |
tectonicRegionTypeParam
|
protected double |
ti
The spectral period for IMi and IMj (when either are SA). |
protected double |
tj
|
| Constructor Summary | |
|---|---|
ImCorrelationRelationship()
|
|
| Method Summary | |
|---|---|
abstract double |
getImCorrelation()
Computes the correlation between two intensity measures (neither of which are spectral acceleration) |
double |
getImCorrelation(double ti)
Computes the correlation between two intensity measures (one of which is spectral acceleration) |
double |
getImCorrelation(double ti,
double tj)
Computes the correlation between two intensity measures (both of which are spectral acceleration) |
Parameter |
getIntensityMeasurei()
Gets a reference to the currently chosen Intensity-Measure i Parameters from the IMCorrRel. |
Parameter |
getIntensityMeasurej()
Gets a reference to the currently chosen Intensity-Measure j Parameters from the IMCorrRel. |
abstract String |
getName()
Returns the name of the object |
ListIterator<Parameter<?>> |
getOtherParamsIterator()
Returns an iterator over all other parameters. |
ParameterList |
getOtherParamsList()
|
Parameter |
getParameter(String name)
Returns a pointer to a parameter if it exists in one of the parameter lists |
abstract String |
getShortName()
Returns the short name of the object |
ArrayList<Parameter<?>> |
getSupportedIntensityMeasuresiList()
Returns a list of all supported Intensity-Measure i Parameters. |
ArrayList<Parameter<?>> |
getSupportedIntensityMeasuresjList()
Returns a list of all supported Intensity-Measure j Parameters. |
protected void |
initOtherParams()
This creates the otherParams list. |
boolean |
isIntensityMeasureiSupported(String intensityMeasureiName)
Checks if the Parameter is a supported intensity-Measure i (checking only the name). |
boolean |
isIntensityMeasurejSupported(String intensityMeasurejName)
Checks if the Parameter is a supported intensity-Measure j (checking only the name). |
boolean |
isTectonicRegionSupported(String tectRegionName)
Tells whether the given tectonic region is supported |
boolean |
isTectonicRegionSupported(TectonicRegionType tectRegion)
Tells whether the given tectonic region is supported |
void |
setIntensityMeasurei(String intensityMeasureiName)
This sets the intensityMeasure i parameter as that of the name passed in ; no value (level) is set, nor are any of the IMi's independent parameters set (since it's only given the name). |
void |
setIntensityMeasurej(String intensityMeasurejName)
This sets the intensityMeasure j parameter as that of the name passed in ; no value (level) is set, nor are any of the IMj's independent parameters set (since it's only given the name). |
void |
setTi(double ti)
|
void |
setTj(double tj)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PGA_Param pgaParam
protected PGV_Param pgvParam
protected PGD_Param pgdParam
protected SA_Param saiParam
protected PeriodParam saPeriodiParam
protected SA_Param sajParam
protected PeriodParam saPeriodjParam
protected SA_InterpolatedParam saiInterpParam
protected PeriodInterpolatedParam InterpPeriodiParam
protected SA_InterpolatedParam sajInterpParam
protected PeriodInterpolatedParam InterpPeriodjParam
protected DampingParam saiDampingParam
protected DampingParam sajDampingParam
protected IA_Param iaParam
protected SI_Param siParam
protected ASI_Param asiParam
protected DSI_Param dsiParam
protected CAV_Param cavParam
protected Ds575_Param ds575Param
protected Ds595_Param ds595Param
protected ParameterList supportedImParams
protected TectonicRegionTypeParam tectonicRegionTypeParam
protected double ti
protected double tj
protected Parameter imi
protected Parameter imj
protected boolean intensityMeasureiChanged
protected boolean intensityMeasurejChanged
protected ArrayList<Parameter<?>> supportedIMiParams
protected ArrayList<Parameter<?>> supportedIMjParams
protected ParameterList otherParams
| Constructor Detail |
|---|
public ImCorrelationRelationship()
| Method Detail |
|---|
public abstract double getImCorrelation()
public double getImCorrelation(double ti)
public double getImCorrelation(double ti,
double tj)
public void setTi(double ti)
public void setTj(double tj)
public Parameter getParameter(String name)
throws ParameterException
name - Parameter key for lookup
ParameterException - If parameter with that name doesn't existpublic Parameter getIntensityMeasurei()
public Parameter getIntensityMeasurej()
public ArrayList<Parameter<?>> getSupportedIntensityMeasuresiList()
public ArrayList<Parameter<?>> getSupportedIntensityMeasuresjList()
public void setIntensityMeasurei(String intensityMeasureiName)
throws RuntimeException
intensityMeasureiName - The new intensityMeasureiParameter name
RuntimeException
public void setIntensityMeasurej(String intensityMeasurejName)
throws RuntimeException
intensityMeasurejName - The new intensityMeasurejParameter name
RuntimeExceptionpublic boolean isIntensityMeasureiSupported(String intensityMeasureiName)
intensityMeasurei - Name of the intensity Measure I parameter
public boolean isIntensityMeasurejSupported(String intensityMeasurejName)
intensityMeasurej - Name of the intensity Measure j parameter
public ListIterator<Parameter<?>> getOtherParamsIterator()
public ParameterList getOtherParamsList()
protected void initOtherParams()
public boolean isTectonicRegionSupported(String tectRegionName)
tectRegionName -
public boolean isTectonicRegionSupported(TectonicRegionType tectRegion)
tectRegion -
public abstract String getName()
getName in interface Namedpublic abstract String getShortName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||