AllenNeuralDynamics / AllenNeuralDynamics/biodata-schema

Support for multi-key calibrations

Offen
#47 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @dbirman Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Some kinds of calibrations, e.g. for a treadmill, might have multiple calibrations that are keyed off of different features. Like a "treadmill" calibration and an "encoder" calibration. Another example is a load cell device which might be constructed from multiple cells.

Some possible alternatives:

- For a single device_name support multiple input/output pairings by using dictionaries `input/output: dict[str, List[str, float]`
- Put entire calibrations into a key list, so `calibrations: dict[str, Calibration]`, this has the downside that Calibration already inherits from `DeviceConfig`, so we would probably need to pull out the core calibration classes into a `CalibrationBase` or something

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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