Re: [PyMca] Batch fitting for HDF5 files in PyMca
Brought to you by:
vasole
From: PyMca g. p. m. list. <pym...@li...> - 2021-08-07 18:29:56
|
Thank you for your message. I am out of the office until Monday, August 5th. I may not be able to reply (quickly) whilst away. Best wishes, Julie De Weirdt Op 11 sep. 2019, om 16:35 heeft PyMca general purpose mailing list. <pym...@li...> het volgende geschreven: Hi Carlos, On 11/09/2019 15:57, PyMca general purpose mailing list. wrote: Hi Armando, Thanks for the reply and apologies for my delayed response. Please find attached an image file showing the structure of our HDF file. There are two datasets in each HDF5 file which they are fitted with the fast XRF stack fitting procedure. I didn't test yet but calling the PyMca module from the command line should work fine for my case. I believe I have to do an iterative procedure in python for instance for this purpose, right? Since it is called from the command line, you can use any scripting language allowing you to execute a command. Even a shell script would work. If you know Python, you can do many more things. Basically all the work is done by the method fitMultipleSpectra of the FastXRFLinearFit module: https://github.com/vasole/pymca/blob/master/PyMca5/PyMcaPhysics/xrf/FastXRFLinearFit.py BTW, in the main ROI Imaging tool, you should be able to open first the dataset image1_001 and then open as slave the image1_002. That allows to inspect the two at the same time sharing the information. In fact the initial intention of it was to combine fluorescence and diffraction maps, but you can also use it to check other things. Armando _______________________________________________ PyMca-users mailing list PyM...@li... https://lists.sourceforge.net/lists/listinfo/pymca-users |