Skip to content
Ignacio Tartavull edited this page Mar 3, 2017 · 11 revisions

Welcome to the neuroglancer wiki!

How to add a layer to neuroglancer.

Completing the Source

First choose the API that your data server satisfies:

  • brainmaps://
  • ndstore://
  • dvid://
  • render://
  • openconnectome://
  • preconputed:// (read more)
  • python://
  • nifti:// Then specify the url to your data server.

Examples

  • python://http://localhost:8888 A server running locally on port 8888 that follows the "python" API to serve data. Caveats: If you are accessing neuroglancer using and https connection, it will refuse to pull data from and http connection.
  • precomputed://https://storage.googleapis.com/neuroglancer/s1_v0/image A server that follows the "precomputed" API to serve data. This data resides in google cloud storage in as bucket call neuroglancer all the files in the image "folder" need to be publicly available.If you are feeling lazy at typing you can equivalently write precomputed://gs://neuroglancer/s1_v0/image
  • precomputed://https://storage.googleapis.com/neuroglancer/s1_v0/image A server that follows the "precomputed" API to serve data. This data resides in google cloud storage in as bucket call neuroglancer all the files in the image "folder" need to be publicly available.If you are feeling lazy at typing you can equivalently write precomputed://gs://neuroglancer/s1_v0/image. https is a requirement for http2 which enables faster download of data chunks by reusing the same connection.
  • precomputed://https://neuromancer-seung-import.appspot.com/blob/s1_v0/image Similarly as before, but if the data in the "folder" is not publicly available, our server at https://neuromancer-seung-import.appspot.com/blob is allowed to served it to authorized users. If you don't want to type this much, you can equivalently write precomputed://glance://s1_v0/image

Completing the Name

Name doesn't matter, choose something you like.

How to create self signed certificate for your local graph or state server.

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt

You need to tell your browser to trust your keys keys, go to an url served by your sever via https. Your browser will display a warning site, where you can click on advance -> proceed to insecure site. This way when neuroglancer uses your local server under the hood the requests won't failed.

Clone this wiki locally