Re: [PyMca] Call PyMca Functions for Batch Fitting
Brought to you by:
vasole
|
From: PyMca g. p. m. list. <pym...@li...> - 2018-07-25 14:49:56
|
Thank you so much. This code is working perfectly. I always explore the data first in the GUI and develop my config files there. The integration with R is to save me some manual steps when merging the data. Thanks again, Nick -----Original Message----- From: PyMca general purpose mailing list. <pym...@li...> Sent: Wednesday, July 25, 2018 6:25 AM To: pym...@li... Subject: Re: [PyMca] Call PyMca Functions for Batch Fitting On 24.07.2018 15:25, PyMca general purpose mailing list. wrote: > if you have any suggestions for running a batch fit from command line. > The code below should allow to fit a stack of spectra stored into a single dataset inside an HDF5 file at full speed: python –m PyMca5.PyMcaPhysics.xrf.FastXRFLinearFit –cfg=configuration_file --weight=0 –tif=1 –concentrations=0 –refit=0 filename::dataset_path You also have the builtin application pymcabatch that can be called with arguments in order to skip the GUI. You can type "man pymcabatch" in your linux installation or look at: https://github.com/vasole/pymca/blob/master/doc/man/pymcabatch.1 Armando ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ PyMca-users mailing list PyM...@li... https://lists.sourceforge.net/lists/listinfo/pymca-users |