Appearance
modules.audio.localization.data
Classes Diagram
Classes
MicInfo
A class to represent the information of a microphone.
Constructor
MicInfo(self, channel: int, xpos: float, ypos: float, orientation: float)
Members
channel: int
xpos: float
ypos: float
orientation: float
Methods
from_dict(data: dict) → MicInfo
TimestampedData
A class to represent a timestamped data point.
Constructor
TimestampedData(self, timestamp: int, channel: int)
Members
timestamp: int
channel: int
AudioBuffer
Inherits from: TimestampedData
A class to represent an audio buffer, for ONLY ONE channel.
Constructor
AudioBuffer(self, timestamp: int, channel: int, data: np.ndarray)
Members
data: np.ndarray
InferenceResult
Inherits from: TimestampedData
A class to represent the result of an inference on drone presence.