slv.measurements.mobile.obs.apply_pressure_rule#

slv.measurements.mobile.obs.apply_pressure_rule(df, pressure, band=(135.0, 145.0), sources=('pipeline', 'uncalibrated'))[source]#

Drop sources rows whose cavity pressure is outside band (see PRESSURE_BAND).

pressure is indexed by Time_UTC. Rows with no pressure reading are kept. The manual_cal rows are left alone by default: they are governed by apply_low_pressure_rule(), which deliberately keeps 100-135 torr for the analyzers that ran there (validated against UOU).

Return type:

DataFrame