google / google/scaaml

Implement get_scope_settings

Open
#104 0 comments 0 reactions 1 assignee Claimed by @kralka View on GitHub
Dominant language
Python
Stars
207
Forks
62
Avg merge
12h 23m
Merged PRs (30d)
4

Description

SScope base class should have a method such as def get_scope_settings(self) -> dict[str, str] so that the capture script can do capture_info.update(scope.get_scope_info())
And potentially also something like: def setup_scope(self, capture_info: dict[str, str]) -> None that takes capture_info data and setup of scope using the keys it can understand. This way get_scope_settings() would return all the settings. Sometimes, especially with picoscopes, the scope adjust the settings you give to something it can actually do.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.