Skip to main content

write_sigmf_annotated

Function write_sigmf_annotated 

Source
pub fn write_sigmf_annotated(
    base: impl AsRef<Path>,
    x: &[C64],
    datatype: Datatype,
    sample_rate: f64,
    frequency: Option<f64>,
    global: Option<&Value>,
    annotations: &[Annotation],
) -> Result<()>
Expand description

Write a SigMF recording with the centre frequency of its capture (core:frequency) and annotations (see write_sigmf).

ยงErrors

Error::Io.