Re: [PyMca] Batch fitting for HDF5 files in PyMca
Brought to you by:
vasole
From: PyMca g. p. m. list. <pym...@li...> - 2019-09-11 20:15:23
|
Hi Armando, Thanks for your valuable help. Regards, Carlos Carlos A. Pérez, Ph.D. Researcher - XRF Beamline Coordinator CARNAÚBA Group LNLS -Brazilian Synchrotron Light Source Laboratory http://www.lnls.br Phone: +55 (19) 3517-5081 Mail address: Caixa Postal 6192 CEP 13083-970 Campinas-SP, Brazil ________________________________ From: PyMca general purpose mailing list. <pym...@li...> Sent: Wednesday, September 11, 2019 11:35 AM To: pym...@li... <pym...@li...> Subject: Re: [PyMca] Batch fitting for HDF5 files in PyMca 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 Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente. Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately. |