check_pressure_increasing#

beatmap.core.check_pressure_increasing(df)#

Checks that n(p-po) aka check2 is increasing.

This is a necessary condition for linearity of the BET dataset.

Parameters:
dfdataframe

Dataframe of imported experimental isothermal adsorption data.

Returns:
ndarray

Array of 1s and 0s where 0 corresponds to relative pressure ranges where n(p-po) isn’t consistently increasing with relative pressure, ie ranges that fail this check.