check_absorbed_amount#

beatmap.core.check_absorbed_amount(df, nm)#

Checks that nm, amount adsorbed in the monolayer, is in the range of data points used in BET analysis.

Parameters:
dfdataframe

Dataframe of imported experimental isothermal adsorption data.

nmarray

2D array of BET specific amount of adsorbate in the monolayer, the coordinates of the array corresponding to relative pressures, units [moles / gram].

Returns:
ndarray

Array of 1s and 0s where 0 corresponds to relative pressure ranges nm is not included in the range of experimental n values, ie ranges that fail this check.