Time series data objects

Objects that represent time series data.

intdash.data.CAN(decimal_id, data)

Object that represents CAN data.

intdash.data.NMEA(string)

Object that represents NMEA data.

intdash.data.GeneralSensor(decimal_id, data)

Object that represents data of a general-purpose sensor.

intdash.data.Controlpad(decimal_id, data)

Object that represents control pad data.

intdash.data.Generic(decimal_id, data)

Object that represents general-purpose data.

intdash.data.JPEG(data)

Object that represents JPEG data.

intdash.data.Float(data_id, value)

Object that represents double precision floating point number data.

intdash.data.String(data_id, value)

Object that represents string data.

intdash.data.Int(data_id, value)

Object that represents 64-bit signed integer data.

intdash.data.Bytes(data_id, value)

Object that represents byte string data.

intdash.data.Basetime(type, basetime)

Object that represents a basetime.

intdash.data.H264(type_id, data)

Object that represents H.264 data.

intdash.data.AAC(data)

Object that represents AAC data.

intdash.data.PCM(format_id, channels, …)

Object that represents PCM data.

class AAC(data)[source]

Object that represents AAC data.

data

The data to be represented

Type

bytes

data_id = 'aac'

Data ID

data_type = 16

Data type

static from_payload(data_payload)[source]

Converts the data payload into an AAC object.

Parameters

data_payload (bytes) – Data payload

class Basetime(type, basetime)[source]

Object that represents a basetime.

type

Basetime type

Type

BasetimeType

basetime

Basetime

Type

pandas.Timestamp

data_type = 135

Data type

static from_payload(data_payload)[source]

Converts the data payload into an Basetime object.

Parameters

data_payload (bytes) – Data payload

class Bytes(data_id, value)[source]

Object that represents byte string data.

data_id

Data ID

Type

str

value

The data to be represented

Type

bytes

data_type = 14

Data type

static from_payload(data_payload)[source]

Converts the data payload into a Bytes object.

Parameters

data_payload (bytes) – Data payload

class CAN(decimal_id, data)[source]

Object that represents CAN data.

decimal_id

Decimal notation of data ID

Type

int

data

The data to be represented

Type

bytes

property data_id

Data ID

data_type = 1

Data type

static from_payload(data_payload)[source]

Converts the payload of data into a CAN object.

Parameters

data_payload (bytes) – Data payload

class Controlpad(decimal_id, data)[source]

Object that represents control pad data.

decimal_id

Decimal notation of data ID

Type

int

data

The data to be represented

Type

bytes

property data_id

Data ID

data_type = 4

Data type

static from_payload(data_payload)[source]

Converts the data payload into a Controlpad object.

Parameters

data_payload (bytes) – Data payload

class Float(data_id, value)[source]

Object that represents double precision floating point number data.

data_id

Data ID

Type

str

value

The data to be represented

Type

float

data_type = 11

Data type

static from_payload(data_payload)[source]

Converts the data payload into a Float object.

Parameters

data_payload (bytes) – Data payload

class GeneralSensor(decimal_id, data)[source]

Object that represents data of a general-purpose sensor.

decimal_id

Decimal notation of data ID

Type

int

data

The data to be represented

Type

bytes

property data_id

Data ID

data_type = 3

Data type

static from_payload(data_payload)[source]

Converts the data payload into a GeneralSensor object.

Parameters

data_payload (bytes) – Data payload

class Generic(decimal_id, data)[source]

Object that represents general-purpose data.

decimal_id

Data ID

Type

int

data

The data to be represented

Type

bytes

property data_id

Data ID

data_type = 127

Data type

static from_payload(data_payload)[source]

Converts the data payload into a Generic object.

Parameters

data_payload (bytes) – Data payload

class H264(type_id, data)[source]

Object that represents H.264 data.

type_id

Type number of data part

Type

int

data

The data to be represented

Type

bytes

property data_id

Data ID

data_type = 13

Data type

static from_payload(data_payload)[source]

Converts the data payload into an H264 object.

Parameters

data_payload (bytes) – Data payload

class Int(data_id, value)[source]

Object that represents 64-bit signed integer data.

data_id

Data ID

Type

str

value

The data to be represented

Type

int

data_type = 12

Data type

static from_payload(data_payload)[source]

Converts the data payload into an Int object.

Parameters

data_payload (bytes) – Data payload

class JPEG(data)[source]

Object that represents JPEG data.

data

The data to be represented

Type

bytes

data_id = 'jpeg'

Data ID

data_type = 9

Data type

static from_payload(data_payload)[source]

Converts the data payload into a JPEG object.

Parameters

data_payload (bytes) – Data payload

class NMEA(string)[source]

Object that represents NMEA data.

string

The data to be represented

Type

str

Note

data_id is 5 characters (talker and message in the NmeaString) encoded in UTF-8.

property data_id

Data ID

data_type = 2

Data type

static from_payload(data_payload)[source]

Converts the data payload into an Nmea object.

Parameters

data_payload (bytes) – Data payload

class PCM(format_id, channels, sample_rate, bit_per_sample, data)[source]

Object that represents PCM data.

format_id

Format ID

Type

int

channels

Number of PCM channels

Type

int

sample_rate

Sample rate

Type

int

bit_per_sample

Bit rate

Type

int

data

The data to be represented

Type

bytes

data_id = 'pcm'

Data ID

data_type = 15

Data type

static from_payload(data_payload)[source]

Converts the data payload into a PCM object.

Parameters

data_payload (bytes) – Data payload

class String(data_id, value)[source]

Object that represents string data.

data_id

Data ID

Type

str

value

The data to be represented

Type

str

data_type = 10

Data type

static from_payload(data_payload)[source]

Converts the data payload into a String object.

Parameters

data_payload (bytes) – Data payload