etho-python 1.0__tar.gz → 1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- etho_python-1.2/.github/workflows/draft-pdf.yml +27 -0
- {etho_python-1.0 → etho_python-1.2}/.github/workflows/python-package.yml +45 -4
- etho_python-1.2/CITATION.cff +27 -0
- etho_python-1.2/CONTRIBUTING.md +46 -0
- etho_python-1.2/LICENSE +21 -0
- {etho_python-1.0 → etho_python-1.2}/PKG-INFO +48 -21
- etho_python-1.2/README.md +96 -0
- etho_python-1.2/docs/README.md +15 -0
- {etho_python-1.0 → etho_python-1.2}/docs/cli.md +14 -13
- {etho_python-1.0 → etho_python-1.2}/docs/configuration/calibration_led.md +2 -5
- {etho_python-1.0 → etho_python-1.2}/docs/configuration/calibration_speaker.md +11 -24
- {etho_python-1.0 → etho_python-1.2}/docs/configuration/global.md +9 -13
- {etho_python-1.0 → etho_python-1.2}/docs/configuration/playlist.md +14 -12
- {etho_python-1.0 → etho_python-1.2}/docs/configuration/protocol.md +25 -34
- {etho_python-1.0 → etho_python-1.2}/docs/hardware/hardware.rst +6 -2
- {etho_python-1.0 → etho_python-1.2}/docs/hardware/nidaq.md +4 -5
- {etho_python-1.0 → etho_python-1.2}/docs/hardware/scanimage.md +3 -3
- {etho_python-1.0 → etho_python-1.2}/docs/index.rst +7 -3
- etho_python-1.2/docs/install.rst +66 -0
- {etho_python-1.0 → etho_python-1.2}/docs/logging.md +11 -4
- {etho_python-1.0 → etho_python-1.2}/docs/make_api_doctree.py +5 -0
- {etho_python-1.0 → etho_python-1.2}/docs/tutorial.md +16 -15
- etho_python-1.2/paper/bib.bib +153 -0
- etho_python-1.2/paper/fig_flow.pdf +0 -0
- etho_python-1.2/paper/paper.md +92 -0
- {etho_python-1.0 → etho_python-1.2}/pyproject.toml +1 -2
- {etho_python-1.0 → etho_python-1.2}/src/etho/app.py +235 -242
- {etho_python-1.0 → etho_python-1.2}/src/etho/cli.py +72 -19
- etho_python-1.2/src/etho/res_app.py +225 -0
- etho_python-1.2/src/etho/resumable.py +283 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/DAQZeroService.py +1 -2
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/GCMZeroService.py +6 -2
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/GOVZeroService.py +31 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/NICounterZeroService.py +80 -73
- etho_python-1.2/src/etho/services/resumable.py +476 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/utils/sound.py +62 -98
- etho_python-1.2/tests/test_cli_gui_smoke.py +221 -0
- {etho_python-1.0 → etho_python-1.2}/tests/test_gov_service.py +28 -0
- etho_python-1.2/tests/test_resumable.py +509 -0
- etho_python-1.2/tests/test_sound.py +43 -0
- etho_python-1.2/tests/test_sound_playlist_mono.txt +4 -0
- etho_python-1.2/tests/test_sound_playlist_stereo.txt +4 -0
- etho_python-1.0/CITATION.cff +0 -26
- etho_python-1.0/CONTRIBUTING.md +0 -29
- etho_python-1.0/README.md +0 -71
- etho_python-1.0/docs/README.md +0 -4
- etho_python-1.0/docs/install.rst +0 -83
- etho_python-1.0/paper/paper.md +0 -1
- etho_python-1.0/tests/test_sound.py +0 -22
- etho_python-1.0/tests/test_sound_playlist_mirrorled.txt +0 -2
- etho_python-1.0/tests/test_sound_playlist_mono.txt +0 -4
- etho_python-1.0/tests/test_sound_playlist_stereo.txt +0 -4
- {etho_python-1.0 → etho_python-1.2}/.github/workflows/static.yml +0 -0
- {etho_python-1.0 → etho_python-1.2}/.gitignore +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/Makefile +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/_static/etho_dark.svg +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/_static/etho_light.svg +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/_templates/api_head.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/_templates/autosummary/module.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.app.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.cli.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.client.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.BLTZeroService.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.DAQZeroService.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.GCMZeroService.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.GOVZeroService.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.NICounterZeroService.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.TemplateZeroService.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.ZeroService.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.camera.base.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.camera.basler.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.camera.dummy.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.camera.hamamatsu.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.camera.spinnaker.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.camera.ximea.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.dlp.dlp_make_warpfiles.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.utils.concurrent_task.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.services.utils.log_exceptions.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.utils.calibration.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.utils.config.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.utils.runner.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.utils.shuffled_cycle.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.utils.sound.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.utils.tui.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api/etho.utils.zeroclient.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/api_etho.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/callbacks.md +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/conf.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/configuration/configuration.rst +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/extensions.md +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/hardware/camera.md +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/hardware/projector.md +0 -0
- {etho_python-1.0 → etho_python-1.2}/docs/make.bat +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/__init__.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/assets/etho_icon1_pipeline_dark.svg +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/assets/etho_icon1_pipeline_light.svg +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/client.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/BLTZeroService.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/DLPZeroService.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/ScanImageTriggerZeroService.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/TemplateZeroService.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/ZeroService.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/__init__.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/callbacks/__init__.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/callbacks/_base.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/callbacks/_image.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/callbacks/_trace.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/camera/__init__.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/camera/base.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/camera/basler.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/camera/dummy.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/camera/hamamatsu.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/camera/spinnaker.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/camera/ximea.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/daq/IOTask.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/daq/ai.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/dlp/dlp_make_warpfiles.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/dlp/dlp_runners.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/utils/__init__.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/utils/concurrent_task.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/services/utils/log_exceptions.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/utils/__init__.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/utils/calibration.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/utils/config.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/utils/runner.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/utils/shuffled_cycle.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/utils/tui.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/src/etho/utils/zeroclient.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/tests/test_config.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/tests/test_config.yaml +0 -0
- {etho_python-1.0 → etho_python-1.2}/tests/test_import.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/tests/test_service_client_wiring.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/tests/test_services.py +0 -0
- {etho_python-1.0 → etho_python-1.2}/tests/test_shuffled_cycle.py +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: Draft PDF
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
paths:
|
|
5
|
+
- paper/**
|
|
6
|
+
- .github/workflows/draft-pdf.yml
|
|
7
|
+
jobs:
|
|
8
|
+
paper:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
name: Paper Draft
|
|
11
|
+
steps:
|
|
12
|
+
- name: Checkout
|
|
13
|
+
uses: actions/checkout@v4
|
|
14
|
+
- name: Build draft PDF
|
|
15
|
+
uses: openjournals/openjournals-draft-action@master
|
|
16
|
+
with:
|
|
17
|
+
journal: joss
|
|
18
|
+
# This should be the path to the paper within your repo.
|
|
19
|
+
paper-path: paper/paper.md
|
|
20
|
+
- name: Upload
|
|
21
|
+
uses: actions/upload-artifact@v4
|
|
22
|
+
with:
|
|
23
|
+
name: paper
|
|
24
|
+
# This is the output path where Pandoc will write the compiled
|
|
25
|
+
# PDF. Note, this should be the same directory as the input
|
|
26
|
+
# paper.md
|
|
27
|
+
path: paper/paper.pdf
|
|
@@ -6,9 +6,20 @@ name: Test
|
|
|
6
6
|
on:
|
|
7
7
|
push:
|
|
8
8
|
branches: [ "master" ]
|
|
9
|
+
paths-ignore:
|
|
10
|
+
- 'paper/**'
|
|
11
|
+
- 'docs/**'
|
|
12
|
+
- '.github/workflows/main.yml'
|
|
13
|
+
- '.github/workflows/static.yml'
|
|
14
|
+
- '*'
|
|
9
15
|
pull_request:
|
|
10
16
|
branches: [ "master" ]
|
|
11
|
-
|
|
17
|
+
paths-ignore:
|
|
18
|
+
- 'paper/**'
|
|
19
|
+
- 'docs/**'
|
|
20
|
+
- '.github/workflows/main.yml'
|
|
21
|
+
- '.github/workflows/static.yml'
|
|
22
|
+
- '*'
|
|
12
23
|
jobs:
|
|
13
24
|
build:
|
|
14
25
|
|
|
@@ -16,7 +27,7 @@ jobs:
|
|
|
16
27
|
strategy:
|
|
17
28
|
fail-fast: false
|
|
18
29
|
matrix:
|
|
19
|
-
python-version: ["3.10"
|
|
30
|
+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
20
31
|
|
|
21
32
|
steps:
|
|
22
33
|
- uses: actions/checkout@v4
|
|
@@ -28,8 +39,38 @@ jobs:
|
|
|
28
39
|
run: |
|
|
29
40
|
python -m pip install --upgrade pip uv
|
|
30
41
|
uv pip install flake8 pytest --system
|
|
31
|
-
uv pip install ".[dev,
|
|
32
|
-
|
|
42
|
+
uv pip install ".[dev,doc]" --upgrade --system
|
|
43
|
+
- name: Create etho config
|
|
44
|
+
run: |
|
|
45
|
+
New-Item -ItemType Directory -Force "$HOME/ethoconfig" | Out-Null
|
|
46
|
+
@'
|
|
47
|
+
user: ncb
|
|
48
|
+
host: localhost
|
|
49
|
+
savefolder: data
|
|
50
|
+
protocolfolder: ethoconfig/protocols
|
|
51
|
+
playlistfolder: ethoconfig/playlists
|
|
52
|
+
stimfolder: ethoconfig/stim
|
|
53
|
+
python_exe: python
|
|
54
|
+
ATTENUATION:
|
|
55
|
+
-1: 1
|
|
56
|
+
0: 1
|
|
57
|
+
100: 1
|
|
58
|
+
150: 1
|
|
59
|
+
200: 1
|
|
60
|
+
250: 1
|
|
61
|
+
300: 1
|
|
62
|
+
350: 1
|
|
63
|
+
400: 1
|
|
64
|
+
450: 1
|
|
65
|
+
500: 1
|
|
66
|
+
600: 1
|
|
67
|
+
700: 1
|
|
68
|
+
800: 1
|
|
69
|
+
900: 1
|
|
70
|
+
1000: 1
|
|
71
|
+
1500: 1
|
|
72
|
+
2000: 1
|
|
73
|
+
'@ | Set-Content "$HOME/ethoconfig/ethoconfig.yml"
|
|
33
74
|
- name: Lint with flake8
|
|
34
75
|
run: |
|
|
35
76
|
# stop the build if there are Python syntax errors or undefined names
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "If you use etho in your research, please cite the software using the metadata below."
|
|
3
|
+
title: "`Etho`: A Python framework for coordinating stimuli, data acquisition, and hardware control in neuroscience experiments."
|
|
4
|
+
abstract: `Etho` is an open-source Python package for running behavioral and neuroscience experiments that require coordinated stimulus presentation, hardware control, and data acquisition. It was developed for experiments combining stimulus playback, analog and digital input/output, video acquisition, optogenetic stimulation, environmental monitoring, and external imaging systems. The package is user-friendly and does not require programming skills for configuration or operation. It provides text-based configuration through both a command-line interface and a graphical user interface for running experiments. The central use case for `etho` is a laboratory experiment in which multiple devices must operate together with reproducible timing. For example, an experiment can present calibrated acoustic and optogenetic stimuli through National Instruments data-acquisition hardware, record multichannel microphone and trigger signals, acquire synchronized camera frames, and send control pulses to external systems such as ScanImage. After the experiment, the timing relationships between stimuli, recordings, and control signals remain available for downstream annotation and analysis. Experimental logic is specified in human-readable YAML protocol files and tabular stimulus playlists, separating scientific design from low-level device code and making experiments easier to inspect, modify, archive, and reproduce.
|
|
5
|
+
|
|
6
|
+
type: software
|
|
7
|
+
|
|
8
|
+
authors:
|
|
9
|
+
- family-names: Clemens
|
|
10
|
+
given-names: Jan
|
|
11
|
+
orcid: "https://orcid.org/0000-0003-4200-8097"
|
|
12
|
+
affiliation: "Carl von Ossietzky University, Oldenburg, Germany"
|
|
13
|
+
|
|
14
|
+
repository-code: "https://github.com/janclemenslab/etho"
|
|
15
|
+
license: MIT
|
|
16
|
+
|
|
17
|
+
preferred-citation:
|
|
18
|
+
type: article
|
|
19
|
+
title: "etho: A Python framework for coordinating stimuli, data acquisition, and hardware control in neuroscience experiments"
|
|
20
|
+
authors:
|
|
21
|
+
- family-names: Clemens
|
|
22
|
+
given-names: Jan
|
|
23
|
+
orcid: "https://orcid.org/0000-0003-4200-8097"
|
|
24
|
+
affiliation: "Carl von Ossietzky University, Oldenburg, Germany"
|
|
25
|
+
journal: "tbd"
|
|
26
|
+
year: 2026
|
|
27
|
+
date-released: 2026-05-10
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thank you for your interest in contributing to `etho`.
|
|
4
|
+
|
|
5
|
+
## Platform scope
|
|
6
|
+
|
|
7
|
+
`etho` is tested as runtime software for Windows acquisition rigs. The hardware
|
|
8
|
+
stack depends on vendor SDKs, which may also work on macOS or Linux but have
|
|
9
|
+
not been tested with `etho`. Development, unit tests, and documentation work can
|
|
10
|
+
be done on Windows, macOS, or Linux when hardware SDKs are not required. Keep
|
|
11
|
+
user-facing installation and run instructions Windows-focused; use
|
|
12
|
+
cross-platform commands only for contributor workflows.
|
|
13
|
+
|
|
14
|
+
## Reporting issues
|
|
15
|
+
|
|
16
|
+
Please use the GitHub issue tracker to report bugs, request features, or ask questions. When possible, include:
|
|
17
|
+
|
|
18
|
+
- a minimal reproducible example
|
|
19
|
+
- operating system and Python version
|
|
20
|
+
- output of `etho version`
|
|
21
|
+
- relevant log output or error messages
|
|
22
|
+
|
|
23
|
+
## Development setup
|
|
24
|
+
|
|
25
|
+
Clone the repository and install the package in editable mode:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
git clone https://github.com/janclemenslab/etho.git
|
|
29
|
+
cd etho
|
|
30
|
+
conda create -n etho -c conda-forge -y python=3.14 uv pip git
|
|
31
|
+
conda activate etho
|
|
32
|
+
uv pip install -e ".[dev,doc]"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Use Python 3.14 by default. Use Python 3.10 instead when reproducing behavior
|
|
36
|
+
for hardware SDKs that only provide Python 3.10 bindings.
|
|
37
|
+
|
|
38
|
+
## Running tests
|
|
39
|
+
|
|
40
|
+
Run the test suite locally before submitting changes. Tests do not require hardware SDKs.
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
python -m pytest
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Use the same activated environment where you installed the editable package. Continuous integration (CI) tests are automatically run on all pull requests and must pass before merging.
|
etho_python-1.2/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Jan Clemens
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: etho-python
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2
|
|
4
4
|
Summary: etho
|
|
5
5
|
Author-email: Jan Clemens <clemensjan@googlemail.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
License-File: LICENSE
|
|
9
10
|
Requires-Dist: numpy
|
|
10
11
|
Requires-Dist: scipy
|
|
11
12
|
Requires-Dist: h5py
|
|
@@ -48,14 +49,14 @@ Project-URL: source, https://github.com/janclemenslab/etho
|
|
|
48
49
|
Provides-Extra: dev
|
|
49
50
|
Provides-Extra: doc
|
|
50
51
|
|
|
51
|
-
# `
|
|
52
|
+
# `Etho`: A Python framework for coordinating stimuli, data acquisition, and hardware control in neuroscience experiments
|
|
52
53
|
|
|
53
54
|
[](https://github.com/janclemenslab/etho/actions/workflows/python-package.yml)
|
|
54
55
|
[](https://janclemenslab.org/etho)
|
|
55
56
|
[](LICENSE)
|
|
56
57
|
[](https://doi.org/10.5281/zenodo.20110619)
|
|
57
58
|
|
|
58
|
-
`
|
|
59
|
+
`Etho` is an open-source Python framework for running behavioral neuroscience experiments that require coordinated stimulus presentation, hardware control, data acquisition, and experiment logging.
|
|
59
60
|
|
|
60
61
|
It was developed for neuroscience experiments, where multiple hardware devices must operate together with reproducible timing. `etho` coordinates cameras, National Instruments DAQ hardware, acoustic and optogenetic stimulation, environmental sensors, and external imaging systems through a modular service-based architecture.
|
|
61
62
|
|
|
@@ -69,32 +70,51 @@ from the underlying device code.
|
|
|
69
70
|
See the [documentation](https://janclemenslab.org/etho) for details.
|
|
70
71
|
|
|
71
72
|
|
|
73
|
+
## Platform support
|
|
74
|
+
|
|
75
|
+
`etho` is tested for behavioral acquisition rigs on Windows. The hardware stack
|
|
76
|
+
depends on vendor SDKs, which may also work on macOS or Linux but have not been
|
|
77
|
+
tested with `etho`. Development, unit tests, and documentation work can be done
|
|
78
|
+
on macOS or Linux when hardware SDKs are not required.
|
|
79
|
+
|
|
80
|
+
|
|
72
81
|
## Installation
|
|
73
82
|
|
|
74
|
-
Quick installation:
|
|
83
|
+
Quick installation on a Windows rig from PowerShell:
|
|
75
84
|
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
|
|
85
|
+
```powershell
|
|
86
|
+
conda create -n etho -c conda-forge -y python=3.14 uv pip git
|
|
87
|
+
conda activate etho
|
|
79
88
|
uv pip install etho-python
|
|
89
|
+
etho init
|
|
80
90
|
```
|
|
81
91
|
|
|
82
|
-
|
|
92
|
+
`etho` supports Python 3.10 through 3.14. The Python version to use depends on
|
|
93
|
+
the hardware SDKs required by the rig. Check the Python versions supported by
|
|
94
|
+
the required hardware SDKs before installation. For FLIR/Spinnaker, public
|
|
95
|
+
downloads may list Python 3.10, but FLIR support can provide Python 3.14
|
|
96
|
+
bindings.
|
|
97
|
+
|
|
98
|
+
Some hardware backends require additional vendor SDKs, drivers, and pinned
|
|
99
|
+
Python or package versions.
|
|
83
100
|
See the full [installation guide](https://janclemenslab.org/etho/install.html).
|
|
84
101
|
|
|
85
102
|
|
|
86
103
|
## Usage
|
|
87
104
|
|
|
88
|
-
Etho can be controlled via a GUI. Launch it
|
|
105
|
+
Etho can be controlled via a GUI on the Windows rig. Launch it from the
|
|
106
|
+
activated PowerShell environment with:
|
|
89
107
|
|
|
90
|
-
```
|
|
108
|
+
```powershell
|
|
109
|
+
conda activate etho
|
|
91
110
|
etho gui
|
|
92
111
|
```
|
|
93
112
|
|
|
94
113
|
Alternatively, experiments can be run from the terminal:
|
|
95
114
|
|
|
96
|
-
```
|
|
97
|
-
|
|
115
|
+
```powershell
|
|
116
|
+
conda activate etho
|
|
117
|
+
etho run ".\protocol.yaml" ".\playlist.txt"
|
|
98
118
|
```
|
|
99
119
|
|
|
100
120
|
Data generated by etho can be inspected, annotated, and analyzed with [xarray-behave](https://github.com/janclemenslab/xarray-behave).
|
|
@@ -102,20 +122,27 @@ Data generated by etho can be inspected, annotated, and analyzed with [xarray-be
|
|
|
102
122
|
|
|
103
123
|
## Citation
|
|
104
124
|
|
|
105
|
-
|
|
125
|
+
A [JOSS paper](paper/paper.md) describing the software is in preparation. For now, if you use `etho` or components of it in your research, please check the **Cite this repository** button in the repository sidebar or cite:
|
|
126
|
+
|
|
127
|
+
Clemens, J. (2026). `Etho`: A Python framework for coordinating stimuli, data acquisition, and hardware control in neuroscience experiments. doi:10.5281/zenodo.20110619
|
|
106
128
|
|
|
107
|
-
```bibtex
|
|
108
|
-
TODO
|
|
109
|
-
```
|
|
110
129
|
|
|
111
|
-
A [JOSS paper](paper/paper.md) describing the software is in preparation.
|
|
112
130
|
|
|
113
131
|
The `etho` software has been used in the following publications:
|
|
114
132
|
|
|
115
|
-
-
|
|
133
|
+
- Ravindran Nair, S., Palacios-Muñoz, A., Martineau, S., Nasr, M., & Clemens, J. (2026).
|
|
134
|
+
_Sex-specific behavioral feedback modulates sensorimotor processing and drives flexible social behavior._
|
|
135
|
+
Nature Communications, 17, 4026. https://doi.org/10.1038/s41467-026-72057-9
|
|
136
|
+
|
|
137
|
+
- Steinfath, E., Khalili, A., Stenger, M., Schultze, B. L., Nair, S. R., Alizadeh, K., & Clemens, J. (2025).
|
|
138
|
+
_A neural circuit for context-dependent multimodal signaling in *Drosophila*._
|
|
139
|
+
Nature Communications, 16, 9472. https://doi.org/10.1038/s41467-025-64907-9
|
|
116
140
|
|
|
117
|
-
-
|
|
141
|
+
- Palacios-Muñoz, A., & Clemens, J. (2025).
|
|
142
|
+
_*Drosophila* males integrate song and pheromones using context-specific strategies._
|
|
143
|
+
BioRxiv. https://doi.org/10.1101/2025.07.25.666755
|
|
118
144
|
|
|
119
|
-
-
|
|
145
|
+
- Vijendravarma, R. K., Narasimha, S., Steinfath, E., Clemens, J., & Leopold, P. (2022).
|
|
146
|
+
_*Drosophila* females have an acoustic preference for symmetric males._
|
|
147
|
+
Proceedings of the National Academy of Sciences, 119(13), e2116136119. https://doi.org/10.1073/pnas.2116136119
|
|
120
148
|
|
|
121
|
-
- Ravindran Nair, S., Palacios-Muñoz, A., Martineau, S., Nasr, M., & Clemens, J. (2026). Sex-specific behavioral feedback modulates sensorimotor processing and drives flexible social behavior. Nature Communications, 17, 4026. https://doi.org/10.1038/s41467-026-72057-9
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# `Etho`: A Python framework for coordinating stimuli, data acquisition, and hardware control in neuroscience experiments
|
|
2
|
+
|
|
3
|
+
[](https://github.com/janclemenslab/etho/actions/workflows/python-package.yml)
|
|
4
|
+
[](https://janclemenslab.org/etho)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
[](https://doi.org/10.5281/zenodo.20110619)
|
|
7
|
+
|
|
8
|
+
`Etho` is an open-source Python framework for running behavioral neuroscience experiments that require coordinated stimulus presentation, hardware control, data acquisition, and experiment logging.
|
|
9
|
+
|
|
10
|
+
It was developed for neuroscience experiments, where multiple hardware devices must operate together with reproducible timing. `etho` coordinates cameras, National Instruments DAQ hardware, acoustic and optogenetic stimulation, environmental sensors, and external imaging systems through a modular service-based architecture.
|
|
11
|
+
|
|
12
|
+
The software is designed to make experiments reproducible, configurable, and maintainable by separating:
|
|
13
|
+
- experiment logic and hardware (`protocol.yaml`)
|
|
14
|
+
- stimulus definitions (`playlist.txt`)
|
|
15
|
+
- acquisition callbacks and logs
|
|
16
|
+
|
|
17
|
+
from the underlying device code.
|
|
18
|
+
|
|
19
|
+
See the [documentation](https://janclemenslab.org/etho) for details.
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## Platform support
|
|
23
|
+
|
|
24
|
+
`etho` is tested for behavioral acquisition rigs on Windows. The hardware stack
|
|
25
|
+
depends on vendor SDKs, which may also work on macOS or Linux but have not been
|
|
26
|
+
tested with `etho`. Development, unit tests, and documentation work can be done
|
|
27
|
+
on macOS or Linux when hardware SDKs are not required.
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## Installation
|
|
31
|
+
|
|
32
|
+
Quick installation on a Windows rig from PowerShell:
|
|
33
|
+
|
|
34
|
+
```powershell
|
|
35
|
+
conda create -n etho -c conda-forge -y python=3.14 uv pip git
|
|
36
|
+
conda activate etho
|
|
37
|
+
uv pip install etho-python
|
|
38
|
+
etho init
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
`etho` supports Python 3.10 through 3.14. The Python version to use depends on
|
|
42
|
+
the hardware SDKs required by the rig. Check the Python versions supported by
|
|
43
|
+
the required hardware SDKs before installation. For FLIR/Spinnaker, public
|
|
44
|
+
downloads may list Python 3.10, but FLIR support can provide Python 3.14
|
|
45
|
+
bindings.
|
|
46
|
+
|
|
47
|
+
Some hardware backends require additional vendor SDKs, drivers, and pinned
|
|
48
|
+
Python or package versions.
|
|
49
|
+
See the full [installation guide](https://janclemenslab.org/etho/install.html).
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## Usage
|
|
53
|
+
|
|
54
|
+
Etho can be controlled via a GUI on the Windows rig. Launch it from the
|
|
55
|
+
activated PowerShell environment with:
|
|
56
|
+
|
|
57
|
+
```powershell
|
|
58
|
+
conda activate etho
|
|
59
|
+
etho gui
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Alternatively, experiments can be run from the terminal:
|
|
63
|
+
|
|
64
|
+
```powershell
|
|
65
|
+
conda activate etho
|
|
66
|
+
etho run ".\protocol.yaml" ".\playlist.txt"
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Data generated by etho can be inspected, annotated, and analyzed with [xarray-behave](https://github.com/janclemenslab/xarray-behave).
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## Citation
|
|
73
|
+
|
|
74
|
+
A [JOSS paper](paper/paper.md) describing the software is in preparation. For now, if you use `etho` or components of it in your research, please check the **Cite this repository** button in the repository sidebar or cite:
|
|
75
|
+
|
|
76
|
+
Clemens, J. (2026). `Etho`: A Python framework for coordinating stimuli, data acquisition, and hardware control in neuroscience experiments. doi:10.5281/zenodo.20110619
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
The `etho` software has been used in the following publications:
|
|
81
|
+
|
|
82
|
+
- Ravindran Nair, S., Palacios-Muñoz, A., Martineau, S., Nasr, M., & Clemens, J. (2026).
|
|
83
|
+
_Sex-specific behavioral feedback modulates sensorimotor processing and drives flexible social behavior._
|
|
84
|
+
Nature Communications, 17, 4026. https://doi.org/10.1038/s41467-026-72057-9
|
|
85
|
+
|
|
86
|
+
- Steinfath, E., Khalili, A., Stenger, M., Schultze, B. L., Nair, S. R., Alizadeh, K., & Clemens, J. (2025).
|
|
87
|
+
_A neural circuit for context-dependent multimodal signaling in *Drosophila*._
|
|
88
|
+
Nature Communications, 16, 9472. https://doi.org/10.1038/s41467-025-64907-9
|
|
89
|
+
|
|
90
|
+
- Palacios-Muñoz, A., & Clemens, J. (2025).
|
|
91
|
+
_*Drosophila* males integrate song and pheromones using context-specific strategies._
|
|
92
|
+
BioRxiv. https://doi.org/10.1101/2025.07.25.666755
|
|
93
|
+
|
|
94
|
+
- Vijendravarma, R. K., Narasimha, S., Steinfath, E., Clemens, J., & Leopold, P. (2022).
|
|
95
|
+
_*Drosophila* females have an acoustic preference for symmetric males._
|
|
96
|
+
Proceedings of the National Academy of Sciences, 119(13), e2116136119. https://doi.org/10.1073/pnas.2116136119
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Documentation
|
|
2
|
+
- User-facing installation and run docs should target Windows acquisition rigs.
|
|
3
|
+
macOS and Linux are fine for building docs and running development checks
|
|
4
|
+
that do not require hardware SDKs.
|
|
5
|
+
|
|
6
|
+
- _Install_ etho with the `dev` and `doc` extras in the conda environment:
|
|
7
|
+
```bash
|
|
8
|
+
conda create -n etho -c conda-forge -y python=3.14 uv pip git
|
|
9
|
+
conda activate etho
|
|
10
|
+
uv pip install -e ".[dev,doc]"
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
- _Build_ the docs via `make clean html`. A fully-rendered HTML version will be built in `docs/_build/html/`.
|
|
14
|
+
|
|
15
|
+
- _Publish_ the book by running `make clean html push`. This will build the book, push the static HTML files to [gh-pages](https://github.com/janclemenslab/etho/tree/gh-pages), and make it accessible at [janclemenslab.org/etho](https://janclemenslab.org/etho/).
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Command-Line Interface
|
|
2
2
|
|
|
3
|
-
The installed console command is `etho`.
|
|
3
|
+
The installed console command is `etho`. The public interface exposes four
|
|
4
|
+
subcommands. Examples on this page assume a Windows rig and PowerShell.
|
|
4
5
|
|
|
5
6
|
```text
|
|
6
7
|
usage: etho [-h] {version,init,run,gui} ...
|
|
@@ -29,12 +30,12 @@ options:
|
|
|
29
30
|
|
|
30
31
|
Run this once per user account:
|
|
31
32
|
|
|
32
|
-
```
|
|
33
|
+
```powershell
|
|
33
34
|
etho init
|
|
34
35
|
```
|
|
35
36
|
|
|
36
|
-
It creates
|
|
37
|
-
stimulus folder, and example files for a dummy-camera run.
|
|
37
|
+
It creates `%USERPROFILE%\ethoconfig\ethoconfig.yml`, protocol and playlist
|
|
38
|
+
folders, a stimulus folder, and example files for a dummy-camera run.
|
|
38
39
|
|
|
39
40
|
## Start the GUI
|
|
40
41
|
|
|
@@ -45,9 +46,9 @@ Opens the graphical user interface.
|
|
|
45
46
|
|
|
46
47
|
positional arguments:
|
|
47
48
|
protocol_folder Folder with protocol files.
|
|
48
|
-
Defaults to value ['HEAD']['protocolfolder'] from
|
|
49
|
+
Defaults to value ['HEAD']['protocolfolder'] from %USERPROFILE%\ethoconfig\ethoconfig.yml.
|
|
49
50
|
playlist_folder Folder with playlist files.
|
|
50
|
-
Defaults to value ['HEAD']['playlistfolder'] from
|
|
51
|
+
Defaults to value ['HEAD']['playlistfolder'] from %USERPROFILE%\ethoconfig\ethoconfig.yml.
|
|
51
52
|
|
|
52
53
|
options:
|
|
53
54
|
-h, --help show this help message and exit
|
|
@@ -55,9 +56,9 @@ options:
|
|
|
55
56
|
|
|
56
57
|
Typical usage:
|
|
57
58
|
|
|
58
|
-
```
|
|
59
|
+
```powershell
|
|
59
60
|
etho gui
|
|
60
|
-
etho gui
|
|
61
|
+
etho gui "$HOME\ethoconfig\protocols" "$HOME\ethoconfig\playlists"
|
|
61
62
|
```
|
|
62
63
|
|
|
63
64
|
## Run an Experiment
|
|
@@ -84,14 +85,14 @@ options:
|
|
|
84
85
|
|
|
85
86
|
Run a camera-only protocol:
|
|
86
87
|
|
|
87
|
-
```
|
|
88
|
-
etho run
|
|
88
|
+
```powershell
|
|
89
|
+
etho run "$HOME\ethoconfig\protocols\dummy_1min.yml" --save-prefix test_camera
|
|
89
90
|
```
|
|
90
91
|
|
|
91
92
|
Run a protocol that includes a DAQ service and therefore needs a playlist:
|
|
92
93
|
|
|
93
|
-
```
|
|
94
|
-
etho run
|
|
94
|
+
```powershell
|
|
95
|
+
etho run "$HOME\ethoconfig\protocols\my_protocol.yml" "$HOME\ethoconfig\playlists\my_playlist.txt" --save-prefix session_001
|
|
95
96
|
```
|
|
96
97
|
|
|
97
98
|
Use `--preview` for camera alignment. Preview mode disables saving and logging
|
|
@@ -113,7 +114,7 @@ options:
|
|
|
113
114
|
|
|
114
115
|
Run:
|
|
115
116
|
|
|
116
|
-
```
|
|
117
|
+
```powershell
|
|
117
118
|
etho version
|
|
118
119
|
etho version --debug
|
|
119
120
|
```
|
|
@@ -9,7 +9,7 @@ configuration or analysis notes.
|
|
|
9
9
|
For each calibrated LED path, record:
|
|
10
10
|
|
|
11
11
|
- rig name and date
|
|
12
|
-
- LED driver model and gain/current settings
|
|
12
|
+
- LED driver model and gain/current or other hardware settings
|
|
13
13
|
- DAQ output channel
|
|
14
14
|
- measurement sensor and calibration date
|
|
15
15
|
- distance and geometry at the sample position
|
|
@@ -24,7 +24,4 @@ For each calibrated LED path, record:
|
|
|
24
24
|
3. Run a short playlist that steps through the expected intensity range.
|
|
25
25
|
4. Measure optical output at the sample position.
|
|
26
26
|
5. Update the rig's attenuation/calibration notes.
|
|
27
|
-
6. Re-run at
|
|
28
|
-
|
|
29
|
-
If the playlist uses `MIRROR_LED`, confirm that the DAQ protocol defines
|
|
30
|
-
`ledamp` and that the generated pulse train has the expected voltage amplitude.
|
|
27
|
+
6. Re-run at the playlist and record the measured value.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Speaker Calibration
|
|
2
2
|
|
|
3
|
-
Speaker calibration sets the attenuation values used when
|
|
4
|
-
stimuli. The goal is that playlist `intensity` values correspond to the sound
|
|
5
|
-
unit
|
|
3
|
+
Speaker calibration sets the attenuation values used when `etho` loads playlist
|
|
4
|
+
stimuli. The goal is that playlist `intensity` values correspond to the sound intensity
|
|
5
|
+
unit used by the rig.
|
|
6
6
|
|
|
7
7
|
## Hardware Setup
|
|
8
8
|
|
|
@@ -12,6 +12,7 @@ unit convention used by the rig.
|
|
|
12
12
|
4. Use the same playback output path and amplifier settings used during experiments.
|
|
13
13
|
5. Record the microphone calibration file, date, and gain settings.
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
## Run Calibration Stimuli
|
|
16
17
|
|
|
17
18
|
Use a calibration playlist that covers the frequency and intensity range needed
|
|
@@ -22,13 +23,16 @@ for experiments. During the run, save:
|
|
|
22
23
|
- playlist file
|
|
23
24
|
- current `ethoconfig.yml`
|
|
24
25
|
- microphone calibration metadata
|
|
26
|
+
- amplifier gain and other hardware settings.
|
|
25
27
|
- rig name and date
|
|
26
28
|
|
|
29
|
+
|
|
27
30
|
## Analyze And Update
|
|
28
31
|
|
|
29
32
|
Analyze the recorded response to calculate attenuation factors for the
|
|
30
|
-
frequencies used in playlists.
|
|
31
|
-
|
|
33
|
+
frequencies used in playlists. You would use the microphone calibration data to convert analog input voltage to sound intensity units.
|
|
34
|
+
Store the resulting mapping in
|
|
35
|
+
`%USERPROFILE%\ethoconfig\ethoconfig.yml` under `ATTENUATION`.
|
|
32
36
|
|
|
33
37
|
Example:
|
|
34
38
|
|
|
@@ -40,23 +44,6 @@ ATTENUATION:
|
|
|
40
44
|
200: 0.74
|
|
41
45
|
```
|
|
42
46
|
|
|
43
|
-
After updating attenuation, run
|
|
44
|
-
output matches the target within the tolerance used by the rig.
|
|
45
|
-
|
|
46
|
-
## Suggested File Layout
|
|
47
|
-
|
|
48
|
-
```text
|
|
49
|
-
playback/
|
|
50
|
-
calibration/
|
|
51
|
-
mic_calibration/
|
|
52
|
-
mic_calibration_YYYYMMDD.yml
|
|
53
|
-
YYYYMMDD/
|
|
54
|
-
rig_name_before.csv
|
|
55
|
-
ethoconfig_rig_name_before.yml
|
|
56
|
-
rig_name_after.csv
|
|
57
|
-
ethoconfig_rig_name_after.yml
|
|
58
|
-
figures/
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
Keep enough metadata with the calibration data that another operator can repeat
|
|
47
|
+
After updating attenuation, run the calibration playlist and confirm the measured
|
|
48
|
+
output matches the target within the tolerance used by the rig. Keep enough metadata with the calibration data that another operator can repeat
|
|
62
49
|
or audit the calibration later.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
(global-configuration)=
|
|
2
2
|
# Global Configuration
|
|
3
3
|
|
|
4
|
-
The global configuration lives at
|
|
5
|
-
by:
|
|
4
|
+
The global configuration lives at
|
|
5
|
+
`%USERPROFILE%\ethoconfig\ethoconfig.yml` on the Windows rig. It is created by:
|
|
6
6
|
|
|
7
|
-
```
|
|
7
|
+
```powershell
|
|
8
8
|
etho init
|
|
9
9
|
```
|
|
10
10
|
|
|
@@ -12,11 +12,11 @@ Example:
|
|
|
12
12
|
|
|
13
13
|
```yaml
|
|
14
14
|
user: ncb
|
|
15
|
-
savefolder:
|
|
16
|
-
python_exe:
|
|
17
|
-
playlistfolder:
|
|
18
|
-
protocolfolder:
|
|
19
|
-
stimfolder:
|
|
15
|
+
savefolder: C:\Users\USER\data
|
|
16
|
+
python_exe: C:\Users\USER\miniforge3\envs\etho\python.exe
|
|
17
|
+
playlistfolder: C:\Users\USER\ethoconfig\playlists
|
|
18
|
+
protocolfolder: C:\Users\USER\ethoconfig\protocols
|
|
19
|
+
stimfolder: C:\Users\USER\ethoconfig\stim
|
|
20
20
|
ATTENUATION:
|
|
21
21
|
-1: 1
|
|
22
22
|
0: 1
|
|
@@ -26,13 +26,9 @@ ATTENUATION:
|
|
|
26
26
|
Fields:
|
|
27
27
|
|
|
28
28
|
- `savefolder`: Parent folder for experiment output directories.
|
|
29
|
-
- `python_exe`: Python executable used when services are started. This should usually point to the `etho` conda environment.
|
|
29
|
+
- `python_exe`: Python executable used when services are started. This should usually point to the `etho` conda environment. Protocol files can override `python_exe` for a service if a specific service must run in a different environment.
|
|
30
30
|
- `playlistfolder`: Default folder shown by the GUI for playlist files.
|
|
31
31
|
- `protocolfolder`: Default folder shown by the GUI for protocol files.
|
|
32
32
|
- `stimfolder`: Folder used to resolve stimulus files referenced by playlists.
|
|
33
33
|
- `ATTENUATION`: Frequency-keyed attenuation factors used when loading stimuli.
|
|
34
34
|
- `user`: Optional user or rig label.
|
|
35
|
-
|
|
36
|
-
Protocol files can override `python_exe` for a service if a specific service
|
|
37
|
-
must run in a different environment. Per-service remote host blocks are no
|
|
38
|
-
longer supported.
|