org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.analysis
Class NoCalSoCalMFDsPlotter

java.lang.Object
  extended by org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.analysis.LogicTreeMFDsPlotter
      extended by org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.analysis.NoCalSoCalMFDsPlotter

public class NoCalSoCalMFDsPlotter
extends LogicTreeMFDsPlotter

This class is used to generate MFDs for NoCal and SoCal Regions. These MFDs were depicted in UCERF2 report. An email was sent to Ned that listed steps to generated the MFD figures. This accepts a region and hence can be used to generate MFDs for any region.

Author:
vipingupta

Field Summary
 
Fields inherited from class org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.analysis.LogicTreeMFDsPlotter
A_FAULTS_MFD_FILENAME, aFaultMFDsList, B_FAULTS_CHAR_MFD_FILENAME, B_FAULTS_GR_MFD_FILENAME, bFaultCharMFDsList, bFaultGRMFDsList, funcs, NON_CA_B_FAULTS_MFD_FILENAME, nonCA_B_FaultsMFDsList, PLOT_CHAR1, PLOT_CHAR10, PLOT_CHAR2, PLOT_CHAR3, PLOT_CHAR4, PLOT_CHAR5, PLOT_CHAR6, PLOT_CHAR7, PLOT_CHAR8, PLOT_CHAR9, plottingFeaturesList, TOT_MFD_FILENAME, totMFDsList, ucerf2
 
Constructor Summary
NoCalSoCalMFDsPlotter(Region region)
          Set the region for which MFDs need to be calculated
 
Method Summary
protected  double getCumRateAt6_5(IncrementalMagFreqDist mfd)
          Cum rate at 6.5
protected  double getMaxMag()
          Max Mag
protected  double getMinMag()
          Min Mag
protected  int getNumMags()
          Get num Mag
protected  ArrayList<EvenlyDiscretizedFunc> getObsCumMFD(UCERF2 ucerf2)
          Get Observed Cum MFD
protected  ArrayList<ArbitrarilyDiscretizedFunc> getObsIncrMFD(UCERF2 ucerf2)
          Get Observed Incr MFD
protected  IncrementalMagFreqDist getTotal_A_FaultsMFD(UCERF2 ucerf2)
          Get A_Faults MFD
protected  IncrementalMagFreqDist getTotal_B_FaultsCharMFD(UCERF2 ucerf2)
          Get B_Faults Char MFD
protected  IncrementalMagFreqDist getTotal_B_FaultsGR_MFD(UCERF2 ucerf2)
          Get B_Faults GR MFD
protected  IncrementalMagFreqDist getTotal_BackgroundMFD(UCERF2 ucerf2)
          Get Background MFD
protected  IncrementalMagFreqDist getTotal_C_ZoneMFD(UCERF2 ucerf2)
          Get C-Zones MFD
protected  IncrementalMagFreqDist getTotal_NonCA_B_FaultsMFD(UCERF2 ucerf2)
          Get Non CA B_Faults MFD
protected  IncrementalMagFreqDist getTotalMFD(UCERF2 ucerf2)
          It assumes here that this method is called after calling getMFDs for all source types Get Total MFD.
static void main(String[] args)
           
 
Methods inherited from class org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.analysis.LogicTreeMFDsPlotter
doWeightedSum, generateMFDsData, getCurveFunctionList, getPlottingFeatures, getUserMaxX, getUserMaxY, getUserMinX, getUserMinY, getXAxisLabel, getXLog, getYAxisLabel, getYLog, isCustomAxis, plotMFDs, readMFDsFromFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoCalSoCalMFDsPlotter

public NoCalSoCalMFDsPlotter(Region region)
Set the region for which MFDs need to be calculated

Parameters:
region -
Method Detail

getTotal_A_FaultsMFD

protected IncrementalMagFreqDist getTotal_A_FaultsMFD(UCERF2 ucerf2)
Get A_Faults MFD

Overrides:
getTotal_A_FaultsMFD in class LogicTreeMFDsPlotter
Parameters:
ucerf2 -
Returns:

getTotal_B_FaultsCharMFD

protected IncrementalMagFreqDist getTotal_B_FaultsCharMFD(UCERF2 ucerf2)
Get B_Faults Char MFD

Overrides:
getTotal_B_FaultsCharMFD in class LogicTreeMFDsPlotter
Parameters:
ucerf2 -
Returns:

getTotal_B_FaultsGR_MFD

protected IncrementalMagFreqDist getTotal_B_FaultsGR_MFD(UCERF2 ucerf2)
Get B_Faults GR MFD

Overrides:
getTotal_B_FaultsGR_MFD in class LogicTreeMFDsPlotter
Parameters:
ucerf2 -
Returns:

getTotal_NonCA_B_FaultsMFD

protected IncrementalMagFreqDist getTotal_NonCA_B_FaultsMFD(UCERF2 ucerf2)
Get Non CA B_Faults MFD

Overrides:
getTotal_NonCA_B_FaultsMFD in class LogicTreeMFDsPlotter
Parameters:
ucerf2 -
Returns:

getTotalMFD

protected IncrementalMagFreqDist getTotalMFD(UCERF2 ucerf2)
It assumes here that this method is called after calling getMFDs for all source types Get Total MFD.

Overrides:
getTotalMFD in class LogicTreeMFDsPlotter
Parameters:
ucerf2 -
Returns:

getObsCumMFD

protected ArrayList<EvenlyDiscretizedFunc> getObsCumMFD(UCERF2 ucerf2)
Get Observed Cum MFD

Overrides:
getObsCumMFD in class LogicTreeMFDsPlotter
Parameters:
ucerf2 -
Returns:

getTotal_C_ZoneMFD

protected IncrementalMagFreqDist getTotal_C_ZoneMFD(UCERF2 ucerf2)
Get C-Zones MFD

Overrides:
getTotal_C_ZoneMFD in class LogicTreeMFDsPlotter
Parameters:
ucerf2 -
Returns:

getTotal_BackgroundMFD

protected IncrementalMagFreqDist getTotal_BackgroundMFD(UCERF2 ucerf2)
Get Background MFD

Overrides:
getTotal_BackgroundMFD in class LogicTreeMFDsPlotter
Parameters:
ucerf2 -
Returns:

getObsIncrMFD

protected ArrayList<ArbitrarilyDiscretizedFunc> getObsIncrMFD(UCERF2 ucerf2)
Get Observed Incr MFD

Overrides:
getObsIncrMFD in class LogicTreeMFDsPlotter
Parameters:
ucerf2 -
Returns:

getCumRateAt6_5

protected double getCumRateAt6_5(IncrementalMagFreqDist mfd)
Cum rate at 6.5

Overrides:
getCumRateAt6_5 in class LogicTreeMFDsPlotter
Parameters:
mfd -
Returns:

getMinMag

protected double getMinMag()
Min Mag

Overrides:
getMinMag in class LogicTreeMFDsPlotter
Returns:

getMaxMag

protected double getMaxMag()
Max Mag

Overrides:
getMaxMag in class LogicTreeMFDsPlotter
Returns:

getNumMags

protected int getNumMags()
Get num Mag

Overrides:
getNumMags in class LogicTreeMFDsPlotter
Returns:

main

public static void main(String[] args)