21#ifndef INCLUDE_SATNOGS_SIGMF_METADATA_H
22#define INCLUDE_SATNOGS_SIGMF_METADATA_H
24#include "libsigmf/sigmf.h"
25#include "libsigmf/sigmf_antenna_generated.h"
26#include "libsigmf/sigmf_satnogs_generated.h"
46 static metadata::metadata_sptr
make(
const std::string global_segment_json);
50 void to_file(
const std::string& filename);
57 uint64_t global_index,
59 std::string datetime);
66 uint64_t sample_count,
67 std::string generator,
69 double freq_lower_edge,
70 double freq_upper_edge);
74 void parse_json(std::string filename);
76 sigmf::SigMF<sigmf::Global<core::DescrT, antenna::DescrT, ::satnogs::DescrT>,
77 sigmf::Capture<core::DescrT>,
78 sigmf::Annotation<core::DescrT, antenna::DescrT, ::satnogs::DescrT>>&
82 sigmf::SigMF<sigmf::Global<core::DescrT, antenna::DescrT, ::satnogs::DescrT>,
83 sigmf::Capture<core::DescrT>,
84 sigmf::Annotation<core::DescrT, antenna::DescrT, ::satnogs::DescrT>>
87 std::string d_metafile_name;
88 std::string d_metadata_name;
90 void initialize_global(
const std::string global_segment_json);
#define SATNOGS_API
Definition: api.h:19
Definition: amsat_duv_decoder.h:29