-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(CloudVolume): created minimal implementation
- Loading branch information
1 parent
0499d27
commit 81f7e34
Showing
17 changed files
with
2,504 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,3 +99,7 @@ ENV/ | |
|
||
# mypy | ||
.mypy_cache/ | ||
|
||
# OS X | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,41 @@ | ||
# cloud-volume | ||
Client for reading and writing to Neuroglancer Precomputed volumes on cloud services. | ||
|
||
Python client for reading and writing to Neuroglancer Precomputed volumes on cloud services. (https://github.com/google/neuroglancer/tree/master/src/neuroglancer/datasource/precomputed) | ||
|
||
When working with a particular dataset, say an EM scan of a mouse, fish, or fly brain, you'll typically store that as a grayscale data layer accessible to neuroglanger. You may store additional labellings and processing results as other layers. | ||
|
||
|
||
## Usage | ||
|
||
Supports reading and writing to neuroglancer data layers on Amazon S3, Google Storage, and the local file system. | ||
|
||
Supported URLs are of the forms: | ||
|
||
$PROTOCOL://$BUCKET/$DATASET/$LAYER | ||
|
||
Supported Protocols: | ||
- gs: Google Storage | ||
- s3: Amazon S3 | ||
- file: Local File System (absolute path) | ||
|
||
|
||
``` | ||
vol = CloudVolume('gs://mybucket/retina/image') # Basic Example | ||
image = vol[:,:,:] # Download the entire image stack into a numpy array | ||
vol[64:128, 64:128, 64:128] = image # Write a 64^3 image to the volume | ||
``` | ||
|
||
## Setup | ||
|
||
``` | ||
git clone [email protected]:seung-lab/cloud-volume.git | ||
cd cloud-volume | ||
virtualenv venv | ||
source venv/bin/activate | ||
pip install -r requirements.txt | ||
``` | ||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.