io¶
Imports isothermal adsoprtion data from a csv file. |
|
|
Exports isothermal adsoprtion data. |
|
Exports processed isothermal adsoprtion data. |
|
Imports isothermal adsoprtion data. |
-
beatmap.io.
import_data
()[source]¶ 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.
- Returns
bet_results – Contains all information required for BET analysis. Relevant fields are:
bet_results.file
(string) : file name or path.bet_results.info
(string) : adsorbate-adsorbent info as a string.bet_results.a_o
(float) : adsorbate cross sectional area.bet_results.raw_data
(dataframe) : imported isotherm data.
- Return type
namedtuple
-
beatmap.io.
export_raw_data
(bet_results)[source]¶ Exports isothermal adsoprtion data.
Exported data is saved as a .csv file in the parent directory.
- Parameters
bet_results (namedtuple) –
Contains all information required for BET analysis. Relevant fields are:
bet_results.raw_data
(dataframe) : of the raw isotherm data
written to a .csv -
bet_results.info
(string) : adsorbate-adsorbent information used
-
beatmap.io.
export_processed_data
(bet_results, points=5)[source]¶ Exports processed isothermal adsoprtion data.
Exported data is saved as a .csv file in the parent directory.
- Parameters
bet_results (namedtuple) –
Contains all information required for BET analysis. Relevant fields are:
bet_results.raw_data
(dataframe) : of the raw isotherm data
written to a .csv -
bet_results.info
(string) : adsorbate-adsorbent information usedpoints (int) – The minimum number of experimental data points for a relative pressure interval to be considered valid. Default is 5.
-
beatmap.io.
import_list_data
(relp, n)[source]¶ Imports isothermal adsoprtion data.
User provides two lists, one of relative pressures and the other of amount adsorbed with units of [mol/g].
- Parameters
relp (list) – Experimental isotherm relative pressure values.
n (list) – Experimental amount adsorbed values, mols per gram.
- Returns
bet_results – Contains all information required for BET analysis. Relevant fields are:
bet_results.file
(string) : file name or path.bet_results.info
(string): adsorbate-adsorbent info as a string.bet_results.a_o
(float) : adsorbate cross sectional area.bet_results.raw_data
(dataframe) : imported isotherm data.
- Return type
namedtuple