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
Currently I am using
mdf.append(
Signal(
l1_arr,
time_stamps,
name='Nested_structures',
)
)
to append signals to mdf, however, it can only append a single value to a timestamp for each signal. I am wondering if asammdf can append a list or array to the signal for every time stamps, like this
<Signal Sample_signal:
samples=[[ 10 18 9 ... 56 180 63]
[ 10 18 9 ... 152 162 63]
[ 10 18 9 ... 101 162 63]
...
[ 10 18 9 ... 27 180 63]
[ 10 18 9 ... 27 180 63]
[ 10 18 9 ... 27 180 63]]
timestamps=[1.69761808e+09 1.69761808e+09 1.69761808e+09 1.69761808e+09
1.69761808e+09 1.69761808e+09 1.69761808e+09 1.69761808e+09
1.69761808e+09 1.69761808e+09 1.69761808e+09 1.69761808e+09
1.69761808e+09 1.69761808e+09]
invalidation_bits=None
unit="m"
conversion=None
source=None
comment="
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently I am using
mdf.append(
Signal(
l1_arr,
time_stamps,
name='Nested_structures',
)
)
to append signals to mdf, however, it can only append a single value to a timestamp for each signal. I am wondering if asammdf can append a list or array to the signal for every time stamps, like this
<Signal Sample_signal:
samples=[[ 10 18 9 ... 56 180 63]
[ 10 18 9 ... 152 162 63]
[ 10 18 9 ... 101 162 63]
...
[ 10 18 9 ... 27 180 63]
[ 10 18 9 ... 27 180 63]
[ 10 18 9 ... 27 180 63]]
timestamps=[1.69761808e+09 1.69761808e+09 1.69761808e+09 1.69761808e+09
1.69761808e+09 1.69761808e+09 1.69761808e+09 1.69761808e+09
1.69761808e+09 1.69761808e+09 1.69761808e+09 1.69761808e+09
1.69761808e+09 1.69761808e+09]
invalidation_bits=None
unit="m"
conversion=None
source=None
comment="
Beta Was this translation helpful? Give feedback.
All reactions