import_data#

beatmap.io.import_data(file=None, info=None, a_o=None)#

Imports isothermal adsoprtion data from a csv file.

The .csv file format expected is a two column table, the first column being ā€œnā€ (specific amount adsorbed, mol/g) and the second being the relative pressure.

Parameters:
filestr or buffer

Path to the csv file that contains BET data

infostr

Short description of data, will be used as identifier

a_ofloat

Cross sectional area of the adsorbate molecule, in square angstrom.

Returns:
isotherm_datanamedtuple

Contains all information required for BET analysis. Relevant fields are:

  • isotherm_data.iso_data (DataFrame) : imported isotherm data.

  • isotherm_data.a_o (float) : adsorbate cross sectional area.

  • isotherm_data.info (str) : string of adsorbate-adsorbent info.

  • isotherm_data.file (str) : file name or path.