pmutt.io.thermdat.read_thermdat

pmutt.io.thermdat.read_thermdat(filename, format='list', key='name')

Directly read thermdat file that is in the Chemkin format

Parameters:
  • filename (str) – Input filename

  • format (str, optional) – Format to output NASA polynomials. Supported options are: ‘list’, ‘tuple’, ‘dict’. Default is ‘list’

  • key (str, optional) – If format is ‘dict’, uses this attribute as the key for the output dictionary. Default is ‘name’

Returns:

Nasas

Return type:

list, tuple or dict of Nasa

Raises: