|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.commons.calc.magScalingRelations.MagScalingRelationship
org.opensha.commons.calc.magScalingRelations.MagAreaRelationship
org.opensha.commons.calc.magScalingRelations.magScalingRelImpl.WC1994_MagAreaRelationship
public class WC1994_MagAreaRelationship
Title:WC1994_MagAreaRelationship
Description: This implements the Wells and Coppersmith (1994, Bull.
Seism. Soc. Am., pages 974-2002) magnitude versus rupture area relationships. The
values are a function of rake. Setting the rake to Double.NaN causes their "All"
rupture-types to be applied (and this is the default value for rake). Note that the
standard deviation for area as a function of mag is given for log(area) (base-10)
not area.
| Field Summary | |
|---|---|
static String |
NAME
|
| Fields inherited from class org.opensha.commons.calc.magScalingRelations.MagScalingRelationship |
|---|
lnToLog, rake |
| Constructor Summary | |
|---|---|
WC1994_MagAreaRelationship()
no-argument constructor. |
|
| Method Summary | |
|---|---|
double |
getAreaStdDev()
Computes the standard deviation of log(area) (base-10) from magnitude (for the previously set or default rake) |
double |
getMagStdDev()
Gives the standard deviation for the magnitude as a function of area (for the previously set or default rake). |
double |
getMedianArea(double mag)
Computes the median rupture area from magnitude (for the previously set or default rake). |
double |
getMedianMag(double area)
Computes the median magnitude from rupture area (for the previously set or default rake). |
String |
getName()
Returns the name of the object |
void |
setRake(double rake)
This overides the parent method to allow a value of Double.NaN (which is used to designate the "All" rupture-types option here). |
| Methods inherited from class org.opensha.commons.calc.magScalingRelations.MagAreaRelationship |
|---|
getAreaStdDev, getMagAreaFunction, getMagStdDev, getMedianArea, getMedianMag, getMedianScale, getScaleStdDev |
| Methods inherited from class org.opensha.commons.calc.magScalingRelations.MagScalingRelationship |
|---|
getMedianScale, getScaleStdDev |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
| Constructor Detail |
|---|
public WC1994_MagAreaRelationship()
| Method Detail |
|---|
public double getMedianMag(double area)
getMedianMag in class MagAreaRelationshiparea - in km
public double getMagStdDev()
getMagStdDev in class MagAreaRelationshiparea - in km
public double getMedianArea(double mag)
getMedianArea in class MagAreaRelationshipmag - - moment magnitude
public double getAreaStdDev()
getAreaStdDev in class MagAreaRelationshipmag - - moment magnituderake - in degrees
public void setRake(double rake)
setRake in class MagScalingRelationshiprake - public String getName()
getName in interface NamedgetName in class MagScalingRelationship
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||