Numerical, value to use when the likelihood = 0 for mathematical stability
nrange
Numerical, number of interval to consider for the probability density function creation and integration
Value
Return a value corresponding to the KL divergence between the model results and the pattern
Details
This function returns 1/2 the POMDEV value + correction of the constant in KL equation corresponding to the entropy of the field pattern.
Thus, this value should be close to the KL divergence using the same techniques of approximation than pomdev.