sample_type module

DataAcquisition

class edgeimpulse.data.sample_type.DataAcquisition(
		protected: edgeimpulse.data.sample_type.Protected,
		payload: edgeimpulse.data.sample_type.Payload,
		signature: Optional[str= None
)

Wrapper class for the Edge Impulse data acquisition format.

See here for more information: https://docs.edgeimpulse.com/reference/data-acquisition-format.

Parameters

  • protected: edgeimpulse.data.sample_type.Protected

  • payload: edgeimpulse.data.sample_type.Payload

  • signature: Optional[str] = None

Class variables

  • payload: edgeimpulse.data.sample_type.Payload

  • protected: edgeimpulse.data.sample_type.Protected

  • signature: Optional[str]

Payload

class edgeimpulse.data.sample_type.Payload(
		device_type: str,
		sensors: List[edgeimpulse.data.sample_type.Sensor],
		values: List[List[float]],
		interval_ms: Optional[int= 0,
		device_name: Optional[str= None
)

Wrapper class for the sensor data.

Information about the data acquisition format can be found here: https://docs.edgeimpulse.com/reference/data-acquisition-format.

Parameters

  • device_type: str

  • sensors: List[edgeimpulse.data.sample_type.Sensor]

  • values: List[List[float]]

  • interval_ms: Optional[int] = 0

  • device_name: Optional[str] = None

Class variables