pub struct SigMfAnnotation {
pub label: &'static str,
pub onset_sample: u32,
pub end_sample: u32,
pub confidence: f32,
}Expand description
A single ground-truth event annotation, modelled after SigMF core/annotation.
In a production pipeline this would parse a .sigmf-meta JSON file.
Here it is hand-specified from the dataset documentation.
Fields§
§label: &'static strDescriptive label (e.g. "spoofer_onset", "regime_transition").
onset_sample: u32Sample index at which the event begins (relative to file start).
end_sample: u32Sample index at which the event ends (0 = unknown).
confidence: f32Annotation confidence from dataset provider (1.0 = high).
Implementations§
Trait Implementations§
Source§impl Clone for SigMfAnnotation
impl Clone for SigMfAnnotation
Source§fn clone(&self) -> SigMfAnnotation
fn clone(&self) -> SigMfAnnotation
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 SigMfAnnotation
impl Debug for SigMfAnnotation
impl Copy for SigMfAnnotation
Auto Trait Implementations§
impl Freeze for SigMfAnnotation
impl RefUnwindSafe for SigMfAnnotation
impl Send for SigMfAnnotation
impl Sync for SigMfAnnotation
impl Unpin for SigMfAnnotation
impl UnsafeUnpin for SigMfAnnotation
impl UnwindSafe for SigMfAnnotation
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