org.opensha.sha.cybershake.calc
Interface RuptureVariationProbabilityModifier

All Known Implementing Classes:
BombayBeachHazardCurveCalc, ConditionalHypocenterDistribution, EEWCalc, TaperedHypocenterRupVarProbModifier

public interface RuptureVariationProbabilityModifier

This interface is for calculating curves where rupture variations are not uniformly weighted. It was originally created for a calculation concerning a temporary increase in hazard for southern-nucleating SAF ruptures during the Bombay Beach swarm in Spring, 2009.

Author:
kevin

Method Summary
 List<Double> getVariationProbs(int sourceID, int rupID, double originalProb, CybershakeRun run, CybershakeIM im)
          This method is used to weight individual rupture variations non-uniformly.
 

Method Detail

getVariationProbs

List<Double> getVariationProbs(int sourceID,
                               int rupID,
                               double originalProb,
                               CybershakeRun run,
                               CybershakeIM im)
This method is used to weight individual rupture variations non-uniformly. It should return null if the probabilities are not to be modified, otherwise a list of probabilities for each rupture variation. The sum of these rupture variation probabilities will often be equal to originalProb, but doesn't have to. You can also modify the total rupture probability.

Individual probabilities can be set to zero, and returning a list where each value is originalProb/numRVs is equivelant to returning null.

Parameters:
sourceID -
rupID -
originalProb - original total rupture probability
run -
im -
Returns: