Metadata-Version: 2.4
Name: noise-exp
Version: 0.0.3
Summary: Noise exposure using psiexperiment
Author-email: Brad Buran <buran@ohsu.edu>
Maintainer-email: Brad Buran <buran@ohsu.edu>
License: MIT License
        
        Copyright (c) 2022 CFTS development team
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: psiaudio>=0.4.4
Requires-Dist: psiexperiment>=0.9.0
Requires-Dist: cftscal
Requires-Dist: psivideo[psi]>=0.0.8
Provides-Extra: ni
Requires-Dist: pydaqmx; extra == "ni"
Provides-Extra: tdt
Requires-Dist: tdtpy>=0.10.4; extra == "tdt"
Provides-Extra: soundcard
Requires-Dist: sounddevice; extra == "soundcard"
Requires-Dist: rtmixer; extra == "soundcard"
Provides-Extra: docs
Requires-Dist: sphinx; extra == "docs"
Requires-Dist: sphinx_rtd_theme; extra == "docs"
Requires-Dist: pygments-enaml; extra == "docs"
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-console-scripts; extra == "test"
Requires-Dist: matplotlib; extra == "test"
Provides-Extra: zarr-backend
Requires-Dist: zarr; extra == "zarr-backend"
Provides-Extra: dev
Requires-Dist: coloredlogs; extra == "dev"
Dynamic: license-file

# Noise exposure

## Introduction

This provides basic noise-exposure functionality for hearing loss experiments.

This package nominally supports both National Instruments and TDT hardware.
Those using National Instruments hardware will have to do some setup work to
map the appropriate inputs and outputs as well as ensure that all devices are
running off of the same sample clock (to ensure precise timing).

For TDT hardware, only the RZ6 is currently supported. Fortunately, the RZ6 is a fairly standard piece of hardware and should be plug-and-play out of the box.

## Installing

Install your preferred Python distribution. For use with National Instruments hardware:

    pip install noise-exp[ni]

For use with TDT hardware:

    pip install noise-exp[tdt]

For use with a sound card:

    pip install noise-exp[soundcard]

## Configuring

The cohort is entered by clicking the cohort button in the launcher, which
opens one field per slot in the exposure cage. Six slots are offered by
default. If your cage holds a different number of animals, set:

    NOISE_EXP_MAX_ANIMALS=4
