getting chi(r) information out of command line IFEFFIT
Hello all. It's been a while since I've written on the mailing list about this project, but it's come up that I need everyone's general input. Just a brief overview of the project: I am working with Scott Calvin to simultaneously fit 12 data sets in the command line of IFEFFIT, and I need to somehow get the chi(r) information for the fit out of the command line. I've tried around with the "show" command and the different permutations possible with that, but whenever I type in "show(fit.r, fit.chir_real)" (which is our guess right now on how to get the information I need out of the command line), it gives me the error that the arrays fit.r and fit.chir_real does not exist, or something along those lines. Does anyone else have any idea on how to run this? Thanks in advance, - Sean.
On Tuesday 27 September 2005 21:27, Sean X. Luo wrote:
Hello all.
It's been a while since I've written on the mailing list about this project, but it's come up that I need everyone's general input.
Just a brief overview of the project: I am working with Scott Calvin to simultaneously fit 12 data sets in the command line of IFEFFIT, and I need to somehow get the chi(r) information for the fit out of the command line. I've tried around with the "show" command and the different permutations possible with that, but whenever I type in "show(fit.r, fit.chir_real)" (which is our guess right now on how to get the information I need out of the command line), it gives me the error that the arrays fit.r and fit.chir_real does not exist, or something along those lines.
Does anyone else have any idea on how to run this?
Hi Sean, I am not 100% sure I know which question you are asking. So if my answer misses the target, ask again. Or hope that someone else is cleverer that I ;-) 1. Do "show @groups". That will give you proper names of all the groups that Ifeffit currently knows about. Assuming "fit" is the correct name for the group you are interested in... 2. Do "show @group fit". This will show you all the arrays belonging to that group. 3. You will find that the arrays in R have these suffixes: r, chir_re, chir_im, chir_mag, and chir_pha. So the error you describe above could be due to getting the group name wrong or it could be due to getting the suffix wrong. In either case, the "show @something" commands will help navigate Ifeffit's memory. I would recommend explicitly setting the group names for the fitted arrays when you do the feffit() command. That is, use the "group=" argument to feffit() as described at http://cars9.uchicago.edu/ifeffit/refman/node75.html That way the group name is never the source of the confusion. The prefixes that get spit out of each array processing command are well documented in the Ifeffit Reference Manual. HTH, B -- Bruce Ravel ----------------------------------- bravel@anl.gov -or- ravel@phys.washington.edu Environmental Research Division, Building 203, Room E-165 Argonne National Laboratory phone and voice mail: (1) 630 252 5033 Argonne IL 60439, USA fax: (1) 630 252 9793 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
Sean, The other bit of advice that I could make about getting Ifeffit to do your thing at the command line is to examine the contents of the Ifeffit buffers in Athena and Artemis. A&A use a very verbose style of interaction with Ifeffit, but in fact they excercise almost all parts of Ifeffit. Thus studying the Ifeffit buffer is a good way to learn how to interact with Ifeffit's command line. Go to the Edit menu of either program or hit control-1 to display the buffer. Then watch what gets written as you do stuff in the GUI. B -- Bruce Ravel ---------------------------------------------- bravel@anl.gov Molecular Environmental Science Group, Building 203, Room E-165 MRCAT, Sector 10, Advance Photon Source, Building 433, Room B007 Argonne National Laboratory phone and voice mail: (1) 630 252 5033 Argonne IL 60439, USA fax: (1) 630 252 9793 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
Sean, Like Bruce (I think), I'm having trouble understanding what "get the chi(r) information for the fit" means. Do you mean something like the output of show @paths show @variables or maybe you want plot() or write_data()? I can't tell. In any case, it's probably better to figure out how to get what sort of output you're looking for with a much simpler problem before tackling one that has many data sets. --Matt
participants (3)
-
Bruce Ravel
-
Matt Newville
-
Sean X. Luo