org.opensha.sha.cybershake.maps
Class HardCodedInterpDiffMapCreator

java.lang.Object
  extended by org.opensha.sha.cybershake.maps.HardCodedInterpDiffMapCreator

public class HardCodedInterpDiffMapCreator
extends Object


Field Summary
protected static InterpDiffMap.InterpDiffMapType[] gainPlotTypes
           
protected static InterpDiffMap.InterpDiffMapType[] normPlotTypes
           
 
Constructor Summary
HardCodedInterpDiffMapCreator()
           
 
Method Summary
protected static String getCompareMap(boolean logPlot, List<Integer> dataset1IDs, List<Integer> dataset2IDs, int imTypeID, boolean isProbAt_IML, double val, String customLabel)
           
protected static String getMap(boolean logPlot, int velModelID, int datasetID, int imTypeID, Double customMin, Double customMax, boolean isProbAt_IML, double val, ScalarIMR baseMapIMR, ModProbConfig config, boolean probGain, String customLabel)
           
protected static String getMap(boolean logPlot, int velModelID, List<Integer> datasetIDs, int imTypeID, Double customMin, Double customMax, boolean isProbAt_IML, double val, ScalarIMR baseMapIMR, ModProbConfig config, boolean probGain, String customLabel)
           
static void main(String[] args)
           
protected static void setTruncation(ScalarIMR imr, double trunc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

normPlotTypes

protected static InterpDiffMap.InterpDiffMapType[] normPlotTypes

gainPlotTypes

protected static InterpDiffMap.InterpDiffMapType[] gainPlotTypes
Constructor Detail

HardCodedInterpDiffMapCreator

public HardCodedInterpDiffMapCreator()
Method Detail

setTruncation

protected static void setTruncation(ScalarIMR imr,
                                    double trunc)

main

public static void main(String[] args)
Parameters:
args -
Throws:
IOException
FileNotFoundException
ClassNotFoundException

getMap

protected static String getMap(boolean logPlot,
                               int velModelID,
                               int datasetID,
                               int imTypeID,
                               Double customMin,
                               Double customMax,
                               boolean isProbAt_IML,
                               double val,
                               ScalarIMR baseMapIMR,
                               ModProbConfig config,
                               boolean probGain,
                               String customLabel)
                        throws FileNotFoundException,
                               IOException,
                               ClassNotFoundException,
                               GMT_MapException,
                               SQLException
Throws:
FileNotFoundException
IOException
ClassNotFoundException
GMT_MapException
SQLException

getMap

protected static String getMap(boolean logPlot,
                               int velModelID,
                               List<Integer> datasetIDs,
                               int imTypeID,
                               Double customMin,
                               Double customMax,
                               boolean isProbAt_IML,
                               double val,
                               ScalarIMR baseMapIMR,
                               ModProbConfig config,
                               boolean probGain,
                               String customLabel)
                        throws FileNotFoundException,
                               IOException,
                               ClassNotFoundException,
                               GMT_MapException,
                               SQLException
Throws:
FileNotFoundException
IOException
ClassNotFoundException
GMT_MapException
SQLException

getCompareMap

protected static String getCompareMap(boolean logPlot,
                                      List<Integer> dataset1IDs,
                                      List<Integer> dataset2IDs,
                                      int imTypeID,
                                      boolean isProbAt_IML,
                                      double val,
                                      String customLabel)
                               throws FileNotFoundException,
                                      IOException,
                                      ClassNotFoundException,
                                      GMT_MapException,
                                      SQLException
Throws:
FileNotFoundException
IOException
ClassNotFoundException
GMT_MapException
SQLException