KLd {ccrtm}R Documentation

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

Description

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

Usage

KLd(spec1, spec2)

Arguments

spec1

spectral signal 1

spec2

spectral signal 2 at identical wavelengths

Value

the KL divergence between the vector inputs


[Package ccrtm version 0.1.6 Index]