org.opensha.sha.gcim.ui.infoTools
Class IMT_Info

java.lang.Object
  extended by org.opensha.sha.gcim.ui.infoTools.IMT_Info

public final class IMT_Info
extends java.lang.Object

Title: IMT_Info

Description: This class provides the default X values for the selected IMT. The discretization is done in the

Version:
1.0
Author:
: Edward (Ned) Field and Nitin Gupta

Field Summary
static double DEFAULT_ASI
           
static double DEFAULT_CAV
           
static double DEFAULT_Ds575
           
static double DEFAULT_Ds595
           
static double DEFAULT_DSI
           
static double DEFAULT_FAULT_DISPL
           
static double DEFAULT_IA
           
static double DEFAULT_MMI
           
static double DEFAULT_PGA
           
static double DEFAULT_PGV
           
static double DEFAULT_SA
           
static double DEFAULT_SI
           
 double discretization_asi
           
 double discretization_cav
           
 double discretization_ds575
           
 double discretization_ds595
           
 double discretization_dsi
           
 double discretization_fault_displ
           
 double discretization_ia
           
 double discretization_mmi
           
 double discretization_pga
           
 double discretization_pgv
           
 double discretization_sa
           
 double discretization_si
           
static double MAX_ASI
           
static double MAX_CAV
           
static double MAX_Ds575
           
static double MAX_Ds595
           
static double MAX_DSI
           
static double MAX_FAULT_DISPL
           
static double MAX_IA
           
static double MAX_MMI
           
static double MAX_PGA
           
static double MAX_PGV
           
static double MAX_SA
           
static double MAX_SI
           
static double MIN_ASI
           
static double MIN_CAV
           
static double MIN_Ds575
           
static double MIN_Ds595
           
static double MIN_DSI
           
static double MIN_FAULT_DISPL
           
static double MIN_IA
           
static double MIN_MMI
           
static double MIN_PGA
           
static double MIN_PGV
           
static double MIN_SA
           
static double MIN_SI
           
static double NUM_ASI
           
static double NUM_CAV
           
static double NUM_Ds575
           
static double NUM_Ds595
           
static double NUM_DSI
           
static double NUM_FAULT_DISPL
           
static double NUM_IA
           
static double NUM_MMI
           
static double NUM_PGA
           
static double NUM_PGV
           
static double NUM_SA
           
static double NUM_SI
           
 
Constructor Summary
IMT_Info()
           
 
Method Summary
 ArbitrarilyDiscretizedFunc getDefaultHazardCurve(Parameter imtParam)
          This function returns the ArbitrarilyDiscretizedFunc X values for the Hazard Curve in the linear space after discretizing them in the log space.
 ArbitrarilyDiscretizedFunc getDefaultHazardCurve(java.lang.String imtName)
          This function returns the ArbitrarilyDiscretizedFunc X values for the Hazard Curve in the linear space after discretizing them in the log space.
static double getDefaultIMT_VAL(java.lang.String imt)
          Returns the default values for the selectd IMT
static double getMaxIMT_Val(java.lang.String imt)
          Returns the maximum default value for the selectd IMT
static double getMinIMT_Val(java.lang.String imt)
          Returns the minimum default value for the selectd IMT
static double getNumIMT_Val(java.lang.String imt)
          Returns the total number of values for the selectd IMT
static ArbitrarilyDiscretizedFunc getUSGS_PGA_Function()
          initialises the function with the x and y values if the user has chosen the USGS-PGA X Vals the y values are modified with the values entered by the user
static ArbitrarilyDiscretizedFunc getUSGS_SA_01_AND_02_Function()
          initialises the function with the x and y values if the user has chosen the USGS-PGA X Vals the y values are modified with the values entered by the user
static ArbitrarilyDiscretizedFunc getUSGS_SA_Function()
          initialises the function with the x and y values if the user has chosen the USGS SA 0.3,0.4,0.5 and 1.0sec X Vals ,the y values are modified with the values entered by the user
