Learn R Programming

IRISMustangMetrics (version 2.4.6)

Statistics and Metrics for Seismic Data

Description

Classes and functions for metrics calculation as part of the 'IRIS DMC MUSTANG' project. The functionality in this package builds upon the base classes of the 'IRISSeismic' package. Metrics include basic statistics as well as higher level 'health' metrics that can help identify problematic seismometers.

Copy Link

Version

Install

install.packages('IRISMustangMetrics')

Monthly Downloads

485

Version

2.4.6

License

GPL (>= 2)

Maintainer

Last Published

August 22nd, 2023

Functions in IRISMustangMetrics (2.4.6)

createBssUrl

Create URL to retrieve measurements from the MUSTANG BSS
getMetricFunctionMetadata

Return JSON Metadata for Metric Functions
convertBssErrors

Generate Human Readable MUSTANG Errors
dailyDCOffsetMetric

DC Offset Detection
gapsMetric

Gaps and overlaps in a signal
correlationMetric

Correlation between channels
getMetricsXml

Retrieve measurements XML from the MUSTANG BSS
getBssMetricList

Retrieve measurements XML from the MUSTANG BSS and convert them to a metricList
crossCorrelationMetric

Correlation between channels
getGeneralValueMetrics

Retrieve measurements from the MUSTANG BSS
sampleRateRespMetric

Sample rate consistency between miniSEED and metadata
saveMetricList

Save a MetricList as RData or XML
sampleRateChannelMetric

Sample rate consistency between miniSEED and metadata
getPsdMetrics

Retrieve measurements from the MUSTANG BSS
getSingleValueMetrics

Retrieve measurements from the MUSTANG BSS
maxRangeMetric

Maximum daily sample range calculated over a rolling window
getMustangMetrics

Retrieve measurements from the MUSTANG BSS
metricList2DF

Convert a MetricList into a Tidy Dataframe
metricList2Xml

Create XML for the BSS
metricList2DFList

Conver a metricList into a list of dataframes
stateOfHealthMetric

State of Health metrics
spectrumMetric2Xml

Convert a SpectrumMetric into XML for the BSS
timesMetric2Xml

Create XML for the BSS
upDownTimesMetric

Up/down times for a channel
transferFunctionMetric

Cross-spectral comparison
spikesMetric

Find spikes using a rolling Hampel filter
SNRMetric

Signal to Noise Ratio
DCOffsetTimesMetric

DC Offset Detection
IRISMustangMetrics-package

Utilities for calculating seismic metrics from EarthScope (formerly IRIS DMC) data
STALTAMetric

Maximum STA/LTA of a signal
PSDMetric

Power Spectral Density of a signal
SpectrumMetric-class

Class "SpectrumMetric"
GeneralValueMetric-class

Class "GeneralValueMetric"
MultipleTimeValueMetric-class

Class "MultipleTimeValueMetric"
basicStatsMetric

Min, median, mean, rms variance, max, and number of unique values of a signal
SingleValueMetric-class

Class "SingleValueMetric"