Greetings,
I am looking at how I might represent an N dimensional array in the
ptolemy data model.
There is an obvious mapping for 1D (ArrayToken) and 2D (MatrixToken)
arrays. But when I look at what I might do to map higher dimensions I
get stopped by my lack of knowledge regarding the way that users
expect to see data represented in ptolemy/kepler.
I imagine I could make ArrayTokens whose members are ArrayTokens
whose members are ArrayTokens whose...
OR
I could use nested RecordTokens in much the same way.
Which is preferable?
There is a RecordDisassembler actor that could probably pick apart
the later, but the former seems to better preserve the semantic
relationships of the dimensions.
Ultimately I suppose the question is: Are there any actors in the
library that are designed to deal with either construct? Or are
multidimensional arrays a relatively foreign type of data
organization in ptolemy/kepler?
Thanks,
Nathan
= = =
Nathan Potter ndp at opendap.org
OPeNDAP, Inc. 541.752.1852
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]