## 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