Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev pointcloud with examples #353

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions .travis.yml
Expand Up @@ -5,8 +5,6 @@ matrix:
install:
- pip install pyshacl
- pip install pytest
before_script:
- mv ~/virtualenv/python3.7/bin/owlrl.py ~/virtualenv/python3.7/bin/owlrl
script:
- pytest tests

Expand Down
Expand Up @@ -116,7 +116,7 @@
"label": "Area Codes List Shape",
"property": {
"path": {
"oneOrMorePath": {
"zeroOrMorePath": {
"@id": "rdf:rest"
}
},
Expand Down
@@ -0,0 +1,48 @@
{
"@context": [
"https://incf.github.io/neuroshapes/contexts/data.json"
],
"@type": [
"Entity",
"RecordSeries",
"CellRecordSeries"
],
"name": "Whole Brain Cell Positions 1 percent density",
"description": "This binary buffer contains the cell positions of 1% of the mouse brain",
"isRegisteredIn": {
"@type": "nsg:BrainAtlasSpatialReferenceSystem",
"@id": "https://example.org/_spatial_reference_system1"
},
"atlasRelease": {
"@id": "https://example.org/atlasRelease1"
},
"brainLocation": {
"atlasSpatialReferenceSystem": {
"@type": "nsg:BrainAtlasSpatialReferenceSystem",
"@id": "https://example.org/_spatial_reference_system1"
},
"brainRegion": {
"@id": "mba:1",
"label": "root"
}
},
"numberOfRecords": 100,
"byteOffset": 0,
"bufferEncoding": "binary",
"endianness": "little",
"distribution": {
"@type": "DataDownload",
"contentSize": {
"unitCode": "bytes",
"value": 13848730
},
"contentUrl": "https://example.org/file.xyz",
"digest": {
"algorithm": "SHA-256",
"value": "1234"
},
"encodingFormat": "application/octet-stream",
"name": "file.xyz"
},
"recordMeasure": 123
}
@@ -0,0 +1,52 @@
{
"@context": [
"https://incf.github.io/neuroshapes/contexts/data.json"
],
"@type": [
"Entity",
"RecordSeries",
"CellRecordSeries"
],
"name": "Whole Brain Cell Positions 1 percent density",
"description": "This binary buffer contains the cell positions of 1% of the mouse brain",
"isRegisteredIn": {
"@type": "nsg:BrainAtlasSpatialReferenceSystem",
"@id": "https://example.org/_spatial_reference_system1"
},
"atlasRelease": {
"@id": "https://example.org/atlasRelease1"
},
"brainLocation": {
"atlasSpatialReferenceSystem": {
"@type": "nsg:BrainAtlasSpatialReferenceSystem",
"@id": "https://example.org/_spatial_reference_system1"
},
"brainRegion": {
"@id": "mba:1",
"label": "root"
}
},
"numberOfRecords": 100,
"byteOffset": 0,
"bufferEncoding": "binary",
"endianness": "little",
"distribution": {
"@type": "DataDownload",
"contentSize": {
"unitCode": "bytes",
"value": 13848730
},
"contentUrl": "https://example.org/file.xyz",
"digest": {
"algorithm": "SHA-256",
"value": "1234"
},
"encodingFormat": "application/octet-stream",
"name": "file.xyz"
},
"recordMeasure": [
{ "@type" : "Person", "name": "Tom"},
{ "@type" : "Person", "name": "Ana"},
{ "@type" : "Person", "name": "Sam"}
]
}
@@ -0,0 +1,47 @@
{
"@context": [
"https://incf.github.io/neuroshapes/contexts/data.json"
],
"@type": [
"Entity",
"RecordSeries",
"CellRecordSeries"
],
"name": "Whole Brain Cell Positions 1 percent density",
"description": "This binary buffer contains the cell positions of 1% of the mouse brain",
"isRegisteredIn": {
"@type": "nsg:BrainAtlasSpatialReferenceSystem",
"@id": "https://example.org/_spatial_reference_system1"
},
"atlasRelease": {
"@id": "https://example.org/atlasRelease1"
},
"brainLocation": {
"atlasSpatialReferenceSystem": {
"@type": "nsg:BrainAtlasSpatialReferenceSystem",
"@id": "https://example.org/_spatial_reference_system1"
},
"brainRegion": {
"@id": "mba:1",
"label": "root"
}
},
"numberOfRecords": 100,
"byteOffset": 0,
"bufferEncoding": "binary",
"endianness": "little",
"distribution": {
"@type": "DataDownload",
"contentSize": {
"unitCode": "bytes",
"value": 13848730
},
"contentUrl": "https://example.org/file.xyz",
"digest": {
"algorithm": "SHA-256",
"value": "1234"
},
"encodingFormat": "application/octet-stream",
"name": "file.xyz"
}
}
@@ -0,0 +1,7 @@
{
"@context": [
"https://incf.github.io/neuroshapes/contexts/data.json"
],
"@type": "RecordMeasure",
"name": "test measure"
}
@@ -0,0 +1,9 @@
{
"@context": [
"https://incf.github.io/neuroshapes/contexts/data.json"
],
"@type": "RecordMeasure",
"name": "x",
"description": "Cell position along the X axis",
"componentEncoding": "float32"
}
@@ -0,0 +1,73 @@
{
"@context": [
"https://incf.github.io/neuroshapes/contexts/data.json"
],
"@type": [
"Entity",
"RecordSeries",
"CellRecordSeries"
],
"name": "Whole Brain Cell Positions 1 percent density",
"description": "This binary buffer contains the cell positions of 1% of the mouse brain",
"isRegisteredIn": {
"@type": "nsg:BrainAtlasSpatialReferenceSystem",
"@id": "https://example.org/_spatial_reference_system1"
},
"atlasRelease": {
"@id": "https://example.org/atlasRelease1"
},
"brainLocation": {
"atlasSpatialReferenceSystem": {
"@type": "nsg:BrainAtlasSpatialReferenceSystem",
"@id": "https://example.org/_spatial_reference_system1"
},
"brainRegion": {
"@id": "mba:1",
"label": "root"
}
},
"numberOfRecords": 100,
"byteOffset": 0,
"bufferEncoding": "binary",
"endianness": "little",
"distribution": {
"@type": "DataDownload",
"contentSize": {
"unitCode": "bytes",
"value": 13848730
},
"contentUrl": "https://example.org/file.xyz",
"digest": {
"algorithm": "SHA-256",
"value": "1234"
},
"encodingFormat": "application/octet-stream",
"name": "file.xyz"
},
"recordMeasure": [
{
"@type": "RecordMeasure",
"name": "x",
"description": "Cell position along the X axis",
"componentEncoding": "float32"
},
{
"@type": "RecordMeasure",
"name": "y",
"description": "Cell position along the Y axis",
"componentEncoding": "float32"
},
{
"@type": "RecordMeasure",
"name": "z",
"description": "Cell position along the Z axis",
"componentEncoding": "float32"
},
{
"@type": "RecordMeasure",
"name": "cellType",
"description": "Label of the cell type",
"componentEncoding": "uint16"
}
]
}