forked from sigmf/SigMF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_metadata.py
32 lines (31 loc) · 1.41 KB
/
example_metadata.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Warning: this is not strict JSON, this is python to allow inline comment
#
{
"global": {
"core:datatype": "cf32_le", # The datatype of the recording (here, little-endian complex 32-bit float)
"core:sample_rate": 10000000, # The sample rate of the recording (10 MHz, here).
"core:version": "0.0.1", # Version of the SigMF spec used.
"core:description": "An example metadafile for a SigMF recording."
},
"captures": [
# The `captures` array contains capture segment objects, sorted by the `sample_start` value
{
"core:sample_start": 0, # The sample index that these parameters take effect.
"core:frequency": 900000000, # The center frequency of the recording (900 MHz, here).
"core:time": "2017-02-01T11:33:17053240428Z"
},
{
"core:sample_start": 100000, # Mandatory
"core:frequency": 950000000 # Now at 950 MHz
}
],
"annotations": [
# The `annotations` array contains annotation segment objects, sorted by the `sample_start` value
{
"core:sample_start": 1000000, # The sample index at which this annotation first applies.
"core:sample_count": 120000, # The number of samples that this annotation applies to.
"core:comment": "Some text comment about stuff happening"
}
]
}