static boolean isIMT_LogNormalDist(Parameter imtParam)
           
static boolean isIMT_LogNormalDist(java.lang.String imt)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_SA

public static final double MIN_SA
See Also:
Constant Field Values

MAX_SA

public static final double MAX_SA
See Also:
Constant Field Values

NUM_SA

public static final double NUM_SA
See Also:
Constant Field Values

DEFAULT_SA

public static final double DEFAULT_SA
See Also:
Constant Field Values

MIN_PGA

public static final double MIN_PGA
See Also:
Constant Field Values

MAX_PGA

public static final double MAX_PGA
See Also:
Constant Field Values

NUM_PGA

public static final double NUM_PGA
See Also:
Constant Field Values

DEFAULT_PGA

public static final double DEFAULT_PGA
See Also:
Constant Field Values

MIN_PGV

public static final double MIN_PGV
See Also:
Constant Field Values

MAX_PGV

public static final double MAX_PGV
See Also:
Constant Field Values

NUM_PGV

public static final double NUM_PGV
See Also:
Constant Field Values

DEFAULT_PGV

public static final double DEFAULT_PGV
See Also:
Constant Field Values

MIN_FAULT_DISPL

public static final double MIN_FAULT_DISPL
See Also:
Constant Field Values

MAX_FAULT_DISPL

public static final double MAX_FAULT_DISPL
See Also:
Constant Field Values

NUM_FAULT_DISPL

public static final double NUM_FAULT_DISPL
See Also:
Constant Field Values

DEFAULT_FAULT_DISPL

public static final double DEFAULT_FAULT_DISPL
See Also:
Constant Field Values

MIN_MMI

public static final double MIN_MMI
See Also:
Constant Field Values

MAX_MMI

public static final double MAX_MMI
See Also:
Constant Field Values

NUM_MMI

public static final double NUM_MMI
See Also:
Constant Field Values

DEFAULT_MMI

public static final double DEFAULT_MMI
See Also:
Constant Field Values

MIN_IA

public static final double MIN_IA
See Also:
Constant Field Values

MAX_IA

public static final double MAX_IA
See Also:
Constant Field Values

NUM_IA

public static final double NUM_IA
See Also:
Constant Field Values

DEFAULT_IA

public static final double DEFAULT_IA
See Also:
Constant Field Values

MIN_SI

public static final double MIN_SI
See Also:
Constant Field Values

MAX_SI

public static final double MAX_SI
See Also:
Constant Field Values

NUM_SI

public static final double NUM_SI
See Also:
Constant Field Values

DEFAULT_SI

public static final double DEFAULT_SI
See Also:
Constant Field Values

MIN_ASI

public static final double MIN_ASI
See Also:
Constant Field Values

MAX_ASI

public static final double MAX_ASI
See Also:
Constant Field Values

NUM_ASI

public static final double NUM_ASI
See Also:
Constant Field Values

DEFAULT_ASI

public static final double DEFAULT_ASI
See Also:
Constant Field Values

MIN_DSI

public static final double MIN_DSI
See Also:
Constant Field Values

MAX_DSI

public static final double MAX_DSI
See Also:
Constant Field Values

NUM_DSI

public static final double NUM_DSI
See Also:
Constant Field Values

DEFAULT_DSI

public static final double DEFAULT_DSI
See Also:
Constant Field Values

MIN_CAV

public static final double MIN_CAV
See Also:
Constant Field Values

MAX_CAV

public static final double MAX_CAV
See Also:
Constant Field Values

NUM_CAV

public static final double NUM_CAV
See Also:
Constant Field Values

DEFAULT_CAV

public static final double DEFAULT_CAV
See Also:
Constant Field Values

MIN_Ds575

public static final double MIN_Ds575
See Also:
Constant Field Values

MAX_Ds575

