Skip to content

Commit

Permalink
Clarify the format of core:version
Browse files Browse the repository at this point in the history
Also, update the examples to use the correct format.
  • Loading branch information
argilo committed Oct 5, 2023
1 parent 75429f4 commit 8dbbd84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extensions/spatial.sigmf-ext.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ element recording:
```JSON
{
"collection": {
"core:version": "v1.0.0",
"core:version": "1.0.0",
"core:extensions" : [
{
"name": "spatial",
Expand Down
4 changes: 2 additions & 2 deletions sigmf-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ Object:
| --------------- | -------- | --------| -----------------|
| `datatype` | true | string | The SigMF Dataset format of the stored samples in the Dataset file.|
| `sample_rate` | false | double | The sample rate of the signal in samples per second.|
| `version` | true | string | The version of the SigMF specification used to create the Metadata file.|
| `version` | true | string | The version of the SigMF specification used to create the Metadata file, in the format `X.Y.Z`. Currently this is `1.0.0`.|
| `num_channels` | false | uint | Total 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.|
| `sha512` | false | string | The SHA512 hash of the Dataset file associated with the SigMF file.|
| `offset` | false | uint | The index number of the first sample in the Dataset. If not provided, this value defaults to zero. Typically used when a Recording is split over multiple files. All sample indices in SigMF are absolute, and so all other indices referenced in metadata for this recording SHOULD be greater than or equal to this value.|
Expand Down Expand Up @@ -742,7 +742,7 @@ Example `top-level.sigmf-collection` file:
```JSON
{
"collection": {
"core:version": "v1.0.0",
"core:version": "1.0.0",
"core:extensions" : [
{
"name": "antenna",
Expand Down

0 comments on commit 8dbbd84

Please sign in to comment.