Sample Class

The sample class is returned when you call NextSample from the samplestream object.

It contains the following members…

time

A datetime (in UTC) for the sample.

data

A Pandas DataFrame containing the values of the sample. This dataframe has an index of ranges and columns for every point in your AQL query.

It also has the following functions…

ai_array
ai_conv