gemlog-packageR Documentation

\Sexpr[results=rd,stage=build]{tools:::Rd_package_title("gemlog")}

Description

\Sexpr[results=rd,stage=build]{tools:::Rd_package_description("gemlog")}

Details

The DESCRIPTION file: \Sexpr[results=rd,stage=build]{tools:::Rd_package_DESCRIPTION("gemlog")} \Sexpr[results=rd,stage=build]{tools:::Rd_package_indices("gemlog")} ~~ An overview of how to use the package, including the most important ~~ ~~ functions ~~

Author(s)

\Sexpr[results=rd,stage=build]{tools:::Rd_package_author("gemlog")}

Maintainer: \Sexpr[results=rd,stage=build]{tools:::Rd_package_maintainer("gemlog")}

References

Anderson, JF, JB Johnson, DC Bowman, and TJ Ronan (2018). The Gem Infrasound Logger and Custom-Built Instrumentation. Seismological Research Letters 89 (1), 153-164. https://doi.org/10.1785/0220170067

Examples

## Not run: 
# define bitweight for 0.5 inch sensor with Rg = 2.2k
sensitivity = 22.014e-6 # 22.014 uV/Pa
Rg = 2.2 # gain-setting resistor value in kilo-ohms
gain = 1 + 49.4/2.2 # amplifier gain
A2D = 0.256/2^15 # volts per count in analog-digital converter
bitweight = A2D / (gain * sensitivity) # conversion from counts to Pa (Pa/count)

# convert files from two Gems (SNs 000 and 001)
Convert('raw/000', bitweight = bitweight)
Convert('raw/001', bitweight = bitweight)

## End(Not run)

## Not run: 
ReadGem(0:1, 'raw/000') # read files raw/000/FILE0000.TXT and raw/000/FILE0001.TXT

## End(Not run)