KLd: Kullback-Lieber divergence function D(spec1 || spec2) =...

Description Usage Arguments Value

View source: R/tools.R

Description

Kullback-Lieber divergence function D(spec1 || spec2) = sum(spec1 * log(spec1 / spec2))

Usage

1
KLd(spec1, spec2)

Arguments

spec1

spectral signal 1

spec2

spectral signal 2 at identical wavelengths

Value

the KL divergence between the vector inputs


ccrtm documentation built on Feb. 26, 2021, 9:06 a.m.

Related to KLd in ccrtm...