-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi, Thanks for your interest and try on SpectroChemPy! I'm not the principal developer of the MCRALS implementation (@atravert can probably answer better than me). First, If you need feature information, you can look here https://www.spectrochempy.fr/latest/reference/generated/spectrochempy.MCRALS.html#spectrochempy.MCRALS, because the tutorial is indeed not the first thing we update when we develop. Also, perhaps you could use |
Beta Was this translation helpful? Give feedback.
-
Hello Cedric,
1 - compute The non-negative concentration profile ( _ = mcr.C_constrained.T.plot() The (slightly) negative points appear in the final concentration profile This formula shows that the final concentration profile As indicated by @fernandezc , you can also directly enforce non-negativity using the
Cuirrently Finallly note that using the algorithm above yieds a concentration matrix I hope this helps. Let us know if you need further details: I will add this in the documentation, so your input and remarks are valuable to us ! Best regards |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for this extensive answer, very useful. |
Beta Was this translation helpful? Give feedback.
Hello Cedric,
1 - compute$C$ from $X$ and $S^t$ using least-squares: $C = X S^{t+}$ $C$ , yielding $C'$ $S^t$ from $X$ and $C'$ using least-squares $S^t = C'^+ X$ $S^t$ yielding ${S^t}'$ $C$ from $X$ and ${S^t} '$ using least-squares $C = X {{S^t} '}^+$
2 - apply constraints (including non-negativity) to
3 - compute
4 - apply constraints to
5 - compute
6 - stop if converged …