Hello,
I'm trying to perform a global fit on a set of approximately 10 cwEPR spectra of frozen solutions taken over the course of a reaction, where an EPR-silent initial state first converts into a radical species X and subsequently into a second radical species Y.
I hardly managed to fit individual spectra as mixtures of X and Y and reconstruct the overall concentration vs. reaction time. However, I am wondering if it would be possible to globally fit the entire dataset. The aim would be to fit the spin parameters (g, A, etc.—the same values across the entire dataset) globally along with the weights of X and Y (which change for each spectrum in the dataset).
I tried to handle this with a custom function but couldn't manage it. Could you help me with this task? Perhaps I'm missing something obvious.
Best,
Matteo