etho-python 0.23.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-0.23.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.2/PKG-INFO +148 -0
- etho_python-1.2/README.md +96 -0
- etho_python-1.2/docs/README.md +15 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/callbacks.md +1 -26
- {etho_python-0.23.0 → etho_python-1.2}/docs/cli.md +14 -13
- {etho_python-0.23.0 → etho_python-1.2}/docs/conf.py +16 -6
- {etho_python-0.23.0 → etho_python-1.2}/docs/configuration/calibration_led.md +2 -5
- {etho_python-0.23.0 → etho_python-1.2}/docs/configuration/calibration_speaker.md +11 -24
- {etho_python-0.23.0 → etho_python-1.2}/docs/configuration/global.md +9 -13
- {etho_python-0.23.0 → etho_python-1.2}/docs/configuration/playlist.md +14 -12
- {etho_python-0.23.0 → etho_python-1.2}/docs/configuration/protocol.md +25 -34
- etho_python-1.2/docs/extensions.md +188 -0
- etho_python-1.2/docs/hardware/hardware.rst +26 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/hardware/nidaq.md +4 -5
- {etho_python-0.23.0 → etho_python-1.2}/docs/hardware/scanimage.md +3 -3
- etho_python-1.2/docs/index.rst +72 -0
- etho_python-1.2/docs/install.rst +66 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/logging.md +16 -20
- {etho_python-0.23.0 → etho_python-1.2}/docs/make_api_doctree.py +6 -2
- {etho_python-0.23.0 → etho_python-1.2}/docs/tutorial.md +34 -45
- 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-0.23.0 → etho_python-1.2}/pyproject.toml +10 -5
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/app.py +235 -242
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/cli.py +72 -19
- etho_python-1.2/src/etho/client.py +254 -0
- etho_python-1.2/src/etho/res_app.py +225 -0
- etho_python-1.2/src/etho/resumable.py +283 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/BLTZeroService.py +45 -19
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/DAQZeroService.py +103 -20
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/DLPZeroService.py +46 -19
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/GCMZeroService.py +57 -16
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/GOVZeroService.py +60 -0
- etho_python-1.2/src/etho/services/NICounterZeroService.py +135 -0
- etho_python-0.23.0/src/etho/services/NITriggerZeroService.py → etho_python-1.2/src/etho/services/ScanImageTriggerZeroService.py +55 -26
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/TemplateZeroService.py +46 -20
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/ZeroService.py +11 -6
- etho_python-1.2/src/etho/services/__init__.py +52 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/callbacks/_trace.py +3 -98
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/dlp/dlp_runners.py +3 -15
- etho_python-1.2/src/etho/services/resumable.py +476 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/utils/sound.py +63 -99
- etho_python-1.2/tests/test_cli_gui_smoke.py +221 -0
- {etho_python-0.23.0 → etho_python-1.2}/tests/test_gov_service.py +39 -87
- etho_python-1.2/tests/test_resumable.py +509 -0
- etho_python-1.2/tests/test_service_client_wiring.py +92 -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-0.23.0/CONTRIBUTING.md +0 -2
- etho_python-0.23.0/PKG-INFO +0 -229
- etho_python-0.23.0/README.md +0 -181
- etho_python-0.23.0/docs/README.md +0 -4
- etho_python-0.23.0/docs/hardware/hardware.rst +0 -19
- etho_python-0.23.0/docs/index.rst +0 -27
- etho_python-0.23.0/docs/install.md +0 -93
- etho_python-0.23.0/docs/quickstart.md +0 -93
- etho_python-0.23.0/paper/paper.md +0 -1
- etho_python-0.23.0/src/etho/client.py +0 -384
- etho_python-0.23.0/src/etho/services/ANAZeroService.py +0 -123
- etho_python-0.23.0/src/etho/services/NICounterZeroService.py +0 -92
- etho_python-0.23.0/src/etho/utils/__init__.py +0 -0
- etho_python-0.23.0/tests/test_sound.py +0 -22
- etho_python-0.23.0/tests/test_sound_playlist_mirrorled.txt +0 -2
- etho_python-0.23.0/tests/test_sound_playlist_mono.txt +0 -4
- etho_python-0.23.0/tests/test_sound_playlist_stereo.txt +0 -4
- {etho_python-0.23.0 → etho_python-1.2}/.github/workflows/static.yml +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/.gitignore +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/Makefile +0 -0
- /etho_python-0.23.0/docs/_static/etho_icon1_pipeline_dark.svg → /etho_python-1.2/docs/_static/etho_dark.svg +0 -0
- /etho_python-0.23.0/docs/_static/etho_icon1_pipeline_light.svg → /etho_python-1.2/docs/_static/etho_light.svg +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/_templates/api_head.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/_templates/autosummary/module.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.app.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.cli.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.client.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.BLTZeroService.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.DAQZeroService.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.GCMZeroService.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.GOVZeroService.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.NICounterZeroService.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.TemplateZeroService.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.ZeroService.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.camera.base.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.camera.basler.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.camera.dummy.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.camera.hamamatsu.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.camera.spinnaker.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.camera.ximea.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.dlp.dlp_make_warpfiles.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.utils.concurrent_task.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.services.utils.log_exceptions.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.utils.calibration.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.utils.config.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.utils.runner.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.utils.shuffled_cycle.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.utils.sound.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.utils.tui.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api/etho.utils.zeroclient.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/api_etho.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/configuration/configuration.rst +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/hardware/camera.md +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/hardware/projector.md +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/docs/make.bat +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/__init__.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/assets/etho_icon1_pipeline_dark.svg +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/assets/etho_icon1_pipeline_light.svg +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/callbacks/__init__.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/callbacks/_base.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/callbacks/_image.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/camera/__init__.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/camera/base.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/camera/basler.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/camera/dummy.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/camera/hamamatsu.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/camera/spinnaker.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/camera/ximea.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/daq/IOTask.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/daq/ai.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/dlp/dlp_make_warpfiles.py +0 -0
- {etho_python-0.23.0/src/etho/services → etho_python-1.2/src/etho/services/utils}/__init__.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/utils/concurrent_task.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/services/utils/log_exceptions.py +0 -0
- {etho_python-0.23.0/src/etho/services → etho_python-1.2/src/etho}/utils/__init__.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/utils/calibration.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/utils/config.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/utils/runner.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/utils/shuffled_cycle.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/utils/tui.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/src/etho/utils/zeroclient.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/tests/test_config.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/tests/test_config.yaml +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/tests/test_import.py +0 -0
- {etho_python-0.23.0 → etho_python-1.2}/tests/test_services.py +0 -0
- {etho_python-0.23.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.
|
etho_python-1.2/PKG-INFO
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: etho-python
|
|
3
|
+
Version: 1.2
|
|
4
|
+
Summary: etho
|
|
5
|
+
Author-email: Jan Clemens <clemensjan@googlemail.com>
|
|
6
|
+
Requires-Python: >=3.10
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: numpy
|
|
11
|
+
Requires-Dist: scipy
|
|
12
|
+
Requires-Dist: h5py
|
|
13
|
+
Requires-Dist: opencv-python-headless
|
|
14
|
+
Requires-Dist: bleak
|
|
15
|
+
Requires-Dist: pandas
|
|
16
|
+
Requires-Dist: pyzmq
|
|
17
|
+
Requires-Dist: gevent
|
|
18
|
+
Requires-Dist: future
|
|
19
|
+
Requires-Dist: pillow
|
|
20
|
+
Requires-Dist: msgpack-python
|
|
21
|
+
Requires-Dist: pyyaml
|
|
22
|
+
Requires-Dist: ipython
|
|
23
|
+
Requires-Dist: defopt
|
|
24
|
+
Requires-Dist: msgpack-numpy
|
|
25
|
+
Requires-Dist: rich
|
|
26
|
+
Requires-Dist: psutil
|
|
27
|
+
Requires-Dist: tables
|
|
28
|
+
Requires-Dist: pydaqmx
|
|
29
|
+
Requires-Dist: pyqtgraph
|
|
30
|
+
Requires-Dist: qtpy
|
|
31
|
+
Requires-Dist: PySide6-Essentials
|
|
32
|
+
Requires-Dist: zarr
|
|
33
|
+
Requires-Dist: zerorpc-numpy
|
|
34
|
+
Requires-Dist: pytest ; extra == "dev"
|
|
35
|
+
Requires-Dist: flit>=3.2,<4 ; extra == "dev"
|
|
36
|
+
Requires-Dist: sphinx ; extra == "doc"
|
|
37
|
+
Requires-Dist: furo ; extra == "doc"
|
|
38
|
+
Requires-Dist: shibuya ; extra == "doc"
|
|
39
|
+
Requires-Dist: sphinx-copybutton ; extra == "doc"
|
|
40
|
+
Requires-Dist: ghp-import ; extra == "doc"
|
|
41
|
+
Requires-Dist: myst-nb ; extra == "doc"
|
|
42
|
+
Requires-Dist: sphinx-panels ; extra == "doc"
|
|
43
|
+
Requires-Dist: sphinxcontrib-images ; extra == "doc"
|
|
44
|
+
Requires-Dist: sphinx-tabs ; extra == "doc"
|
|
45
|
+
Requires-Dist: sphinx-iconify ; extra == "doc"
|
|
46
|
+
Requires-Dist: sphinx-design ; extra == "doc"
|
|
47
|
+
Project-URL: documentation, https://janclemenslab.org/etho/
|
|
48
|
+
Project-URL: source, https://github.com/janclemenslab/etho
|
|
49
|
+
Provides-Extra: dev
|
|
50
|
+
Provides-Extra: doc
|
|
51
|
+
|
|
52
|
+
# `Etho`: A Python framework for coordinating stimuli, data acquisition, and hardware control in neuroscience experiments
|
|
53
|
+
|
|
54
|
+
[](https://github.com/janclemenslab/etho/actions/workflows/python-package.yml)
|
|
55
|
+
[](https://janclemenslab.org/etho)
|
|
56
|
+
[](LICENSE)
|
|
57
|
+
[](https://doi.org/10.5281/zenodo.20110619)
|
|
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.
|
|
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.
|
|
62
|
+
|
|
63
|
+
The software is designed to make experiments reproducible, configurable, and maintainable by separating:
|
|
64
|
+
- experiment logic and hardware (`protocol.yaml`)
|
|
65
|
+
- stimulus definitions (`playlist.txt`)
|
|
66
|
+
- acquisition callbacks and logs
|
|
67
|
+
|
|
68
|
+
from the underlying device code.
|
|
69
|
+
|
|
70
|
+
See the [documentation](https://janclemenslab.org/etho) for details.
|
|
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
|
+
|
|
81
|
+
## Installation
|
|
82
|
+
|
|
83
|
+
Quick installation on a Windows rig from PowerShell:
|
|
84
|
+
|
|
85
|
+
```powershell
|
|
86
|
+
conda create -n etho -c conda-forge -y python=3.14 uv pip git
|
|
87
|
+
conda activate etho
|
|
88
|
+
uv pip install etho-python
|
|
89
|
+
etho init
|
|
90
|
+
```
|
|
91
|
+
|
|
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.
|
|
100
|
+
See the full [installation guide](https://janclemenslab.org/etho/install.html).
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
## Usage
|
|
104
|
+
|
|
105
|
+
Etho can be controlled via a GUI on the Windows rig. Launch it from the
|
|
106
|
+
activated PowerShell environment with:
|
|
107
|
+
|
|
108
|
+
```powershell
|
|
109
|
+
conda activate etho
|
|
110
|
+
etho gui
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Alternatively, experiments can be run from the terminal:
|
|
114
|
+
|
|
115
|
+
```powershell
|
|
116
|
+
conda activate etho
|
|
117
|
+
etho run ".\protocol.yaml" ".\playlist.txt"
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Data generated by etho can be inspected, annotated, and analyzed with [xarray-behave](https://github.com/janclemenslab/xarray-behave).
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
## Citation
|
|
124
|
+
|
|
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
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
The `etho` software has been used in the following publications:
|
|
132
|
+
|
|
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
|
|
140
|
+
|
|
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
|
|
144
|
+
|
|
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
|
|
148
|
+
|
|
@@ -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/).
|
|
@@ -32,12 +32,9 @@ the callback accepts options.
|
|
|
32
32
|
|------|---------|
|
|
33
33
|
| `disp` | Display frames with OpenCV. |
|
|
34
34
|
| `disp_fast` | Display frames with pyqtgraph. |
|
|
35
|
-
| `disp_back` | Display a center/back camera helper view. |
|
|
36
|
-
| `disp_top` | Display a center/top camera helper view. |
|
|
37
35
|
| `save_avi` | Save frames with OpenCV `VideoWriter`. |
|
|
38
36
|
| `save_ffmpegcv` | Save frames with an ffmpegcv backend. |
|
|
39
37
|
| `save_vidgear` | Save frames through VidGear. |
|
|
40
|
-
| `save_vidgear_round` | Save rounded/cropped VidGear output. |
|
|
41
38
|
| `save_avi_fast` | Save video with NVIDIA Video Processing Framework. |
|
|
42
39
|
| `saveimg_h5` | Save image frames to HDF5. |
|
|
43
40
|
| `saveimg_zarr` | Save image frames to Zarr. |
|
|
@@ -66,26 +63,4 @@ callbacks:
|
|
|
66
63
|
|
|
67
64
|
## Writing A Callback
|
|
68
65
|
|
|
69
|
-
|
|
70
|
-
files, flush buffers, and call `super()._cleanup()` at the end.
|
|
71
|
-
|
|
72
|
-
```python
|
|
73
|
-
from etho.services.callbacks import register_callback
|
|
74
|
-
from etho.services.callbacks._base import BaseCallback
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
@register_callback
|
|
78
|
-
class CoolCallback(BaseCallback):
|
|
79
|
-
FRIENDLY_NAME = "cool"
|
|
80
|
-
|
|
81
|
-
def _loop(self, data):
|
|
82
|
-
image_or_chunk, timestamps = data
|
|
83
|
-
...
|
|
84
|
-
|
|
85
|
-
def _cleanup(self):
|
|
86
|
-
...
|
|
87
|
-
super()._cleanup()
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
Once imported by the callback package, the callback can be selected in a
|
|
91
|
-
protocol by `FRIENDLY_NAME` or class name.
|
|
66
|
+
See [Extensions](extensions.md).
|
|
@@ -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
|
```
|
|
@@ -18,7 +18,7 @@ sys.path.insert(0, os.path.abspath("../src"))
|
|
|
18
18
|
# -- Project information -----------------------------------------------------
|
|
19
19
|
|
|
20
20
|
project = "etho"
|
|
21
|
-
copyright = "
|
|
21
|
+
copyright = "2026, Jan Clemens"
|
|
22
22
|
author = "Jan Clemens"
|
|
23
23
|
|
|
24
24
|
# -- General configuration ---------------------------------------------------
|
|
@@ -27,6 +27,7 @@ author = "Jan Clemens"
|
|
|
27
27
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
28
28
|
# ones.
|
|
29
29
|
extensions = [
|
|
30
|
+
"sphinx_tabs.tabs",
|
|
30
31
|
"sphinx.ext.autodoc",
|
|
31
32
|
"sphinx.ext.coverage",
|
|
32
33
|
"sphinx.ext.napoleon",
|
|
@@ -36,8 +37,9 @@ extensions = [
|
|
|
36
37
|
"sphinx_panels",
|
|
37
38
|
"sphinxcontrib.images",
|
|
38
39
|
"sphinx.ext.autosectionlabel",
|
|
39
|
-
"sphinx_inline_tabs",
|
|
40
40
|
"sphinx_copybutton",
|
|
41
|
+
"sphinx_iconify",
|
|
42
|
+
"sphinx_design",
|
|
41
43
|
]
|
|
42
44
|
|
|
43
45
|
# Add any paths that contain templates here, relative to this directory.
|
|
@@ -55,9 +57,15 @@ exclude_patterns += ["README.md"]
|
|
|
55
57
|
html_static_path = ["_static"]
|
|
56
58
|
|
|
57
59
|
html_theme_options = {
|
|
58
|
-
"
|
|
59
|
-
"light_logo": "
|
|
60
|
-
"dark_logo": "
|
|
60
|
+
"accent_color": "violet",
|
|
61
|
+
"light_logo": "_static/etho_light.svg",
|
|
62
|
+
"dark_logo": "_static/etho_dark.svg",
|
|
63
|
+
"github_url": "https://github.com/janclemenslab/etho",
|
|
64
|
+
"nav_links": [
|
|
65
|
+
{"title": "Installation", "url": "install"},
|
|
66
|
+
{"title": "Tutorial", "url": "tutorial"},
|
|
67
|
+
{"title": "Configuration", "url": "configuration/configuration"},
|
|
68
|
+
],
|
|
61
69
|
}
|
|
62
70
|
|
|
63
71
|
|
|
@@ -98,7 +106,9 @@ autosectionlabel_prefix_document = True
|
|
|
98
106
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
99
107
|
# a list of builtin themes.
|
|
100
108
|
#
|
|
101
|
-
html_theme = "furo"
|
|
109
|
+
# html_theme = "furo"
|
|
110
|
+
html_theme = "shibuya"
|
|
111
|
+
|
|
102
112
|
|
|
103
113
|
# Add any paths that contain custom static files (such as style sheets) here,
|
|
104
114
|
# relative to this directory. They are copied after the builtin static files,
|
|
@@ -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.
|