Invert_PROSPECT_subdomain: Function performing PROSPECT inversion on a spectral subset...

View source: R/Lib_PROSPECT_Inversion.R

Invert_PROSPECT_subdomainR Documentation

Function performing PROSPECT inversion on a spectral subset combining an initial feature subset (Initial_Features) and an additional feature subset (New_Features)

Description

Function performing PROSPECT inversion on a spectral subset combining an initial feature subset (Initial_Features) and an additional feature subset (New_Features)

Usage

Invert_PROSPECT_subdomain(
  New_Features,
  Refl,
  Tran,
  SpecPROSPECT,
  lambda,
  BiochTruth,
  Target,
  Parms2Estimate,
  Initial_Features,
  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),
  PROSPECT_version = "D",
  MeritFunction = "Merit_PROSPECT_RMSE",
  Est_Brown_Pigments = FALSE,
  Est_alpha = FALSE,
  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
)

Arguments

New_Features

spectral bands (in nm) to be added to the Initial_Features

Refl

numeric. matrix of reflectances (n spectral bands x p samples)

Tran

numeric. matrix of transmittances (n spectral bands x p samples)

SpecPROSPECT

list. Optical constants for a spectral domain broader than spectral_domain

lambda

numeric. spectral bands corresponding to reflectance and transmittance measurements

BiochTruth

numeric. value of biophysical/biochemical parameter to estimate for each sample

Target

character. name of the parameter. Should be picked between "CHL", "CAR", "ANT", "BROWN", "EWT", "PROT", "CBC", "N"

Parms2Estimate

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

Initial_Features

Initial feature set (in nm)

InitValues

data.frame. Default values of PROSPECT parameters. During optimization, 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.

PROSPECT_version

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

MeritFunction

character. name of the function to be used as merit function with given criterion to minimize (default = RMSE)

Est_Brown_Pigments

boolean. should brown pigments be accounted for during inversion?

Est_alpha

boolean. should alpha be accounted for during inversion?

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

Value

list containing estimated value of the target and RMSE compared to measured value


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