public class EqRate extends Object
| Modifier and Type | Field and Description |
|---|---|
Site |
site
The site of interest.
|
XySequence |
totalMfd
The total MFD of interest.
|
Map<SourceType,XySequence> |
typeMfds
The MFDs for each contributing source type.
|
| Modifier and Type | Method and Description |
|---|---|
static Callable<EqRate> |
callable(HazardModel model,
CalcConfig config,
Site site)
Wraps
create(HazardModel, CalcConfig, Site) in a Callable
for processing multiple sites concurrently. |
static EqRate |
combine(EqRate... rates)
Create a new earthquake rate container with the sum of the supplied
rates. |
static EqRate |
create(HazardModel model,
CalcConfig config,
Site site)
Create a new earthquake rate data container at a
site for the
supplied model and config. |
static EqRate |
toCumulative(EqRate incremental)
Create a new earthquake rate container with cumulative values.
|
static EqRate |
toPoissonProbability(EqRate annualRates,
double timespan)
Create a new earthquake rate container with Poisson probability values.
|
public final Site site
public final XySequence totalMfd
public final Map<SourceType,XySequence> typeMfds
public static EqRate create(HazardModel model, CalcConfig config, Site site)
site for the
supplied model and config.
Note: any model initialization settings in config will be
ignored as the supplied model will already have been initialized.
model - of interestconfig - calculation configurationsite - of interestpublic static Callable<EqRate> callable(HazardModel model, CalcConfig config, Site site)
create(HazardModel, CalcConfig, Site) in a Callable
for processing multiple sites concurrently.model - to processconfig - calculation configurationsite - of interestpublic static EqRate toCumulative(EqRate incremental)
incremental - rate source to convertpublic static EqRate toPoissonProbability(EqRate annualRates, double timespan)
annualRates - source to converttimespan - of interest for annual rate to Poisson probability
conversionpublic static EqRate combine(EqRate... rates)
rates.
NOTE: This operation is additive and will produce meaningless
results if rates have already been converted to
probabilities, or are not all
of DistributionFormat.INCREMENTAL or
DistributionFormat.CUMULATIVE distribution format.
Buyer beware.
rates - to combine