Function write_sigmf
Source pub fn write_sigmf(
base: impl AsRef<Path>,
x: &[C64],
datatype: Datatype,
sample_rate: f64,
global: Option<&Value>,
) -> Result<()>
Expand description
Write a SigMF recording base.sigmf-meta and base.sigmf-data.
global adds keys to the global object of the metadata (a description, the
hardware, the symbol rate of the transmitted signal, …).
§Errors
Error::Io.