AllenNeuralDynamics / AllenNeuralDynamics/exa-spim-control

Improved Hardware Agnosticism

Aperta
#27 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
architecture
Lingua principale
Python
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.