You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This only allows a backend to produce a single data key in the Descriptor and Event. We decided (with @danielballan) to explode tables to be multiple fields, as this would make them look like arrays. This means that instead of a single panda-seq1-table entry in the descriptor with dtype=object, we would want an entry for every column (like panda-seq1-table-repeats, panda-seq1-table-time1, etc.) with dtype=array.
To do this, SignalBackend.get_descriptor and Signal.get_reading will need to change from:
At the moment, we have this interface for
Signal.read
andSignal.describe
:ophyd/ophyd/v2/core.py
Lines 661 to 669 in 7612b2c
This only allows a backend to produce a single data key in the Descriptor and Event. We decided (with @danielballan) to explode tables to be multiple fields, as this would make them look like arrays. This means that instead of a single
panda-seq1-table
entry in the descriptor withdtype=object
, we would want an entry for every column (likepanda-seq1-table-repeats
,panda-seq1-table-time1
, etc.) withdtype=array
.To do this,
SignalBackend.get_descriptor
andSignal.get_reading
will need to change from:ophyd/ophyd/v2/core.py
Lines 377 to 383 in 7612b2c
To something like:
And all the backends (and the SignalCache) change to produce these dictionaries instead of single values
The text was updated successfully, but these errors were encountered: