/* * \file nist_poly.h * * \brief Computation of NIST inverse thermocouple functions. + NIST coeeficients are used to compute the temperature from the voltage * generated by the thermocouple. * * The functions for the J type thermocouple are implemented as a * polynomial, in the form * * T = d_0 + d_1 E + d_2 E^2 + ... * * and as a product of first order terms: * * T = d_0 + E ( d_1 + E (d_2 + ...) */ /* \function double NIST_J_inv_poly(double voltage); * * \brief Computes the temperature using a polynomial on E, * where E is the voltage generated by the thermocouple. * */ double NIST_J_inv_poly(double voltage); /* \function double NIST_J_inv_fact(double voltage); * * \brief Computes the temperature as a product of first order terms on E. * where E is the voltage generated by the thermocouple. * */ double NIST_J_inv_fact(double voltage);