| Package | Description |
|---|---|
| gov.usgs.earthquake.nshmp.calc |
Hazard calculation classes and utilties.
|
| gov.usgs.earthquake.nshmp.data |
Double-valued data utilities.
|
| gov.usgs.earthquake.nshmp.eq.model |
Earthquake
Source and
HazardModel representations. |
| gov.usgs.earthquake.nshmp.mfd |
Magnitude frequency distribution (MFDs) classes and utilties.
|
| Modifier and Type | Field and Description |
|---|---|
XySequence |
EqRate.totalMfd
The total MFD of interest.
|
| Modifier and Type | Field and Description |
|---|---|
Map<SourceType,XySequence> |
EqRate.typeMfds
The MFDs for each contributing source type.
|
| Modifier and Type | Method and Description |
|---|---|
XySequence |
CalcConfig.Hazard.modelCurve(Imt imt)
An empty linear curve for the requested
Imt. |
| Modifier and Type | Method and Description |
|---|---|
Map<Imt,XySequence> |
Hazard.curves()
The total mean hazard curves for each calculated
Imt. |
static Map<Imt,Map<Gmm,XySequence>> |
HazardExport.curvesByGmm(Hazard hazard)
Derive maps of curves by
Gmm for each Imt in a
Hazard result. |
static Map<Imt,Map<SourceType,XySequence>> |
HazardExport.curvesBySource(Hazard hazard)
Derive maps of curves by
SourceType for each Imt. |
Map<Imt,XySequence> |
CalcConfig.Hazard.logModelCurves()
An immutable map of model curves where x-values are in natural-log space.
|
Map<Imt,XySequence> |
CalcConfig.Hazard.modelCurves()
An immutable map of model curves where x-values are in linear space.
|
| Modifier and Type | Method and Description |
|---|---|
XySequence |
XySequence.add(double term)
Add a
term to the y-values of this sequence in place. |
XySequence |
XySequence.add(double[] ys)
Add the supplied y-values to the y-values of this sequence in place.
|
XySequence |
XySequence.add(XySequence sequence)
Add the y-values of a sequence to the y-values of this sequence in place.
|
XySequence |
XySequence.clear()
Sets all y-values to 0.
|
XySequence |
IntervalVolume.column(double rowValue,
double columnValue)
Return an immutable view of the values that map to the supplied row and
column values.
|
XySequence |
IntervalVolume.column(int rowIndex,
int columnIndex)
Return an immutable view of the values that map to the supplied row and
column values.
|
static XySequence |
Data.combine(Iterable<XySequence> sequences)
Deprecated.
|
XySequence |
XySequence.complement()
Sets the y-values of this sequence to their complement in place [
1 - y]. |
static XySequence |
XySequence.copyOf(XySequence sequence)
Create a mutable copy of the supplied
sequence. |
static XySequence |
XySequence.create(Collection<? extends Number> xs,
Collection<? extends Number> ys)
Create a new sequence with mutable y-values from the supplied value
collections.
|
static XySequence |
XySequence.create(double[] xs,
double[] ys)
Create a new sequence with mutable y-values from the supplied value arrays.
|
static XySequence |
XySequence.createImmutable(Collection<? extends Number> xs,
Collection<? extends Number> ys)
Create a new, immutable sequence from the supplied value collections.
|
static XySequence |
XySequence.createImmutable(double[] xs,
double[] ys)
Create a new, immutable sequence from the supplied value arrays.
|
static XySequence |
XySequence.emptyCopyOf(XySequence sequence)
Create a mutable copy of the supplied
sequence with all y-values
reset to zero. |
static XySequence |
XySequence.immutableCopyOf(XySequence sequence)
Create an immutable copy of the supplied
sequence. |
XySequence |
XySequence.multiply(double scale)
Multiply (
scale) the y-values of this sequence in place. |
XySequence |
XySequence.multiply(XySequence sequence)
Multiply the y-values of this sequence by the y-values of another sequence
in place.
|
static XySequence |
XySequence.resampleTo(XySequence sequence,
double[] xs)
Deprecated.
|
XySequence |
IntervalTable.row(double rowValue)
Return an immutable view of the values that map to the supplied row value.
|
XySequence |
IntervalTable.row(int rowIndex)
Return an immutable view of the values that map to the supplied row index.
|
XySequence |
XySequence.transform(Function<Double,Double> function)
Transforms all y-values in place using the supplied
Function. |
abstract XySequence |
XySequence.trim()
Returns a new, immutable sequence that has had all leading and trailing
zero-valued points (
y = 0) removed. |
XySequence |
IntervalArray.values()
Return an immutable view of
this as an XySequence. |
| Modifier and Type | Method and Description |
|---|---|
IntervalTable.Builder |
IntervalTable.Builder.add(double row,
XySequence sequence)
Add the y-values of the supplied sequence to the values in the specified
row.
|
XySequence |
XySequence.add(XySequence sequence)
Add the y-values of a sequence to the y-values of this sequence in place.
|
IntervalArray.Builder |
IntervalArray.Builder.add(XySequence sequence)
Add the y-values of the supplied sequence to the array being built.
|
IntervalArray.Builder |
IntervalArray.Builder.addEach(XySequence sequence)
Add each value-pair of the supplied sequence to the appropriate interval.
|
static XySequence |
XySequence.copyOf(XySequence sequence)
Create a mutable copy of the supplied
sequence. |
static XySequence |
XySequence.emptyCopyOf(XySequence sequence)
Create a mutable copy of the supplied
sequence with all y-values
reset to zero. |
abstract double |
Interpolator.findX(XySequence xys,
double y)
Return an interpolated x-value corresponding to the supplied y-value in the
supplied xy-sequence.
|
abstract double |
Interpolator.findY(XySequence xys,
double x)
Return an interpolated or extrapolated y-value corresponding to the
supplied x-value in the supplied xy-sequence.
|
abstract double[] |
Interpolator.findY(XySequence xys,
double[] x)
Return interpolated or extrapolated y-values using the supplied x- and
y-value arrays.
|
static XySequence |
XySequence.immutableCopyOf(XySequence sequence)
Create an immutable copy of the supplied
sequence. |
XySequence |
XySequence.multiply(XySequence sequence)
Multiply the y-values of this sequence by the y-values of another sequence
in place.
|
static XySequence |
XySequence.resampleTo(XySequence sequence,
double[] xs)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<E extends Enum<E>> |
XySequence.addToMap(E key,
Map<E,XySequence> map)
Adds
this sequence to any exisiting sequence for key in the
supplied map. |
static XySequence |
Data.combine(Iterable<XySequence> sequences)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<XySequence> |
FaultSource.mfds() |
List<XySequence> |
SystemSourceSet.SystemSource.mfds() |
List<XySequence> |
AreaSource.mfds() |
List<XySequence> |
Source.mfds()
The MFDs that define earthquake rates for this source.
|
List<XySequence> |
ClusterSource.mfds() |
| Modifier and Type | Method and Description |
|---|---|
static List<InputList> |
PointSources.finiteInputs(List<Site> sites,
SourceType sourceType,
Location loc,
XySequence mfd,
Map<FocalMech,Double> mechWtMap,
GridSourceSet grid)
Using the supplied
Sites and a GridSourceSet, from which the
standard data that is used to build point sources is derived, create and
return a List<InputList>. |
static List<InputList> |
PointSources.finiteInputs(List<Site> sites,
SourceType sourceType,
Location loc,
XySequence mfd,
Map<FocalMech,Double> mechWtMap,
RuptureScaling rupScaling,
NavigableMap<Double,Map<Double,Double>> magDepthMap,
double maxDepth)
Using the supplied
Sites and the standard data that is used to
build point sources, create and return a List<InputList>. |
static InputList |
PointSources.finiteInputs(Site site,
SourceType sourceType,
Location loc,
XySequence mfd,
Map<FocalMech,Double> mechWtMap,
RuptureScaling rupScaling,
NavigableMap<Double,Map<Double,Double>> magDepthMap,
double maxDepth)
Using the supplied
Site and the standard data that is used to build
point sources, create and return an InputList. |
static gov.usgs.earthquake.nshmp.eq.model.PointSource |
PointSources.pointSource(SourceType sourceType,
PointSourceType pointType,
Location loc,
XySequence mfd,
Map<FocalMech,Double> mechWtMap,
RuptureScaling rupScaling,
gov.usgs.earthquake.nshmp.eq.model.PointSource.DepthModel depthModel) |
| Modifier and Type | Method and Description |
|---|---|
static XySequence |
Mfds.combine(IncrementalMfd... mfds)
Deprecated.
|
static XySequence |
Mfds.toCumulative(XySequence incremental) |
static XySequence |
Mfds.toMutableSequence(IncrementalMfd mfd)
Convert an
IncrementalMfd to a mutable XySequence. |
static XySequence |
Mfds.toSequence(IncrementalMfd mfd)
Convert an
IncrementalMfd to an immutable XySequence. |
| Modifier and Type | Method and Description |
|---|---|
static XySequence |
Mfds.toCumulative(XySequence incremental) |