get_partition_func

Physics.Radiation.get_partition_func(moltag, temps)

Partition function from JPL catalog

Returns log10 of the partition function at the temperatures given in list or array ‘temps’ for the molecule specified by ‘moltag’. If ‘temps’ has length 1, numpy treats it as a scalar and so this function will return a scalar. The JPL catalog should be used because the Koln catalog does not give the partition function for methanol.

:param moltag : molecule ID in JPL database :type moltag : int

:param temps : list of temperatures in K :type temps : list of int or float

Returns

nparray