“Calculate MIMS dissolved gas concentrations without getting a headache.”

mimsy is a data analysis package that transforms raw MIMS (Membrane Inlet Mass Spectrometer) signal data into dissolved gas concentration readings (mg, micromole) of N2, O2, and Ar based on gas solubility at temperature, pressure, and salinity. Supports both single and dual-temperature standard calibration MIMS setups with either one or two water baths, and uses a drift correction method to calculate gas concentration values. mimsy is designed to be simple and accessible for non-R users.

This package incorporates portions of the MIMS R functions written by Hilary Madinger and Bob Hall, available on Hilary Madinger’s website.

Click on the Get started tab above to read through the how-to guide.

### Crunch data in 5 lines of code or less

# Load data into R

# Run the mimsy function
results <- mimsy(data, baromet.press = 977.2, units = "hPa")

# Save the results
mimsy.save(results, file = "results.xlsx") # To Excel file
save(results, file = "results.RData") # To RData file

# Done! :)

### Installation instructions

# Download package
install.packages("mimsy")

library(mimsy)

### Disclaimer

mimsy holds no endorsement from the Bay Instruments company. This software is preliminary and subject to revision. By the use of this software, the user assumes their own responsibility for ensuring the accuracy of the program.

### References

Garcia, H., and L. Gordon (1992), Oxygen solubility in seawater: Better fitting equations. Limnology and Oceanography, 37(6). https://doi.org/10.4319/lo.1992.37.6.1307

Benson, B. B. & Krause, D. (1984). The concentration and isotopic fractionation of oxygen dissolved in freshwater and seawater in equilibrium with the atmosphere. Limnology and Oceanography, 29(3), 620-632. https://doi.org/10.4319/lo.1984.29.3.0620

Stull, D. R. (1947). Vapor Pressure of Pure Substances. Organic and Inorganic Compounds. Industrial & Engineering Chemistry, 39(4), 517-540. https://doi.org/10.1021/ie50448a022

Hamme, R. C. & Emerson, S. R. (2004). The solubility of neon, nitrogen and argon in distilled water and seawater. Deep-Sea Research I, 51(11), 1517-1528. https://doi.org/10.1016/j.dsr.2004.06.009