Skip to content

New feature: model adaptivity#198

Merged
IshaanDesai merged 26 commits intodevelopfrom
model-adaptivity
Dec 10, 2025
Merged

New feature: model adaptivity#198
IshaanDesai merged 26 commits intodevelopfrom
model-adaptivity

Conversation

@Snapex2409
Copy link
Copy Markdown
Collaborator

@Snapex2409 Snapex2409 commented Nov 3, 2025

Added support for multiple micro models and mocked switching.
Multi-Model support via ModelAdaptivity class.
Switching currently hard coded as: upper half of all sims in the micro_sims list are set to use the second MicroSim type.

Checklist:

  • I made sure that the CI passed before I ask for a review.
  • I added a summary of the changes (compared to the last release) in the CHANGELOG.md.
  • If necessary, I made changes to the documentation and/or added new content.
  • I will remember to squash-and-merge, providing a useful summary of the changes of this PR.

@IshaanDesai IshaanDesai added the new-feature Adding a new feature label Nov 4, 2025
@IshaanDesai IshaanDesai linked an issue Nov 7, 2025 that may be closed by this pull request
@Snapex2409 Snapex2409 marked this pull request as ready for review November 12, 2025 19:17
Copy link
Copy Markdown
Member

@IshaanDesai IshaanDesai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work already! I did a first pass, in which I looked at everything except the tests. I would like to do another review before we finalize things, especially to look at the model_adaptivity.py once more. Please take a look at my comments.

Comment thread docs/configuration.md Outdated
Comment thread docs/configuration.md Outdated
Comment thread docs/model-adaptivity.md Outdated
Comment thread docs/model-adaptivity.md Outdated
Comment thread docs/model-adaptivity.md Outdated
Comment thread docs/model-adaptivity.md
Comment thread micro_manager/model_adaptivity/model_adaptivity.py Outdated
Comment thread micro_manager/model_adaptivity/model_adaptivity.py Outdated
Comment thread micro_manager/model_adaptivity/model_adaptivity.py Outdated
Comment thread micro_manager/model_adaptivity/model_adaptivity.py Outdated
Snapex2409 and others added 8 commits November 14, 2025 09:22
Co-authored-by: Ishaan Desai <ishaandesai@gmail.com>
Co-authored-by: Ishaan Desai <ishaandesai@gmail.com>
Co-authored-by: Ishaan Desai <ishaandesai@gmail.com>
Co-authored-by: Ishaan Desai <ishaandesai@gmail.com>
Co-authored-by: Ishaan Desai <ishaandesai@gmail.com>
Co-authored-by: Ishaan Desai <ishaandesai@gmail.com>
@IshaanDesai IshaanDesai changed the title first basic model switching impl New feature: nodel adaptivity Dec 1, 2025
@IshaanDesai IshaanDesai changed the title New feature: nodel adaptivity New feature: model adaptivity Dec 1, 2025
Copy link
Copy Markdown
Member

@IshaanDesai IshaanDesai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code for the functionality looks good 👍. I have some suggestions for structuring and file/code placement. Once those are incorporated, this can be merged.

Comment thread micro_manager/adaptivity/model_adaptivity.py
Comment thread micro_manager/model_adaptivity/model_adaptivity.py Outdated
Comment thread micro_manager/adaptivity/model_adaptivity.py
Comment thread micro_manager/model_adaptivity/model_adaptivity.py Outdated
Comment thread micro_manager/config.py Outdated
Comment thread micro_manager/micro_manager.py
Comment thread CHANGELOG.md Outdated
@IshaanDesai IshaanDesai merged commit 0021d6e into develop Dec 10, 2025
8 checks passed
@IshaanDesai IshaanDesai deleted the model-adaptivity branch December 10, 2025 10:39
@IshaanDesai IshaanDesai mentioned this pull request Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-feature Adding a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Model switching methodology and criterion

2 participants