Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.7 KB

File metadata and controls

29 lines (21 loc) · 1.7 KB

RecreateWhiteNoiseStimuliWithPython

Build status PyPI version

Code for regenerating the random-number-based contrast values applied in experiments with white-noise stimulation in the Gollisch Lab. Used for both temporal and spatiotemporal stimuli, and for both binary and Gaussian white noise.

The random-number sequences are needed for analyzing the spike responses of recorded cells under white-noise stimulation.

Installation

A full installation of the package is done from command-line using pip with

pip install retinawhitenoise

Manual installation

If the pip package is not available for a given operating system or Python version, the package and Cython code can be compiled manually instead.

pip install https://github.com/gollischlab/RecreateWhiteNoiseStimuliWithPython/archive/main.tar.gz

Windows might require the Microsoft C++ Build Tools to be installed (including "Windows SDK" and "MSVC ... C++ x64/x86 build tools"). For details, see here.

Usage

The Python package retinawhitenoise offers two modules binarystimulus and gaussianstimulus, each offering routines to recreate, save (to disk), and load stimulus sequences.

Instructions on how to use them with example code and explanations is included in the jupyter notebook examples.ipynb.