core#

core#

core contains the core functions for performing BET analysis.

Functions

bet(iso_df, a_o, info, *args)

Performs BET analysis on isotherm data for all relative pressure ranges.

check_absorbed_amount(df, nm)

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

check_enough_datapoints(df[, points])

Checks that relative pressure ranges contain a minimum number of data points.

check_pressure_consistency(df, nm, slope, ...)

Checks that relative pressure is consistent.

check_pressure_increasing(df)

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

check_y_intercept_positive(intercept)

Checks that y intercept of the BET plot's linear regression is positive.

rouq_mask(intercept, iso_df, nm, slope, *args)

Calls all check functions and combines their masks into one "rouqerol mask".

run_beatmap([file, info, a_o, ...])

A single function that executes all necessary BEaTmap algorithims.

single_point_bet(df, a_o)

Performs single point BET analysis on an isotherm data set for all relative pressure ranges.

ssa_answer(bet_results, mask_results[, ...])

Logs a single specific surface area answer from the valid relative pressure range with the lowest error, most number of points, maximum specific surface area, or minimum specific surface area.