org.opensha.commons.calc.magScalingRelations.magScalingRelImpl
Class Shaw_2007_MagAreaRel

java.lang.Object
  extended by org.opensha.commons.calc.magScalingRelations.MagScalingRelationship
      extended by org.opensha.commons.calc.magScalingRelations.MagAreaRelationship
          extended by org.opensha.commons.calc.magScalingRelations.magScalingRelImpl.Shaw_2007_MagAreaRel
All Implemented Interfaces:
Serializable, Named

public class Shaw_2007_MagAreaRel
extends MagAreaRelationship

Title:Shaw_2007_MagAreaRel
Description: .

Version:
1.0
Author:
Edward H. Field
See Also:
Serialized Form

Field Summary
static String NAME
           
 
Fields inherited from class org.opensha.commons.calc.magScalingRelations.MagScalingRelationship
lnToLog, rake
 
Constructor Summary
Shaw_2007_MagAreaRel()
           
 
Method Summary
 double getAreaStdDev()
          This returns NaN because the value is not available
 double getMagStdDev()
          Gives the standard deviation for magnitude
 double getMedianArea(double mag)
          Computes the median rupture area from magnitude
 double getMedianMag(double area)
          Deprecated.  
 String getName()
          Returns the name of the object
static void main(String[] args)
           
 
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, setRake
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

Shaw_2007_MagAreaRel

public Shaw_2007_MagAreaRel()
Method Detail

getMedianMag

public double getMedianMag(double area)
Deprecated. 

Computes the median magnitude from rupture area.

Specified by:
getMedianMag in class MagAreaRelationship
Parameters:
area - in km
Returns:
median magnitude

getMagStdDev

public double getMagStdDev()
Gives the standard deviation for magnitude

Specified by:
getMagStdDev in class MagAreaRelationship
Returns:
standard deviation

getMedianArea

public double getMedianArea(double mag)
Computes the median rupture area from magnitude

Specified by:
getMedianArea in class MagAreaRelationship
Parameters:
mag - - moment magnitude
Returns:
median area in km

getAreaStdDev

public double getAreaStdDev()
This returns NaN because the value is not available

Specified by:
getAreaStdDev in class MagAreaRelationship
Returns:
standard deviation

getName

public String getName()
Returns the name of the object

Specified by:
getName in interface Named
Specified by:
getName in class MagScalingRelationship

main

public static void main(String[] args)