tryInversion: Function handling error during inversion

View source: R/Lib_PROSPECT_Inversion.R

tryInversionR Documentation

Function handling error during inversion

Description

Function handling error during inversion

Usage

tryInversion(
  x0,
  MeritFunction,
  SpecPROSPECT,
  Refl,
  Tran,
  Parms2Estimate,
  lb,
  ub,
  verbose = FALSE
)

Arguments

x0

numeric. Vector of input variables to estimate

MeritFunction

character. name of the merit function

SpecPROSPECT

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

Refl

numeric. measured reflectance data

Tran

numeric. measured Transmittance data

Parms2Estimate

character vector. Parameters to estimate to be estimated through inversion

lb

numeric. Lower bound

ub

numeric. Upper bound

verbose

boolean. Set TRUE for information on adjustment of tolerance during inversion.

Details

This function is based on fmincon.

Value

res estimates of the parameters


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