URL: <http://gna.org/support/?3345> Summary: Inversion recovery curve fitting Project: relax Submitted by: orton_henry Submitted on: Fri 13 May 2016 02:07:09 UTC Category: None Priority: 5 - Normal Severity: 4 - Important Status: None Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Details: Hi Edward, The relax software has been working well for exponential curve fitting of R2 relaxation, however I have run into a few problems fitting the R1 parameter. The grid search seems to fail to provide a good starting point for initial parameters when the 'inv' model is chosen and always sets the R1 parameter to zero. The subsequent minimisation then seems to fail to converge giving either negative or very small values. The minimisation gives the same results when I constrain the grid search to the exact parameters also. I'm wondering if the functional form of the inversion recovery model is right. The model is given as: I(t) = Iinf - I0 * exp(-R1 * t) This model claims that the intensity at t=0 is (Iinf - I0) which doesn't seem right. Maybe the following model could work better? I(t) = Iinf - (Iinf - I0) * exp(-R1 * t) However, even with the default model, I would expect it to fit the data well (at least for the R1 parameter) despite the Iinf and I0 parameters maybe being fit incorrectly. In order to avoid the general complexity that seems to come with 3 parameter models over 2 parameter models, it would be great to see the inclusion of a 2 parameter inversion recovery model that is something like this: I(t) = Iinf * (1 - 2 * exp(-R1 * t)) I had a go at implementing this model simply by modifying the definition of the saturation recovery model in the 'exponential_sat.c' file as it is very similar. However I got poor results again where the R1 parameter was 4 orders of magnitude too large (even when constraining the parameters in the grid search). The R1 should be around 0.6 /s One final thing, I noticed that relax can't handle negative intensities for the inversion recovery model so I had to convert my data to positive. I've included the script and data I have been using. My data has fairly short relaxation delays as I wanted to prevent NOE biexponentials and I'm not sure if this is contributing to errors. Any help would be greatly appreciated. Thanks so much, Henry P.S. The data 'gb1Y_t1_relax.csv' is arranged in the following columns and is read directly using the script 'relaxmac_t1.py' [Assignment, 1Hppm, 15Nppm, 1H point, 15N point, tot. num peaks, contrib. num peaks, RMSD noise, delay1, delay2, delay3, delay4, intens. 1, intens. 2, intens. 3, intens. 4] The delays are in milliseconds but the script converts this to seconds before fitting. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Fri 13 May 2016 02:07:09 UTC Name: gb1Y_t1_relax.csv Size: 705B By: orton_henry <http://gna.org/support/download.php?file_id=27389> ------------------------------------------------------- Date: Fri 13 May 2016 02:07:09 UTC Name: relaxmac_t1.py Size: 2kB By: orton_henry <http://gna.org/support/download.php?file_id=27390> _______________________________________________________ Reply to this item at: <http://gna.org/support/?3345> _______________________________________________ Message sent via/by Gna! http://gna.org/