Invert_PROSPECT_OPT: This function uses optimal configuration identified by...

View source: R/Lib_PROSPECT_Inversion.R

Invert_PROSPECT_OPTR Documentation

This function uses optimal configuration identified by Spafford et al. (2020) to estimate leaf chemistry prior information on N is provided if only Reflectance or only Transmittance is available

Description

This function uses optimal configuration identified by Spafford et al. (2020) to estimate leaf chemistry prior information on N is provided if only Reflectance or only Transmittance is available

Usage

Invert_PROSPECT_OPT(
  lambda,
  SpecPROSPECT = NULL,
  Refl = NULL,
  Tran = NULL,
  MeritFunction = "Merit_PROSPECT_RMSE",
  PROSPECT_version = "D",
  Parms2Estimate = "ALL",
  InitValues = data.frame(CHL = 40, CAR = 10, ANT = 0.1, BROWN = 0.01, EWT = 0.01, LMA =
    0.01, PROT = 0.001, CBC = 0.009, N = 1.5, alpha = 40),
  xlub = data.frame(CHL = c(1e-04, 150), CAR = c(1e-04, 25), ANT = c(0, 50), BROWN = c(0,
    4), EWT = c(1e-08, 0.1), LMA = c(1e-06, 0.06), PROT = c(1e-07, 0.006), CBC = c(1e-06,
    0.054), N = c(0.5, 4), alpha = c(10, 90)),
  verbose = FALSE,
  progressBar = TRUE
)

Arguments

lambda

numeric. spectral bands corresponding to experimental data

SpecPROSPECT

list. Includes optical constants refractive index, specific absorption coefficients and corresponding spectral bands

Refl

numeric. Measured reflectance data

Tran

numeric. Measured Transmittance data

MeritFunction

character. name of the function to be used as merit function

PROSPECT_version

character. Version of prospect model used for the inversion: 'D', 'PRO'.

Parms2Estimate

character vector. Parameters to estimate (can be 'ALL')

InitValues

data.frame. Default values of PROSPECT parameters. During optimization,

xlub

data.frame. Boundaries of the parameters to estimate. The data.frame must have columns corresponding to Parms2Estimate first line being the lower boundaries and second line the upper boundaries.

verbose

boolean. set to TRUE to display sample number to be inverted they are used either as initialization values for parameters to estimate, or as fix values for other parameters. Parameters not compatible with PROSPECT_version are not taken into account.

progressBar

boolean. show progressbar?

Value

Nprior vector corresponding to teh prior estimation of N based on R only or T only


jbferet/prospect documentation built on Feb. 10, 2025, 9:35 a.m.