Skip to content

datoviz/prototypes

Repository files navigation

Datoviz experiments and prototypes

This repository contains various ongoing experiments and GUI prototypes.

All prototypes are experimental. Use at your own risks!

Installation instructions

  • Install Datoviz

  • Make sure the Datoviz demo is working:

    python -c "import datoviz; datoviz.demo()"
  • Install the develop branch of ibllib

  • Clone the prototypes repository:

    git clone https://github.com/datoviz/prototypes.git dvzproto

IBL prototypes

Ephys data viewer

  • Usage example (passing the session eid and probe idx):

    python ephysview.py f25642c6-27a5-4a97-9ea0-06652db79fbd 0
  • Description: shows the full raster plot of an ephys session in the upper panel, and a small section of the raw data in the lower panel.

  • Use: control+click in the top panel to select a particular time. The bottom panel will show the corresponding data snippet. Loading the data might take a while because of decompression time.

Spike localization viewer

  • Requires the following files (ask Julien Boussard)
    • spikeloc/x_position.npy
    • spikeloc/y_position.npy
    • spikeloc/z_position.npy
    • spikeloc/spike_times.npy
    • spikeloc/amplitudes.npy
    • spikeloc/alphas.npy
  • Usage example: python spikeloc.py

Coverage viewer

  • Usage example: python coverage.py
  • Requires: coverage.npy

Other prototypes

  • High-res humain brain viewer: brain_highres.py
  • Molecule viewer: molecule.py