spectrochempy.IrisKernel
- class IrisKernel(X, K, p=None, q=None, **kwargs)[source]
Define a kernel matrix of Fredholm equation of the 1st kind.
This class define a kernel matrix as a
NDDatasetcompatible with theXinputNDDataset.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 andarraycan be passed.pandqcontain 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'] orcallableorNDDataset) – Predefined or user-defined Kernel for the integral equation.p (
Coordoriterable) – External variable. Must be provided if the kernelKis passed as astrorcallable.q (
Coordoriterableof 3 values) – Internal variable. Must be provided if the kernelKis passed as astrorcallable.
Examples using spectrochempy.IrisKernel