The Joint Accelerator Conferences Website (JACoW) is an international collaboration that publishes the proceedings of accelerator conferences held around the world.
TY - CONF AU - Beniz, D.B. ED - Schaa, Volker RW TI - Processing SPE Files from Princeton Instruments during Data Acquisition in LNLS J2 - Proc. of PCaPAC2016, Campinas, Brazil, October 2528, 2016 C1 - Campinas, Brazil T2 - International Workshop on Personal Computers and Particle Accelerator Controls T3 - 11 LA - english AB - 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. PB - JACoW CP - Geneva, Switzerland SP - 108 EP - 109 KW - ion KW - experiment KW - controls KW - synchrotron KW - detector DA - 2017/09 PY - 2017 SN - 978-3-95450-189-2 DO - 10.18429/JACoW-PCaPAC2016-THPOPRPO11 UR - http://jacow.org/pcapac2016/papers/thpoprpo11.pdf ER -