rstoolbox.io.read_CD

rstoolbox.io.read_CD(dirname, prefix=None, invert_temp=False, model='Chirascan', outfile=None)

Read Circular Dichroism data for multiple temperatures.

Assumes that all files of a experiment are in the same folder.

Tip

The provided DataFrame will actually be casted to CDFrame. This class has no other purpose that identification to help other library functions and, thus, works as a normal DataFrame.

Parameters:
  • dirname (str) – Folder containing all the CD files.
  • prefix (str) – Prefix of the files inside the folder.
  • invert_temp (bool) – Temperature assignation might be inverted. Switch it with this option.
  • model (str) – Format of the data. Available models are: ['J-815', 'Chirascan']
  • outfile (bool) – Option to print individual csv files for each sample. Works only for Chirascan.
Returns:

Union[DataFrame, dict of DataFrame] - for J-815 and Chirascan respectively.

Raise:
IOError:If dirname is not a directory.
ValueError:If there are inconsistencies between the files (title or temperatures).
AttributeError:Unknown model provided.

See also

plot_CD()