Adaption - LeonSaal/TGA-FTIR-hyphenation-tool-kit GitHub Wiki
The functions reading TG and IR-data are designed to work with the output of distinct devices, namely the TGA/DSC 3+ thermobalance (Mettler Toledo) and Nicolet iS50 FTIR-spectrometer (Thermo Scientic). If the TG-data is structured similar to...
... you can add a row to TGA_import_profiles.xlsx. Make sure, that you just alter the order of column names but not the names itself. The 'sep' column is meant for the decimal separator. In the settings.ini under [coupling] you can now specify the default profile name.
If that does not work, the code has to be modified accordingly.
The files to be modified are located as follows:
- TGA_FTIR_tools
- input_output
- TGA.py
- FTIR.py
- input_output
TGA.py
read_TGA()
has to be modified in such way, that it returns a Pandas DataFrame with following columns in the given order:
- 'time' in seconds
- 'sample_temp' in °C
- 'reference_temp' in °C
- 'sample_mass' in mg
Optional:
- 'heat_flow' in mW
TGA_info()
can be modified in such way, that it returns a dictionary with more information on the TGA e.g. used method, date...
This is not mandatory for proper functionality. Some features however may be compromised.
FTIR.py
read_FTIR()
has to be modified in such way, that it returns a Pandas DataFrame with following columns in the given order:
- 'time' in seconds
- 'gas' for each gas in lower case characters e.g. 'co', 'co2'.