Name: | EDPluginSPDCakev1_0 |
Project: | execPlugins |
Path: | execPlugins/plugins/EDPluginGroupSPD-v1.0/plugins/EDPluginSPDCakev1_0.py |
Author: | Jérôme Kieffer |
Date: | |
Copyright: | European Synchrotron Radiation Facility, Grenoble, France |
License: | GPLv3+ |
Module doc: | This is the very first implementation of the SPD plugin for azimuthal integration.
It is no more used, just here for demonstration purpose |
Class doc: | The purpose of this plugin is to use SPD to do "cake" azimuthal integration, i.e. azimutal integration of powder diffraction images. The version 1.0 of EDPluginSPDCake will just call spd as strand alone version of the program, so this implementation is far from being optimal in performances. Few tips and tricks about SPD ... * When doing azimuthal integration, spd keeps the first axis in length (meter of detector) and not in 2Theta as expected (or Fit2D does). This is why there is a numpy transformation with ArcTan in the post process with a subsequent rebinning. * I did not manage to make spd do a full 2pi azimuthal integration. This is why 360 cakes of 1 degree are generated and subsequently summed in the postprocess * Last but not least, there is currently NO tilt, only spline distortion of the image |