Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getcp

Get fix points


Description

Get fix points of continuum line within spectral range.

Usage

getcp(x, ispec, subset = NULL)

Arguments

x

Object of class Clman.

ispec

ID or index of spectrum to be analysed.

subset

Vector of length = 2 giving the lower and upper limit of spectral range.

Value

Object of class list containing two elements:

  • ptscon: Data frame with wavelength and reflectance of fix points

  • ispec: Index of analysed spectrum within passed Clman-object.

Author(s)

Lukas Lehnert and Hanna Meyer

See Also

Examples

## Model spectra using PROSAIL
parameter <- data.frame(N = rep.int(c(1, 1.5),2), LAI = c(1,1,3,3))
spec <- PROSAIL(parameterList=parameter)

## Transform spectra
spec_clman <- transformSpeclib(spec, method = "sh", out = "raw")

## Fix points
spec_cp <- getcp(spec_clman, 1, c(400, 800))
spec_cp

hsdar

Manage, Analyse and Simulate Hyperspectral Data

v1.0.3
GPL
Authors
Lukas W. Lehnert [cre, aut] (<https://orcid.org/0000-0002-5229-2282>), Hanna Meyer [ctb], Joerg Bendix [ctb]
Initial release
2020-08-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.