1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 <2025> | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 <2025> |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Using NDPluginGather to collect NDArrays from multiple detectors? |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Jörn Dreyer <j.dreyer at hzdr.de> |
Date: | Wed, 19 Feb 2025 16:35:20 +0000 |
Hi Jörn,
In principle NDPluginGather can do what you are asking. There are 2 restrictions:
The second restriction is due to the way the HDF5 plugin works. In Stream mode it saves a single dataset of dimensions [Nx, Ny, Nimages]. The datatype of that dataset and also the attribute datasets are determined by the first array it receives. All subsequent
arrays must be the same. If not, you should see an error at the IOC shell and on the OPI screen.
If your setup meets these restrictions and you are still having problems, then please send screenshots of the Gather and HDF5 plugin screens.
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Jörn Dreyer via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, February 19, 2025 2:21 AM To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: Using NDPluginGather to collect NDArrays from multiple detectors? Hi,
I would like to write the images from multiple detectors into a single file. Therefor I tried to setup an NDPluginGather and connected the Array ports to the asynArray's of the detectors. The output of this was connected to an NDPluginFileHDF5. But in the resulting HDF5 file was only one image. I gues I misunderstood the functionality of NDPluginGather. Looking at the documentation it seems as if it seems that it can only collect data from Plugins (Attributes). Is there a way to achieve that, or do I have to live with one file per detector? Regards Jörn |