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
Access the raw data inside an analog signal entity:
analog1=fd.entities[1] #access the entity 1data=analog1.get_data() #get all the raw data
The data value is a tuple which contains the raw data and the timestamps for each datapoint.
It is also possible to retrieve a subset of the available data:
data=analog1.get_data(100, 10) #fetch 10 elements starting at index 100print("%d"%data[0].shape)
# -> 10print (data[0])
# -># [ 8.50000000e-05 7.00000000e-05 2.16666667e-05 3.16666667e-05# 3.66666667e-05 0.00000000e+00 -5.50000000e-05 -9.33333333e-05# -6.66666667e-05 3.33333333e-06]
Metadata
Metadata is exposed as properties of the individual entities: