Fitting Cu2+ and 4 Nitrogen with Chili and ESFit
Posted: Thu Jul 30, 2015 6:52 am
Heyho,
I am new to this forum, so at first I'd like to thank the developers for such a great software it is really helpful.
So let's start with my problem. I think it should not be a problem of coding, because my script works under certain conditions. I'm trying to simulate and fit a Cu2+ solution spectrum with Chili and ESFit. The Cu2+ is coordinated by 4 nitrogens, so far nothing complicated. If I try to start the simulation it works as long as I just try to simulate Cu2+ and 1 nitrogen, but if I go for more than 1 nitrogen it seems that the calculation takes a huge amount of ressources, cause it stops always at the initial step of fitting. For example, if I use "simplex fcn" and "perturb" it says "initial simplex ..." even after hours nothing more happens. This happens with all other methods as well. So I thought, I need more ressources and went on to a cluster and used 32 cores and 64 GB memory, but still the same problem nothing happens except of the initial calculation.
I tried using various fitting methods (simplex, levmar, etc.), I tried "pertrub" and "matrix" and now I don't know what to do anymore. Like I said with just one nitrogen it works fine, it takes a bit longer than with just Cu2+ but it works.
Is there a way to get this working or is it really a ressource problem and I need to go for something like 128 cores and a huge amount of memory?
Here's the output of the matlab console when I start the script:
>> TestChili
-- esfit ------------------------------------------------
Simulation function: chili
Problem size: 1 spectra, 1 components, 14 parameters
Minimization method: Nelder/Mead simplex
Residuals computed from: data as is
Scaling mode: lsq0
---------------------------------------------------------
initial simplex...
I should add that if I use garlic or pepper it works perfectly, but due to being in a slow motion regime the fit is not really great.
I am thankful for any kind of help.
Have a nice day,
Olli
I am new to this forum, so at first I'd like to thank the developers for such a great software it is really helpful.
So let's start with my problem. I think it should not be a problem of coding, because my script works under certain conditions. I'm trying to simulate and fit a Cu2+ solution spectrum with Chili and ESFit. The Cu2+ is coordinated by 4 nitrogens, so far nothing complicated. If I try to start the simulation it works as long as I just try to simulate Cu2+ and 1 nitrogen, but if I go for more than 1 nitrogen it seems that the calculation takes a huge amount of ressources, cause it stops always at the initial step of fitting. For example, if I use "simplex fcn" and "perturb" it says "initial simplex ..." even after hours nothing more happens. This happens with all other methods as well. So I thought, I need more ressources and went on to a cluster and used 32 cores and 64 GB memory, but still the same problem nothing happens except of the initial calculation.
I tried using various fitting methods (simplex, levmar, etc.), I tried "pertrub" and "matrix" and now I don't know what to do anymore. Like I said with just one nitrogen it works fine, it takes a bit longer than with just Cu2+ but it works.
Is there a way to get this working or is it really a ressource problem and I need to go for something like 128 cores and a huge amount of memory?
Here's the output of the matlab console when I start the script:
>> TestChili
-- esfit ------------------------------------------------
Simulation function: chili
Problem size: 1 spectra, 1 components, 14 parameters
Minimization method: Nelder/Mead simplex
Residuals computed from: data as is
Scaling mode: lsq0
---------------------------------------------------------
initial simplex...
I should add that if I use garlic or pepper it works perfectly, but due to being in a slow motion regime the fit is not really great.
I am thankful for any kind of help.
Have a nice day,
Olli