RatioCalc 2.2.0 is a Python desktop application for processing concentration time series from MultiGAS instruments and other multichannel gas analyzers. It estimates gas ratios, such as CO₂/SO₂, from linear regressions between selected channels and provides tools for signal alignment, filtering, uncertainty estimation, and spatial visualization.
The current application, RatioCalc 2.2.0, uses PySide6/Qt and Matplotlib, with an English interface and a light theme. The interface is designed for Linux, Windows, and macOS. The included GitHub Actions workflow packages a Windows x64 application.
Features
Interactive analysis: select an interval on the time-series plot and inspect the aligned signals, scatter plot, regression, and statistics.
Signal processing: apply independent exponential, Savitzky–Golay, or centered moving-average filters and optimize the relative shift between two channels.
Automatic analysis: process moving windows in the current dataset or across all loaded datasets, with correlation, marker, and valid-sample thresholds.
Monte Carlo results: estimate a mean ratio and a 95% confidence interval through paired bootstrap resampling.
Spatial interpolation: interpolate a selected variable inside a polygon using IDW or cubic Clough–Tocher interpolation.
Derived H₂O channel: calculate water-vapor concentrations from relative humidity, temperature, pressure, and an editable expression.
Reproducible projects: retain imported data, settings, results, processing history, spatial polygons, and computed grids in an .rcproj file.
Exports: save result tables and spatial matrices as CSV with JSON metadata, and export figures as PNG, PDF, or SVG.
Visit the Github project here:
Or download the Windows executable here:
ATTENTION: Ratiocalc written in Labview will no longer be updated! For an updated version of Ratiocalc check the Python Version 2.2.0 on the left panel!
Ratiocalc is a computational program suited for processing volcanic gas concentrations time series produced from any multisensor device (aka MultiGAS analyzer).
It is primarily intended for calculating gas molar ratio (e.g. CO2 and SO2 ) and error respectively from the slope and the correlation coefficient of the best fit line. In addition, Ratiocalc provides an integration of satellite maps from Google® (by the Google Static Maps API) that enables an identification of the gas sources and/or topographic elements. Finally, Ratiocalc makes available user-friendly tools for detrending signals, by interpolating 5-10 hand-positioned points with a spline, removing the interferences or cross-sensitivities to the gas measurement and calibrating each sensor for an amplitude-to-concentration signal conversion.
This program is written in LabVIEW and saved as a stand-alone application, so no additional software is required for this to run.
Ratiocalc 3.2 has been built with Labview 2016, the user must uninstall previous versions of Ratiocalc and run the installer of the new version.
Please, cite this article if you are going to publish data processed with Ratiocalc:
Tamburello, G. (2015), Ratiocalc: software for processing data from multicomponent volcanic gas analyzers, Computers and Geosciences, accepted May 04, 2015, CAGEO-D-14-00579.
Relesed Ratiocalc 3.2!
ATTENTION: Avast Antivirus seems to block Ratiocalc run. If you experience this problem, add Ratiocalc folder in the exception list of your anti-virus.
If the user has Labview 2016 already installed, he can download just the executable Ratiocalc