How to change the data file in Dartemis?
Dear all, I am using artemis from Demeter and I am unable to "change the current data file (that is, to apply this fitting model to a different data set)" as it was possible with the "open file" function of the old artemis. This function openned a popup window asking to choose between "read a new data file" or "change the current data file". If I use the "open project or data" function of Dartemis (or the "Add" button of the "Data sets" frame), it opens the data set in a new window. Then, I am unable to use the paths and parameters used for the previous fit. Any attemp to export, transfer or drag/drop paths or parameters has either no effect or crashes the program. If I use the "Replace this chi(k)" function, it automatically chooses to "read a new data file (that is, to do multiple data set fitting)" without opening any popup window asking my choice. I suppose I did not find the good way to apply my fitting model to a new data set. Thank you for advice. Isabelle -- Isabelle KIEFFER, Ingénieur de Recherche CNRS, Ligne CRG FAME (BM30B) ESRF - The European Synchrotron CS 40220 - 38043 Grenoble Cedex 9 - France Tel : +33 (0)4 76 88 25 47 - Bureau : LOB 2-50
I don't see the behavior that you are describing. "Replace this chi(k)" works for me. Are you using a current version of the program? As for the behavior that is causing the program to crash, it would be helpful to submit a proper bug report. B On 07/01/2016 10:24 AM, Isabelle Kieffer wrote:
Dear all,
I am using artemis from Demeter and I am unable to "change the current data file (that is, to apply this fitting model to a different data set)" as it was possible with the "open file" function of the old artemis. This function openned a popup window asking to choose between "read a new data file" or "change the current data file".
If I use the "open project or data" function of Dartemis (or the "Add" button of the "Data sets" frame), it opens the data set in a new window. Then, I am unable to use the paths and parameters used for the previous fit. Any attemp to export, transfer or drag/drop paths or parameters has either no effect or crashes the program.
If I use the "Replace this chi(k)" function, it automatically chooses to "read a new data file (that is, to do multiple data set fitting)" without opening any popup window asking my choice.
I suppose I did not find the good way to apply my fitting model to a new data set. Thank you for advice.
Isabelle
-- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Science Group at NSLS-II Building 743, Room 114 Upton NY, 11973 Homepage: http://bruceravel.github.io/home/ Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/
Dear Bruce, Thank you for your answer. I am using the 0.9.21 version. You mean that when you "Replace this chi(k)", it asks what to do, or it supposes that you want to fit new data with the same model? Concerning the crashes, "Clone displayed path" gives me the following error: [!!!] xdi is not writable, no setter defined at /home/letard/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/MooseX/SetGet.pm line 13. MooseX::SetGet::set(Demeter::Path=HASH(0xf66e348), "c4", 0, "fourth_stored", 0, "file", "udivocnvz.sp", "third", 0, ...) called at /home/letard/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter.pm line 435 Demeter::Clone(Demeter::Path=HASH(0x10b83ac8)) called at /home/letard/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/Path.pm line 192 Demeter::Path::__ANON__(Demeter::Path=HASH(0x10b83ac8), "n", 3) called at /home/letard/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Moose/Meta/Method/Overridden.pm line 38 Demeter::Path::Clone(Demeter::Path=HASH(0x10b83ac8), "n", 3) called at /home/letard/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/UI/Artemis/Data.pm line 2239 Demeter::UI::Artemis::Data::clone(Demeter::UI::Artemis::Data=HASH(0x10bcde70)) called at /home/letard/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/UI/Artemis/Data.pm line 1317 Demeter::UI::Artemis::Data::OnMenuClick(Demeter::UI::Artemis::Data=HASH(0x10bcde70), Wx::CommandEvent=SCALAR(0xf654d28)) called at /home/letard/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/UI/Artemis/Data.pm line 187 Demeter::UI::Artemis::Data::__ANON__(Demeter::UI::Artemis::Data=HASH(0x10bcde70), Wx::CommandEvent=SCALAR(0xf654d28)) called at /home/letard/perl5/bin/dartemis line 41 eval {...} called at /home/letard/perl5/bin/dartemis line 41 "Export each path to every data set" does nothing if I have only one data set (which seems not surprising) and crashes with the following error if I have 2 data sets: Can't call method "SetValue" on an undefined value at /home/letard/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Demeter/UI/Artemis/Data.pm line 1515. Perhaps the solution is to go to the last version. Does this imply to reinstall entirely Demeter (I work under Linux)? Thank you for your help, Isabelle On 01/07/2016 18:03, Bruce Ravel wrote:
I don't see the behavior that you are describing. "Replace this chi(k)" works for me. Are you using a current version of the program?
As for the behavior that is causing the program to crash, it would be helpful to submit a proper bug report.
B
On 07/01/2016 10:24 AM, Isabelle Kieffer wrote:
Dear all,
I am using artemis from Demeter and I am unable to "change the current data file (that is, to apply this fitting model to a different data set)" as it was possible with the "open file" function of the old artemis. This function openned a popup window asking to choose between "read a new data file" or "change the current data file".
If I use the "open project or data" function of Dartemis (or the "Add" button of the "Data sets" frame), it opens the data set in a new window. Then, I am unable to use the paths and parameters used for the previous fit. Any attemp to export, transfer or drag/drop paths or parameters has either no effect or crashes the program.
If I use the "Replace this chi(k)" function, it automatically chooses to "read a new data file (that is, to do multiple data set fitting)" without opening any popup window asking my choice.
I suppose I did not find the good way to apply my fitting model to a new data set. Thank you for advice.
Isabelle
-- Isabelle KIEFFER, Ingénieur de Recherche CNRS, Ligne CRG FAME (BM30B) ESRF - The European Synchrotron CS 40220 - 38043 Grenoble Cedex 9 - France Tel : +33 (0)4 76 88 25 47 - Bureau : LOB 2-50
participants (2)
-
Bruce Ravel
-
Isabelle Kieffer