Name: | EDPluginSPDCakev1_1 |
Project: | execPlugins |
Path: | execPlugins/plugins/EDPluginGroupSPD-v1.0/plugins/EDPluginSPDCakev1_1.py |
Author: | Jérôme Kieffer |
Date: | |
Copyright: | European Synchrotron Radiation Facility, Grenoble, France |
License: | GPLv3+ |
Module doc: | This is an alernative to 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. * This version includes a full 2pi azimuthal integration from SPD. This is the main difference with plugin v1_0 * Last but not least, there is currently NO tilt, only spline distortion of the image |