Waveform filter programs

◆ convert_td_ohms_to_celsius()

double DDAS3::convert_td_ohms_to_celsius ( double  ohms)

Definition at line 134 of file sigscale.cc.

Referenced by convert_to_display_units().

135  {
136  double a, b, c, Ro, Rt, T;
137 
138  Ro = 1854;
139  Rt = ohms;
140 
141  c = Ro - Rt;
142  b = 3.84 * 0.001 * Ro;
143  a = 4.94 * 0.000001 * Ro;
144 
145  T = ((-b) + sqrt((b*b) - (4.0*a*c))) / (2.0*a);
146 
147  return( T );
148  } // double convert_td_ohms_to_celsius(double ohms)
Here is the caller graph for this function: