spectrochempy.IrisKernel
- class IrisKernel(X, K, p=None, q=None, **kwargs)[source][source]
Define a kernel matrix of Fredholm equation of the 1st kind.
This class define a kernel matrix as a
NDDataset
compatible with theX
inputNDDataset
.Pre-defined kernels can be chosen among: {
'langmuir'
,'ca'
,'reactant-first-order'
,'product-first-order'
,'diffusion'
}, a custom kernel function - a 2-variable lambda functionK
(p, q)
or a function returning andarray
can be passed.p
andq
contain the values of an external experimental variable and an internal physico-chemical parameter, respectively.- Parameters:
X (
NDDataset
) – The 1D or 2D dataset for the kernel is defined.K (any of [
'langmuir'
,'ca'
,'reactant-first-order'
,'product-first-order'
,'diffusion'
] orcallable
orNDDataset
) – Predefined or user-defined Kernel for the integral equation.p (
Coord
oriterable
) – External variable. Must be provided if the kernelK
is passed as astr
orcallable
.q (
Coord
oriterable
of 3 values) – Internal variable. Must be provided if the kernelK
is passed as astr
orcallable
.
Examples using spectrochempy.IrisKernel