Skip to content

Commit ecdeadd

Browse files
authored
remove maximum number of channels limitation (#340)
In df53293, the SigMF spec was converted from Markdown to a JSON schema. Minimum and maximum values were added for many fields. In particular, the core:num_channels field got a maximum value of 1000. The Markdown specification did not specify a maximum value for core:num_channels, so in a sense this is a breaking change between v1.2.1 and v1.2.0 of the spec. The limitation breaks some usage of SigMF to represent channelizer data, such as the output of the a polyphase-filterbank, or (power-detected) spectrogram data. This removes the limitation by setting the max value to 2**63 - 1, which is the max value used for other fields.
1 parent d9147ff commit ecdeadd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigmf-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"description": "Number of interleaved channels in the Dataset file, if omitted this is implied to be 1, for multiple channels of IQ data, it is RECOMMENDED to use SigMF Collections instead of num_channels for widest application support.",
8484
"default": 1,
8585
"minimum": 1,
86-
"maximum": 1000,
86+
"maximum": 9223372036854775807,
8787
"type": "integer"
8888
},
8989
"core:offset": {

0 commit comments

Comments
 (0)