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 | 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: PVD/PVA: Examples for multi-dimensional arrays? |
From: | Marty Kraimer via Core-talk <[email protected]> |
To: | [email protected] |
Date: | Wed, 21 Nov 2018 15:32:54 -0500 |
On 11/21/18 11:10 AM, Ralph Lange via
Core-talk wrote:
At the very beginning of PVData development, i. e. the JavaIOC, a deliberate decision was made that pvData would only support 1 dim arrays. The problem with supporting more dimensions is how many and how to define each dimension. Just consider a 2d array. It it a 2d matrix? Is it a sparse matrix? Is it a table?
Where do we stop? At the very beginning it was decided that the following types
would be supported 2) 1d arrays of each scalar type 3) structures 4) 1d structure arrays
This was defined in 2006. The only types that were added later are: 5) union6) 1d union array. It is ONLY data of above types that need to be supported by the
pva network protocol. This later became the normative types. Note that normative types already has definiintions for NTTable, NTMatrix, and NTHistogram. Each of these is a different type of 2d array. NTNDArray includes a multi dimensional array plus lots more. No normative type required any changes to the network protocol.
Although it was talking about pvAccess it would probably have to involve pvData. For the same reason for not supporting multi deminsional array compression should NOT be directly supported by pvData/pvAccess. What kind of compression? lossless?, JPEG?, etc, etc. Would each additional type require changes to the pva network protocol. Note that areaDetecter already supports a few compression types. Marty
|