Skip to content

Refactor DMD widget into modular mixins#10

Open
gfayebedrin wants to merge 2 commits intomainfrom
codex/modularize-the-code
Open

Refactor DMD widget into modular mixins#10
gfayebedrin wants to merge 2 commits intomainfrom
codex/modularize-the-code

Conversation

@gfayebedrin
Copy link
Owner

Summary

  • extract the axis helpers into stim1p/ui/dmd_widget/axis.py and expose them via AxisControlsMixin
  • move calibration workflow code into CalibrationWorkflowMixin alongside pattern IO helpers in PatternSequenceIOMixin
  • have StimDMDWidget inherit the new mixins so the main widget file focuses on wiring and UI state

Testing

  • pytest (fails: ModuleNotFoundError: No module named 'numpy')

https://chatgpt.com/codex/tasks/task_e_68fb315784008325aced969c304c0023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant