As some of the SDR community are still using MIDAS/PLATINUM Blue recordings (commonly
.cdif) we have just added support to sigmf-python to read and/or convert these files. After installing sigmf-python v1.6+ (pip install sigmf) you can now do:
import sigmf
meta = sigmf.fromfile('record.cdif')
# access samples
meta[0:100]
# access metadata
meta.sample_rate
# access BLUE fields
Meta.get_global_field("blue:fixed")
There is also a command-line converter:
sigmf_convert record.cdif converted.sigmf
For more information see the GitHub release page or our API documentation.
If you are interested in contributing to the SigMF specification or language-specific implementation send me an email.
Kyle Logue
⚝ The Aerospace Corporation
No comments:
Post a Comment