Paper | Title | Other Keywords | Page |
---|---|---|---|
THPOPRPO11 | Processing SPE Files from Princeton Instruments during Data Acquisition in LNLS | ion, experiment, controls, synchrotron | 108 |
|
|||
The beamline of Dispersive X-ray Absorption Spectroscopy, DXAS, in LNLS uses a Princeton Instruments CCD, PyLoN, to acquire spectra of materials under analysis. Such camera produces an SPE binary file. Some Python scripts were developed to display absorbance and x-ray magnetic circular dichroism (XMCD) during the experiment. Firstly, using WinspecUtils.py* module we extract the data in a 2D array (intensities by pixels) from an SPE file of radiant flux received by a material (I0), then, while spectra of radiant flux transmitted by that material (I), is being acquired, their data are extracted from a temporary SPE file. With I and I0 we calculate absorbance (mu) = ln(I0/I) and plot it with matplotlib** of Python . For XMCD same data extraction is performed, but each cycle has eight spectra with magnet field varying its orientation: + - - + - + + -; and the calculation is XMCD = {AVG[mu(norm)(+)] - AVG[mu(norm)(-)]}. Calculated XMCD is also plot. So, with such information of absorbance and XMCD being displayed during the experiment the users could quickly act to fix any problem.
* WinspecUtils.py module: version shared by Kasey Russell (krussell@post.harvard.edu), based on other version of James Battat (jbattat@post.harvard.edu) ** matplotlib: http://matplotlib.org |
|||
![]() |
Poster THPOPRPO11 [0.489 MB] | ||
DOI • | reference for this paper ※ https://doi.org/10.18429/JACoW-PCaPAC2016-THPOPRPO11 | ||
Export • | reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml) | ||