freefield
Functions for working with the freefield setup and tables that contain information about speaker position and indices.
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.5%) to scientific vocabulary
Repository
Functions for working with the freefield setup and tables that contain information about speaker position and indices.
Basic Info
Statistics
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
- Releases: 0
Metadata Files
README.md
The code in this package was written to conduct experiments using a psychoacoustics setup which consists of 48 loudspeakers and 4 cameras in a hemi-anaechoic room. The loudspeakers are driven by two digital signal processors from Tucker-Davis Technologies (TDT). While large parts of this package are tailored to one specific experimental setup, some elements (e.g. handling TDT device, head pose estimation) might have broader applicability.
Getting Started
The installation consists of two parts - the Python dependencies and the drivers for the hardware in the experimental setup. The latter is only relevant if you actually use the devices and is not required if you merely want to play around with the code.
Python dependencies
You will need Python version 3.8 since this is required by tensorflow which is necessary for head pose estimation. If you are new to Python, take a look at the installation guide for the Anaconda distribution.
Once you installed Anaconda, create a new environment with the correct Python version (name it "freefield" for example): \
conda create --name freefield python=3.8 \
Activate the environment and install pip, which is necessary to install other Python packages: \
conda activate freefield \
conda install pip \
Now install the remaining python packages: \
pip install opencv-contrib-python numpy setuptools pandas matplotlib pillow scipy metawear
Finally, you have to obtain the freefield package as well as another one from github:
pip install git+https://github.com/pfriedrich-hub/slab.git
pip install git+https://github.com/pfriedrich-hub/freefield.git
Hardware drivers
To use the functionalities of the processors you have to download and install the drivers from the
TDT Hompage (install TDT Drivers/RPvdsEx
as well as ActiveX Controls). Note that these drivers can only be installed on a Windows machine.
The communication with the processors relies on the pywin32 package which can be installed using conda: \
conda install pywin32 \
To use cameras from the manufacturer FLIR systems, you have to install their Python API (Python version >3.8 is not supported). Go to the download page! and select the correct file for your OS and Python version. For example, if you are using
a 64-Bit Windows and Python 3.8 download spinnakerpython-2.2.0.48-cp38-cp38-winamd64.zip.
Unpack the .zip file and select the folder. There should be a file inside that ends with .whl - install it using pip:\
pip install spinnaker_python-2.2.0.48-cp38-cp38-win_amd64.whl
Owner
- Login: pfriedrich-hub
- Kind: user
- Repositories: 3
- Profile: https://github.com/pfriedrich-hub
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: freefield - experimental control for psychoacoustics
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- orcid: 'https://orcid.org/0000-0003-4472-7626'
given-names: Ole
family-names: Bialas
email: ole.bialas@posteo.de
doi: 10.5281/zenodo.6027388
url: "https://github.com/OleBialas/freefield.git"
date-released: 2022-02-09
GitHub Events
Total
- Push event: 26
- Pull request event: 9
- Create event: 2
Last Year
- Push event: 26
- Pull request event: 9
- Create event: 2
Dependencies
- headpose *
- matplotlib *
- numpy *
- opencv-python *
- pandas *
- pillow *
- psychopy *
- scipy *
- setuptools *
- slab *
- torch *
- torchvision *
- numpy *
- actions/checkout v2 composite
- actions/setup-python v2 composite