slv.measurements.mobile.wyoming.calculate_enhancements#
- slv.measurements.mobile.wyoming.calculate_enhancements(data, window='1h')[source]#
Add
CH4_base/C2H6_base(lair.background.rolling_baseline()) and the enhancements over them,CH4_ex/C2H6_ex.windowis the baseline window: anythingpd.Timedeltatakes, or a number of hours (rolling_baseline’s old integer-hours convention; a bare number would otherwise be read as nanoseconds and make every enhancement zero).