Learn R Programming

gem (version 0.19)

gem-package: \Sexpr[results=rd,stage=build]{tools:::Rd_package_title("#1")}gemFile Conversion for 'Gem Infrasound Logger'

Description

\Sexpr[results=rd,stage=build]{tools:::Rd_package_description("#1")}gemReads data files from the 'Gem infrasound logger' for analysis and converts to segy format (which is convenient for reading with traditional seismic analysis software). The Gem infrasound logger is an in-development low-cost, lightweight, low-power instrument for recording infrasound in field campaigns; email the maintainer for more information.

Arguments

Details

The DESCRIPTION file: \Sexpr[results=rd,stage=build]{tools:::Rd_package_DESCRIPTION("#1")}gemThis package was not yet installed at build time.

\Sexpr[results=rd,stage=build]{tools:::Rd_package_indices("#1")}gem Index: This package was not yet installed at build time.

~~ An overview of how to use the package, including the most important ~~ ~~ functions ~~

References

~~ Literature or other references for background information ~~

Examples

Run this code
## 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)

Run the code above in your browser using DataLab