org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.gui
Class CreateHistogramsFromSegSlipRateFile

java.lang.Object
  extended by org.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.gui.CreateHistogramsFromSegSlipRateFile

public class CreateHistogramsFromSegSlipRateFile
extends Object

Author:
vipingupta

Constructor Summary
CreateHistogramsFromSegSlipRateFile(ArrayList funcList, String xAxisLabel, String yAxisLabel)
           
 
Method Summary
static void createHistogramPlots(String masterDirName, String excelSheetName)
          Create the histograms from segment recurrence interval file.
static void createHistogramPlots(String masterDirName, String excelSheetName, String faultName, String segName)
          Create the histograms from segment recurrence interval file.
 ArrayList<PlotCurveCharacterstics> getPlottingFeatures()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateHistogramsFromSegSlipRateFile

public CreateHistogramsFromSegSlipRateFile(ArrayList funcList,
                                           String xAxisLabel,
                                           String yAxisLabel)
Method Detail

getPlottingFeatures

public ArrayList<PlotCurveCharacterstics> getPlottingFeatures()

createHistogramPlots

public static void createHistogramPlots(String masterDirName,
                                        String excelSheetName)
Create the histograms from segment recurrence interval file. It creates a plot for each slip Model and Mag Area Relationship combination. Plot can be created for 1 segment or for all segments. It creates plots and saves PDFs in A_FaultRupRatesPlots_2_1 subdirectory in masterDirectory

Parameters:
masterDirName - MasterDirectoty where A_FaultRupRatesPlots_2_1 will be created
excelSheetName - Absolute pathname to excel file

createHistogramPlots

public static void createHistogramPlots(String masterDirName,
                                        String excelSheetName,
                                        String faultName,
                                        String segName)
Create the histograms from segment recurrence interval file. It creates a plot for each slip Model and Mag Area Relationship combination. Plot can be created for 1 segment or for all segments. It creates plots and saves PDFs in A_FaultRupRatesPlots_2_1 subdirectory in masterDirectory

Parameters:
masterDirName - MasterDirectoty where A_FaultRupRatesPlots_2_1 will be created
excelSheetName - Absolute pathname to excel file