soundstimbuilder

A package to create experimental sound stimuli


License
BSD-1-Clause
Install
pip install soundstimbuilder==0.1.0

Documentation

Soundstimbuilder

Soundstimbuilder is a python package for creating experimental sound stimuli.

This package is in alpha stage. Do not use yet outside our lab.

Installation

It is best to install in a separate conda environment (see below):

To install the latest development version, use pip with the latest GitHub master: ::

$ pip install git+https://github.com/gbeckers/soundstimbuilder@master

If you already have an older version installed, you may have to uninstall first (not sure, but can't hurt):

$ pip uninstall soundstimbuilder

Conda environment

It is best to first create a separate Anaconda environment for installation, for now with a number of packages with specific versions.

Most packages are in the default channel but you will also need one package from conda-forge. This channel may need to be appended to conda's channel list (if it is already appended, then the next is still safe): ::

$ conda config --append channels conda-forge

In a terminal, use the following to create an environment called "sndbld": ::

$ conda create -n sndbld python=3.8 jupyter=1.0 scipy=1.4 darr=0.2.2 pandas=1.0 matplotlib=3.1

You can also create this environment from Anaconda Navigator, without using a terminal.

Testing

To run the test suite: ::

>>> import soundstimbuilder as sb
>>> sb.test()
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
<unittest.runner.TextTestResult run=1 errors=0 failures=0>

>>>

Note that tests still have to be written, but the testing frame work is in place.