|
||||||||||
| 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
public abstract class MagAreaRelationship
Title:MagAreaRelationship
Description: This is an abstract class that gives the median and standard
deviation of magnitude as a function of area (km-squared) or visa versa. The
values can also be a function of rake. Note that the standard deviation for area
as a function of mag is given for natural-log(area) not area.
| Field Summary |
|---|
| Fields inherited from class org.opensha.commons.calc.magScalingRelations.MagScalingRelationship |
|---|
lnToLog, rake |
| Constructor Summary | |
|---|---|
MagAreaRelationship()
|
|
| Method Summary | |
|---|---|
abstract double |
getAreaStdDev()
Computes the standard deviation of log(area) (base-10) from magnitude (for the previously set or default rake) |
double |
getAreaStdDev(double rake)
Computes the standard deviation of log(area) (base-10) from magnitude & rake |
ArbitrarilyDiscretizedFunc |
getMagAreaFunction(double areaMin,
double areaMax,
int numArea)
This returns an ArbitrarilyDiscretizedFunc with Mag on the y-axis and Area on the x-axis (sampled at the given mag increments) |
abstract double |
getMagStdDev()
Gives the standard deviation for the magnitude as a function of area (for the previously set or default rake) |
double |
getMagStdDev(double rake)
Gives the standard deviation for the magnitude as a function of area & rake |
abstract double |
getMedianArea(double mag)
Computes the median rupture area from magnitude (for the previously set or default rake) |
double |
getMedianArea(double mag,
double rake)
Computes the median rupture area from magnitude & rake |
abstract double |
getMedianMag(double area)
Computes the median magnitude from rupture area |
double |
getMedianMag(double area,
double rake)
Computes the median magnitude from rupture area & rake |
double |
getMedianScale(double mag)
over-ride parent method to call getMedainArea(mag) here |
double |
getScaleStdDev()
over-ride parent method to call getAreaStdDev() here |
| Methods inherited from class org.opensha.commons.calc.magScalingRelations.MagScalingRelationship |
|---|
getMedianScale, getName, getScaleStdDev, setRake |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MagAreaRelationship()
| Method Detail |
|---|
public ArbitrarilyDiscretizedFunc getMagAreaFunction(double areaMin,
double areaMax,
int numArea)
minMag - deltaMag - numMag -
public abstract double getMedianMag(double area)
getMedianMag in class MagScalingRelationshiparea - in km-squared
public double getMedianMag(double area,
double rake)
getMedianMag in class MagScalingRelationshiparea - in km-squaredrake - in degrees
public abstract double getMagStdDev()
getMagStdDev in class MagScalingRelationshiparea - in km-squared
public double getMagStdDev(double rake)
getMagStdDev in class MagScalingRelationshiparea - in km-squaredrake - in degrees
public abstract double getMedianArea(double mag)
mag - - moment magnitude
public double getMedianArea(double mag,
double rake)
mag - - moment magnituderake - in degrees
public abstract double getAreaStdDev()
mag - - moment magnituderake - in degrees
public double getAreaStdDev(double rake)
mag - - moment magnituderake - in degrees
public double getMedianScale(double mag)
getMedianScale in class MagScalingRelationshippublic double getScaleStdDev()
getScaleStdDev in class MagScalingRelationship
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||