org.opensha.nshmp.sha.calc
Class UHS_SpectrumCalculator

java.lang.Object
  extended by org.opensha.nshmp.sha.calc.SpectrumCalculator
      extended by org.opensha.nshmp.sha.calc.UHS_SpectrumCalculator

public class UHS_SpectrumCalculator
extends SpectrumCalculator

Title: UHS_SpectrumCalculator

Description: This class calculates the Uniform Hazard Spectrum values.

Version:
1.0
Author:
Ned Field, Nitin Gupta and Vipin Gupta

Field Summary
 
Fields inherited from class org.opensha.nshmp.sha.calc.SpectrumCalculator
saSdfunction, saTfunction
 
Constructor Summary
UHS_SpectrumCalculator()
           
 
Method Summary
 XY_DataSetList calculateApproxUHSSpectrum(ArbitrarilyDiscretizedFunc pgaVals)
           
 XY_DataSetList calculateSD_UHSpectrum(ArbitrarilyDiscretizedFunc pgaVals, float fa, float fv, java.lang.String siteClass)
           
 XY_DataSetList calculateSMS_UHSpectrum(ArbitrarilyDiscretizedFunc pgaVals, float fa, float fv, java.lang.String siteClass)
           
 
Methods inherited from class org.opensha.nshmp.sha.calc.SpectrumCalculator
approxSaSd, calculateMapSpectrum, calculateSDSpectrum, calculateSMSpectrum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UHS_SpectrumCalculator

public UHS_SpectrumCalculator()
Method Detail

calculateApproxUHSSpectrum

public XY_DataSetList calculateApproxUHSSpectrum(ArbitrarilyDiscretizedFunc pgaVals)
Parameters:
saVals - ArbitrarilyDiscretizedFunc
Returns:
DiscretizedFuncList

calculateSMS_UHSpectrum

public XY_DataSetList calculateSMS_UHSpectrum(ArbitrarilyDiscretizedFunc pgaVals,
                                              float fa,
                                              float fv,
                                              java.lang.String siteClass)
Parameters:
saVals - ArbitrarilyDiscretizedFunc
fa - float
fv - float
Returns:
DiscretizedFuncList

calculateSD_UHSpectrum

public XY_DataSetList calculateSD_UHSpectrum(ArbitrarilyDiscretizedFunc pgaVals,
                                             float fa,
                                             float fv,
                                             java.lang.String siteClass)
Parameters:
saVals - ArbitrarilyDiscretizedFunc
fa - float
fv - float
Returns:
DiscretizedFuncList