public static final double MAX_Ds575
See Also:
Constant Field Values

NUM_Ds575

public static final double NUM_Ds575
See Also:
Constant Field Values

DEFAULT_Ds575

public static final double DEFAULT_Ds575
See Also:
Constant Field Values

MIN_Ds595

public static final double MIN_Ds595
See Also:
Constant Field Values

MAX_Ds595

public static final double MAX_Ds595
See Also:
Constant Field Values

NUM_Ds595

public static final double NUM_Ds595
See Also:
Constant Field Values

DEFAULT_Ds595

public static final double DEFAULT_Ds595
See Also:
Constant Field Values

discretization_pga

public double discretization_pga

discretization_sa

public double discretization_sa

discretization_pgv

public double discretization_pgv

discretization_fault_displ

public double discretization_fault_displ

discretization_mmi

public double discretization_mmi

discretization_ia

public double discretization_ia

discretization_si

public double discretization_si

discretization_asi

public double discretization_asi

discretization_dsi

public double discretization_dsi

discretization_cav

public double discretization_cav

discretization_ds575

public double discretization_ds575

discretization_ds595

public double discretization_ds595
Constructor Detail

IMT_Info

public IMT_Info()
Method Detail

getDefaultHazardCurve

public ArbitrarilyDiscretizedFunc getDefaultHazardCurve(Parameter imtParam)
This function returns the ArbitrarilyDiscretizedFunc X values for the Hazard Curve in the linear space after discretizing them in the log space.

Parameters:
param - : Selected IMT Param
Returns:

getDefaultHazardCurve

public ArbitrarilyDiscretizedFunc getDefaultHazardCurve(java.lang.String imtName)
This function returns the ArbitrarilyDiscretizedFunc X values for the Hazard Curve in the linear space after discretizing them in the log space.

Parameters:
imtName - : Name of the selected IMT
Returns:

getMinIMT_Val

public static double getMinIMT_Val(java.lang.String imt)
Returns the minimum default value for the selectd IMT

Parameters:
imt: - Selected IMT
Returns:

getMaxIMT_Val

public static double getMaxIMT_Val(java.lang.String imt)
Returns the maximum default value for the selectd IMT

Parameters:
imt: - Selected IMT
Returns:

getNumIMT_Val

public static double getNumIMT_Val(java.lang.String imt)
Returns the total number of values for the selectd IMT

Parameters:
imt: - Selected IMT
Returns:

getDefaultIMT_VAL

public static double getDefaultIMT_VAL(java.lang.String imt)
Returns the default values for the selectd IMT

Parameters:
imt: - Selected IMT
Returns:

isIMT_LogNormalDist

public static boolean isIMT_LogNormalDist(java.lang.String imt)
Parameters:
imt - : Name of the seleceted IMT
Returns:
true if the selected IMT is PGA, PGV or SA else returns false

getUSGS_PGA_Function

public static ArbitrarilyDiscretizedFunc getUSGS_PGA_Function()
initialises the function with the x and y values if the user has chosen the USGS-PGA X Vals the y values are modified with the values entered by the user


getUSGS_SA_01_AND_02_Function

public static ArbitrarilyDiscretizedFunc getUSGS_SA_01_AND_02_Function()
initialises the function with the x and y values if the user has chosen the USGS-PGA X Vals the y values are modified with the values entered by the user


getUSGS_SA_Function

public static ArbitrarilyDiscretizedFunc getUSGS_SA_Function()
initialises the function with the x and y values if the user has chosen the USGS SA 0.3,0.4,0.5 and 1.0sec X Vals ,the y values are modified with the values entered by the user


isIMT_LogNormalDist

public static boolean isIMT_LogNormalDist(Parameter imtParam)
Parameters:
imtParam - : IMT Parameter
Returns:
true if the selected IMT is PGA, PGV or SA else returns false

main

public static void main(java.lang.String[] args)