Gradient of [NonrectangularLRCFitter_predictLRC()]

NonrectangularLRCFitter_computeLRCGradient(
  theta,
  Rg,
  VPD,
  Temp,
  VPD0 = 10,
  fixVPD = (k == 0),
  TRef = 15
)

Arguments

theta

[numeric] -> parameter vector ( theta[1] = kVPD (k), theta[2] = beta0 (beta), theta[3] = alpha, theta[4] = RRef (rb), # theta[4] = E0, theta[5] = logitconv)

Rg

photosynthetic flux density [umol / m2 / s] or Global Radiation

VPD

Vapor Pressure Deficit [hPa]

Temp

Temperature [degC]

VPD0

[hPa] -> Parameters VPD0 fixed to 10 hPa according to Lasslop et al 2010

fixVPD

boolean scalar or vector of nrow(theta): fixVPD if TRUE the VPD effect is not considered and VPD is not part of the computation

TRef

numeric scalar of Temperature (degree Celsius) for reference respiration `RRef`

Details

This function computes the gradient of the Nonrectangular Light Response Curve function with respect to the parameters.

Differs from base by extracting conv parameter from theta and adding gradient to logitconv (3rd parameter from computeGPPGradient).