org.opensha.sha.cybershake.maps
Class HardCodedInterpDiffMapCreator

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

public class HardCodedInterpDiffMapCreator
extends java.lang.Object


Field Summary
protected static InterpDiffMap.InterpDiffMapType[] gainPlotTypes
           
protected static InterpDiffMap.InterpDiffMapType[] normPlotTypes
           
 
Constructor Summary
HardCodedInterpDiffMapCreator()
           
 
Method Summary
protected static java.lang.String getCompareMap(boolean logPlot, java.util.List<java.lang.Integer> dataset1IDs, java.util.List<java.lang.Integer> dataset2IDs, int imTypeID, boolean isProbAt_IML, double val, java.lang.String customLabel)
           
protected static java.lang.String getMap(boolean logPlot, int velModelID, int datasetID, int imTypeID, java.lang.Double customMin, java.lang.Double customMax, boolean isProbAt_IML, double val, ScalarIMR baseMapIMR, ModProbConfig config, boolean probGain, java.lang.String customLabel)
           
static java.lang.String getMap(boolean logPlot, int velModelID, java.util.List<java.lang.Integer> datasetIDs, int imTypeID, java.lang.Double customMin, java.lang.Double customMax, boolean isProbAt_IML, double val, ScalarIMR baseMapIMR, ModProbConfig config, boolean probGain, java.lang.String customLabel)
           
static void main(java.lang.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(java.lang.String[] args)
Parameters:
args -
Throws:
java.io.IOException
java.io.FileNotFoundException
java.lang.ClassNotFoundException

getMap

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

getMap

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

getCompareMap

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