Open bmaranville opened 4 years ago
I don't know what actions are possible to do with this issue. Wiki page for batch fitting?
@jwuttke @bmaranville, @aglavic, do you have examples of how to perform batch fitting with bornagain/refl1d/genx? Perhaps a good way of closing this issue is to either make a github wiki page for batch fitting, or to create a page on reflectometry.org
In BornAgain, exemplary Python scripts that show how to fit are provided in directories
What does “batch fitting” mean in this context? Multiple contrasts or time resolved?
I think the main issue is, that it's not clear and used in different ways what people mean by "batch fitting". Maybe we should describe these different use cases and solutions to them separately.
Interpretations I can think of:
For scripted model building this is obviously always possible, just having examples might be helpful.
In GenX 1. and 2. is the default. Running 3. and 4. is possible and I have a simple example for that: https://aglavic.github.io/genx/doc/tutorials/batch_fitting.html ORSO headers can be used to extract sample parameters for each dataset to plot vs. fit parameters. I didn't get any feedback on that feature, so I doubt many people are using it.
The refnx GUI is setup to do this. For those who use python scripts to do analysis, it's also possible. An example of doing this with refnx is here