|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DisaggregationCalculatorAPI
Title: DisaggregationCalculatorAPI
Description: This class defines interface for Disaggregation calculator. Implementation of this interface disaggregates a hazard curve based on the input parameters imr, site and eqkRupforecast. See Bazzurro and Cornell (1999, Bull. Seism. Soc. Am., 89, pp. 501-520) for a complete discussion of disaggregation. The Dbar computed here is for rupture distance.
| Method Summary | |
|---|---|
boolean |
disaggregate(double iml,
Site site,
Map<TectonicRegionType,ScalarIMR> imrMap,
AbstractERF eqkRupForecast,
ParameterList calcParams)
this function performs the disaggregation. |
boolean |
disaggregate(double iml,
Site site,
ScalarIMR imr,
AbstractERF eqkRupForecast,
ParameterList calcParams)
this function performs the disaggregation. |
boolean |
done()
Checks to see if disaggregation calculation for the selected site have been completed. |
String |
getBinData()
Returns the Bin Data in the String format |
int |
getCurrRuptures()
gets the number of current rupture being processed |
String |
getDisaggregationPlotUsingServlet(String metadata)
Creates the disaggregation plot using the GMT and return Disaggregation plot image web address as the URL string. |
String |
getDisaggregationSourceInfo()
Returns the disaggregated source list with following info ( in each line) 1)Source Id as given by OpenSHA 2)Name of the Source 3)Rate Contributed by that source 4)Percentage Contribution of the source in Hazard at the site. |
String |
getMeanAndModeInfo()
|
int |
getTotRuptures()
gets the total number of ruptures |
void |
setDistanceRange(double[] distBinEdges)
Setting up custom distance bins |
void |
setDistanceRange(double minDist,
int numDist,
double deltaDist)
Setting up the Distance Range |
void |
setMagRange(double minMag,
int numMags,
double deltaMag)
Setting up the Mag Range |
void |
setMaxZAxisForPlot(double zMax)
Sets the Max Z Axis Range value fro the plotting purposes |
void |
setNumSourcestoShow(int numSources)
Sets the number of sources to be shown in the Disaggregation. |
void |
setShowDistances(boolean showDistances)
Enables/disables calculation and display of source distances in source data list. |
| Method Detail |
|---|
void setMaxZAxisForPlot(double zMax)
zMax -
boolean disaggregate(double iml,
Site site,
ScalarIMR imr,
AbstractERF eqkRupForecast,
ParameterList calcParams)
iml: - the intensity measure level to disaggregatesite: - site parameterimr: - selected IMR objecteqkRupForecast: - selected Earthquake rup forecastcalcParams: - calculation parameters from the HazardCurveCalculator
boolean disaggregate(double iml,
Site site,
Map<TectonicRegionType,ScalarIMR> imrMap,
AbstractERF eqkRupForecast,
ParameterList calcParams)
iml: - the intensity measure level to disaggregatesite: - site parameterimrMap: - mapping of tectonic regions to IMR objectseqkRupForecast: - selected Earthquake rup forecastcalcParams: - calculation parameters from the HazardCurveCalculator
void setNumSourcestoShow(int numSources)
numSources - intvoid setShowDistances(boolean showDistances)
showDistances - String getDisaggregationSourceInfo()
int getCurrRuptures()
int getTotRuptures()
boolean done()
String getDisaggregationPlotUsingServlet(String metadata)
metadata - String
void setMagRange(double minMag,
int numMags,
double deltaMag)
minMag - doublenumMags - intdeltaMag - double
void setDistanceRange(double minDist,
int numDist,
double deltaDist)
minDist - doublenumDist - intdeltaDist - doublevoid setDistanceRange(double[] distBinEdges)
distBinEdges - - a double array of the distance-bin edges (in correct order, from low to high)String getBinData()
String getMeanAndModeInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||