-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spec: add Matrix datatype #8
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename MeasurableController -> Controller, useful also for other procedures
additional open questions: add elapsed time/progress attribute?
``"names"``: | ||
A list of names for each dimension in the data. | ||
|
||
``"maxlengths"``: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-> maxlen
|
||
As a JSON object containing the following items: | ||
|
||
``"dims"``: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
len
- ``<`` or ``>`` to indicate little or big endianness. | ||
- ``i``, ``u``, ``f`` to indicate signed or unsigned integers or floating | ||
point numbers. | ||
- a number to indicate the number of bytes per element (usually up to 8). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
restrict a bit more
Example: ``{"dims": [2, 3], "data": "AACAPwAAAEAAAEBAAACAQAAAoEAAAMBA"}`` | ||
|
||
The order of the matrix elements is defined so that the dimension with the | ||
fastest running index comes first in ``dims``, ``names`` and ``maxlengths``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better description?
... first vary the first dimension, then the second and so on...
``"dims"``: | ||
The actual length of each dimension in the data. | ||
|
||
``"data"``: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blob
- a number to indicate the number of bytes per element (usually up to 8). | ||
|
||
Example: ``"<u4"`` is a little-endian encoded 32-bit unsigned integer. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remark: compression possible with new keyword
@@ -119,7 +119,7 @@ Accessibles: | |||
``get_data()``. | |||
|
|||
``get_data()`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove parens from commands
@@ -119,7 +119,7 @@ Accessibles: | |||
``get_data()``. | |||
|
|||
``get_data()`` | |||
Optional: returns the channel's matrix data, see below for details. | |||
Optional: returns the channel's matrix data, with a ``matrix`` data type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional: returns the channel's matrix data, with a ``matrix`` data type. | |
Optional: returns the channel's data, with a ``matrix`` data type. |
4dd9f6c
to
5115ac6
Compare
5115ac6
to
aba0f67
Compare
aba0f67
to
abd1c12
Compare
No description provided.