![LI-COR li-6262 Instruction Manual Download Page 122](http://html.mh-extra.com/html/li-cor/li-6262/li-6262_instruction-manual_1906652122.webp)
H-4
Sample Program
/* Eqn 3-21 (LI-6262 manual) or 6-5 (LI-6251 or LI-6252 manual).
*/
return 1 + (Water_A -1) * mfw;
}
/* ------------------------------------------------------------------------- */
static double p0_over_p(double kPa)
{
if (water_flag)
/* return (101.3 / kPa) * 0.88451 + 0.10889; */ /* The LI-6262 approx. */
return pow(101.3 / kPa, 0.9);
else
return 101.3 / kPa;
}
/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */
double compute_co2(double Cal_temp, double Cal_k, double coeffs[],
double mv, double temp, double ref, double pressure,
double vap_ref, double vap_samp, double water_corr_a,
int vapor_correct_flag)
{
/*
Compute co2 concentration (umol/mol)
Cal_temp - calibration temp (C)
Cal_k - calibration K factor
coeffs[] - Calibration A, B, C, D, and E
mv - raw CO2 signal (mV)
temp - IRGA temp (C)
ref - Co2 reference concentration (umol/mol)
vap_ref - Vapor concentration (mmol/mol) of reference side
vap_samp - Vapor concentration (umol/mol) of sample side
water_corr_a - A value for water correction
vapor_correct_flag - 0 no vapor corrections
1 band broadening only
2 band broadening, and dilution based on ref
Returns CO2 concentration in umol/mol
*/
double Cs;