AllenNeuralDynamics / AllenNeuralDynamics/exa-spim-control

Improved Hardware Agnosticism

Offen
#27 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
architecture
Vorherrschende Sprache
Python
Sterne
2
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Currently changing out the hardware is possible, but involves rewriting code in this package. (Example: changing to a different camera means the _setup_camera takes different arguments.) We want to rewrite this such that the user does not need to touch package code to change out hardware if possible.

There are a few ways to do this:
* "_setup_x" functions might actually benefit from passing in the config directly, or using a keywords dict that can have device-specific fields.
* dependency injection. `SamplePose` and all other device-specific objects would need to be passed in as a parameter.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.