pub struct SensorChannel {
pub id: usize,
pub sensor_type: SensorType,
pub position: [f64; 3],
pub orientation: [f64; 3],
pub sensitivity_ft_sqrt_hz: f64,
pub sample_rate_hz: f64,
pub label: String,
}Expand description
Sensor channel metadata.
Fields§
§id: usizeChannel index.
sensor_type: SensorTypeType of sensor.
position: [f64; 3]Position in head-frame coordinates (x, y, z in meters).
orientation: [f64; 3]Orientation unit normal vector.
sensitivity_ft_sqrt_hz: f64Sensitivity in fT/sqrt(Hz).
sample_rate_hz: f64Sampling rate in Hz.
label: StringHuman-readable label (e.g., “Fz”, “OPM-L01”).
Trait Implementations§
Source§impl Clone for SensorChannel
impl Clone for SensorChannel
Source§fn clone(&self) -> SensorChannel
fn clone(&self) -> SensorChannel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SensorChannel
impl Debug for SensorChannel
Source§impl<'de> Deserialize<'de> for SensorChannel
impl<'de> Deserialize<'de> for SensorChannel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SensorChannel
impl RefUnwindSafe for SensorChannel
impl Send for SensorChannel
impl Sync for SensorChannel
impl Unpin for SensorChannel
impl UnsafeUnpin for SensorChannel
impl UnwindSafe for SensorChannel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more