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:
java.util.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(java.lang.String inputFileName, java.lang.String dirName)
           
 
Method Summary
protected  void generateMedian(ScalarIMR imr, java.lang.String imtLine, java.lang.String dirName)
          Generates the Mean and Sigma files for selected Attenuation Relationship application
static void main(java.lang.String[] args)
           
protected  void parseFile()
           
protected  void setSite(java.lang.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(java.lang.String inputFileName,
                           java.lang.String dirName)
Method Detail

parseFile

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

setSite

protected void setSite(java.lang.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,
                              java.lang.String imtLine,
                              java.lang.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(java.lang.String[] args)
Parameters:
args -