org.opensha.sha.cybershake
Class IML_Calc_Cybershake

java.lang.Object
  extended by org.opensha.sha.cybershake.MedianCalc_Cybershake
      extended by org.opensha.sha.cybershake.IML_Calc_Cybershake
All Implemented Interfaces:
EventListener, ParameterChangeWarningListener

public class IML_Calc_Cybershake
extends MedianCalc_Cybershake

Author:
nitingupta

Field Summary
 
Fields inherited from class org.opensha.sha.cybershake.MedianCalc_Cybershake
basinDepthVals, dirName, forecast, format, inputFileName, locList, MEAN, MIN_DIST, SIGMA, siteForSourceCutOff, sourceCutOffDistance, supportedAttenuationsList, supportedIMTs, willsSiteClassVals
 
Constructor Summary
IML_Calc_Cybershake(String inputFileName, String dirName)
           
 
Method Summary
protected  void generateMedian(ScalarIMR imr, String imtLine, String dirName)
          Generates the Mean and Sigma files for selected Attenuation Relationship application
static void main(String[] args)
           
protected  void parseFile()
           
protected  void setSite(String line)
          Gets the list of locations with their Wills Site Class values
 
Methods inherited from class org.opensha.sha.cybershake.MedianCalc_Cybershake
createSiteList, getERF, getMedian, parameterChangeWarning, setIMR, setIMT, setRupOffset, setSiteParamsInIMR, toApplyBackGroud
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IML_Calc_Cybershake

public IML_Calc_Cybershake(String inputFileName,
                           String dirName)
Method Detail

parseFile

protected void parseFile()
                  throws FileNotFoundException,
                         IOException
Overrides:
parseFile in class MedianCalc_Cybershake
Throws:
FileNotFoundException
IOException

setSite

protected void setSite(String line)
Gets the list of locations with their Wills Site Class values

Overrides:
setSite in class MedianCalc_Cybershake
Parameters:
line - String

generateMedian

protected void generateMedian(ScalarIMR imr,
                              String imtLine,
                              String dirName)
Generates the Mean and Sigma files for selected Attenuation Relationship application

Overrides:
generateMedian in class MedianCalc_Cybershake
Parameters:
imr - AttenuationRelationshipAPI
dirName - String

main

public static void main(String[] args)
Parameters:
args -