Discussion:
cross sections do not work with XyImageItem
Carlos Pascual
2011-06-16 17:16:41 UTC
Permalink
Hi,

Cross sections do not work with xyimage.

You can check it by running theimagexy.py example and trying to get cross
section plots

Cheers
--
+----------------------------------------------------+
Carlos Pascual Izarra
Scientific Software Coordinator
Computing Division
Cells / Alba Synchrotron [http:/www.cells.es]
Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3
E-08290 Cerdanyola del Valles (Barcelona), Spain
E-mail: cpascual-***@public.gmane.org
Phone: +34 93 592 4428
+----------------------------------------------------+
Till Stensitzki
2011-06-27 16:16:11 UTC
Permalink
Yeah, now it doesn't.
But it did work in a older version.
Post by Carlos Pascual
Hi,
Cross sections do not work with xyimage.
You can check it by running theimagexy.py example and trying to get cross
section plots
Cheers
--
+----------------------------------------------------+
 Carlos Pascual Izarra
 Scientific Software Coordinator
 Computing Division
 Cells / Alba Synchrotron  [http:/www.cells.es]
 Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3
 E-08290 Cerdanyola del Valles (Barcelona), Spain
 Phone: +34 93 592 4428
+----------------------------------------------------+
Pierre Raybaut
2011-06-28 09:41:20 UTC
Permalink
Thanks for pointing that out! Actually the XYImageItem cross section support was remove accidentally, probably following a code refactoring/cleaning operation. I have just reenabled this feature in the development version but in the meantime if you really need it, you just have to add "ICSImageItemType" to the tulle returned by the method XYImageItem.types (in guiqwt/image.py).

-Pierre
Carlos Pascual
2011-06-28 17:29:19 UTC
Permalink
Your workaround works perfect for me.
Mercie!
Post by Pierre Raybaut
Thanks for pointing that out! Actually the XYImageItem cross section
support was remove accidentally, probably following a code
refactoring/cleaning operation. I have just reenabled this feature in the
development version but in the meantime if you really need it, you just
have to add "ICSImageItemType" to the tulle returned by the method
XYImageItem.types (in guiqwt/image.py).
-Pierre
--
+----------------------------------------------------+
Carlos Pascual Izarra
Scientific Software Coordinator
Computing Division
Cells / Alba Synchrotron [http:/www.cells.es]
Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3
E-08290 Cerdanyola del Valles (Barcelona), Spain
E-mail: cpascual-***@public.gmane.org
Phone: +34 93 592 4428
+----------------------------------------------------+
Loading...