Hi Edward and Troels, Thanks for pointing me in the right direction. I had dug around a bit in the test_suite directory but wanted to make sure I was looking in the right place before I descended into the rabbit hole.
I got the back calculation to work using the ./test_suite/shared_data/dispersion/ns_mmq_3site_ linear/relax_results/solution.py script pretty much as-is, just changing the spin parameters to my liking, calculating the curve, and outputting the values (ignoring the data and residuals in the output file). Something I didn't mention is that the reason I've been importing the models into ipython is so I can hold parameters constant through my own grid search and minimization functions, which I had found somewhere in the documentation was not possible inside relax for the minimization. I originally thought this would be easier outside of relax. The reason for this is because I'm in a situation where I can observe HSQC peaks in slow exchange in one variant and skewed populations of one or the other peaks in two other variants. I've been working on using the complementary information, in this case the observed dw and the kex from ZZ exchange experiments, to investigate multi-state exchange in all variants. The chem. shift differences of the two skewed variants match the measured nicely but the rates from CPMG are ~20 fold higher. Therefore I wanted to check and see if a 3-state model with some parameters held constant would have infinite solutions (my assumption) or pop out something interesting and be able to distinguish between a couple models of the conformational process that I have in mind, which seems like a long shot. Sorry if thats too much information/way too open-ended but I figured I would give some context to the greater situation I have found myself in. Thanks again! Jeremy Anderson Ph.D. Candidate Johns Hopkins University Program in Molecular Biophysics Laboratory of Dr. Vincent J. Hilser, Ph.D. 3400 N Charles St, 104 Mudd Hall Baltimore, MD 21218 (Lab) *410-516-6757* (Cell) 715-613-0274 On Thu, Oct 27, 2016 at 4:29 AM, Edward d'Auvergne <edw...@nmr-relax.com> wrote: > On 21 October 2016 at 00:14, Jeremy Anderson <jande...@jhu.edu> wrote: > > Hello, > > > > I've been trying to back calculate data from parameters using the NS MMQ > > 3-site linear model. I've tried to do something akin to the > > sample_scripts/model_free/generate_ri.py sample script as described in > the > > mail-archive <http://www.mail-archive.com/relax-users@gna.org/msg01783. > html>. > > I'm afraid that I'm not knowledgable enough about the data structures, > > parameters, and functions of relax. > > > > Up to this point I have been simulating data using the CR72 and TSMFK01 > > dispersion models by importing the R2eff functionality of each module > into > > an ipython notebook and supplying parameters interactively. I've > attempted > > this with the NS MMQ 3-site linear model however I'm getting lost in the > > structures of the input parameters. > > > > Ideally what I would like to be able to do is input the parameters: > > > > > > pA, pB, pC = .8, .15, .05 > > > > R20A, R20B, R20C = 10, 15, 20 (s^-1) > > > > dw_AB, dw_BC = 2, 2 (ppm) > > > > kex_AB, kex_BC, kex_AC = 400, 200, 0 (s^-1) > > > > dwH_AB, dwH_BC = .2, .2 (ppm) > > > > > > into the r2eff_ns_mmq_3site_mq and/or r2eff_ns_mmq_3site_sq_dq_zq > functions > > of the ns_mmq_3site module and populate a back_calc array with R2eff > > values for nu_cpmg = np.logspace(1, 3, 20). I've done the same with the > > 2-site models I mentioned above but I feel I'm a bit over my head here. > > > > Any help would be greatly appreciated and thanks in advance *and* bravo > for > > all the work on relax, its great! > > Hi Jeremy, > > Welcome to the relax mailing lists! I was wondering if you were able > to work out what to do from Troels' comment? He has written a lot of > such data back-calculation scripts which can be found in the > test_suite directories, and if you look for scripts and data in there, > you should hopefully be able to see what to do. As for all the work, > this is a community project with many contributors: > > http://gna.org/project/memberlist.php?group=relax > > For example Troels has put a lot of work into the relaxation > dispersion analysis, adding many models and making this part super > fast: > > http://wiki.nmr-relax.com/Relax_release_descriptions#relax_3.3.0 > > Hopefully you'll be able to use relax for your purposes and, if not, > maybe you'll be able to expand relax and contribute a little yourself > ;) > > Regards, > > Edward > _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-users mailing list relax-users@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-users