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

Trace viewer #16

Closed
rossant opened this issue Nov 23, 2014 · 1 comment · Fixed by #224
Closed

Trace viewer #16

rossant opened this issue Nov 23, 2014 · 1 comment · Fixed by #224
Assignees
Milestone

Comments

@rossant
Copy link
Contributor

rossant commented Nov 23, 2014

Possible starting point. Based on Vispy.

Features

  • Simple paging system.
  • Load the entire page into GPU memory, no dynamic undersampling (first approach).
  • Load and show the previous and next pages.
  • Pan & zoom.
  • Change channel scaling uniformly.
  • Optional automatic page scrolling with a timer.

Inputs

  • NumPy array (or memmap array) of size (nchannels, nsamples)
  • h5py dataset
  • [Optional] spike trains (spike times, neuron indices, masks) to show the spikes within the traces

Options

  • Color of the channels
  • Page size
@rossant
Copy link
Contributor Author

rossant commented Apr 16, 2015

API

  • visual.traces: (n_samples, n_channels) array (may be a NumPy array, a memmapped array, or an HDF5 dataset: the slicing interface is the same)
  • visual.channel_order: the list of channel ids to display, from top to bottom. One can display a subset of the channels
  • visual.channel_colors: the list of colors to use for the channels (same length as channel_order)
  • visual.spike_samples: the full array of spike samples
  • visual.spike_clusters: the full array of spike clusters
  • visual.cluster_ids: the list of cluster ids to display
  • visual.cluster_colors: the list of cluster colors (same length as cluster_ids)
  • visual.channel_positions: the positions of the channels on the y-axis (linear uniform by default)
  • visual.channel_scale: a scalar with the scale factor for all channels on the y-axis
  • visual.interval: the (start, end) section to display
  • visual.sample_rate
  • visual.n_samples_per_spike

@rossant rossant added the ready label Apr 16, 2015
@rossant rossant modified the milestone: v0.1.0 Apr 26, 2015
@rossant rossant changed the title Raw data viewer Trace viewer Apr 26, 2015
@rossant rossant added done and removed ready labels Apr 26, 2015
@rossant rossant mentioned this issue Apr 26, 2015
@rossant rossant self-assigned this Apr 28, 2015
@nippoo nippoo removed the done label May 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants