|
||||||||||
| 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.MagLengthRelationship
public abstract class MagLengthRelationship
Title:MagLengthRelationship
Description: This is an abstract class that gives the median and standard
deviation of magnitude as a function of length (km) or visa versa. The
values can also be a function of rake. Note that the standard deviation for length
as a function of mag is given for natural-log(length) not length.
| Field Summary |
|---|
| Fields inherited from class org.opensha.commons.calc.magScalingRelations.MagScalingRelationship |
|---|
lnToLog, rake |
| Constructor Summary | |
|---|---|
MagLengthRelationship()
|
|
| Method Summary | |
|---|---|
abstract double |
getLengthStdDev()
Computes the standard deviation of log(length) (base-10) from magnitude (for the previously set or default rake) |
double |
getLengthStdDev(double rake)
Computes the standard deviation of log(length) (base-10) from magnitude & rake |
abstract double |
getMagStdDev()
Gives the standard deviation for the magnitude as a function of length (for the previously set or default rake) |
double |
getMagStdDev(double rake)
Gives the standard deviation for the magnitude as a function of length & rake |
abstract double |
getMedianLength(double mag)
Computes the median rupture length from magnitude (for the previously set or default rake) |
double |
getMedianLength(double mag,
double rake)
Computes the median rupture length from magnitude & rake |
abstract double |
getMedianMag(double length)
Computes the median magnitude from rupture length (for the previously set or default rake) |
double |
getMedianMag(double length,
double rake)
Computes the median magnitude from rupture length & rake |
double |
getMedianScale(double mag)
over-ride parent method to call getMedainLength(mag) here |
double |
getScaleStdDev()
over-ride parent method to call getLengthStdDev(mag) 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 MagLengthRelationship()
| Method Detail |
|---|
public abstract double getMedianMag(double length)
getMedianMag in class MagScalingRelationshiplength - in km
public double getMedianMag(double length,
double rake)
getMedianMag in class MagScalingRelationshiplength - in kmrake - in degrees
public abstract double getMagStdDev()
getMagStdDev in class MagScalingRelationshiplength - in km
public double getMagStdDev(double rake)
getMagStdDev in class MagScalingRelationshiplength - in kmrake - in degrees
public abstract double getMedianLength(double mag)
mag - - moment magnitude
public double getMedianLength(double mag,
double rake)
mag - - moment magnituderake - in degrees
public abstract double getLengthStdDev()
mag - - moment magnituderake - in degrees
public double getLengthStdDev(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 | |||||||||