Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Micro-Manager core in the model #168

Open
jacopoabramo opened this issue Jun 13, 2023 · 9 comments
Open

Adding Micro-Manager core in the model #168

jacopoabramo opened this issue Jun 13, 2023 · 9 comments

Comments

@jacopoabramo
Copy link
Collaborator

There has been an attempt here to add the Micro-Manager core as part of the model within ImSwitch. This should be brought into the main repo.
Unit tests are still missing, and testing on actual hardware should be done as well.

@beniroquai
Copy link
Collaborator

Do you have any favorite hardware which should be working? We have PCO's and Andors. I guess the latter does not have python support yet, so worth testing?

@jacopoabramo
Copy link
Collaborator Author

@beniroquai right now I use Micro-Manager mostly to controll my Mad City Labs stages. I did the interface for it and - at least with these stepper motors/piezos that I have in my setup - seems to be pretty stable. But potentially this way of implementing the MMCore supposedly works for all hardware which is already integrated as a device adapter.

I have some cameras that I can use to test the MMCore interface in my setup, but the microscope is often used to take measurements so I don't really want to create possible complications for now.

If you fancy lending me one of your PCOs for testing I could have a look at it.

@jacopoabramo
Copy link
Collaborator Author

Ah yes, I forgot a critical point: Micro-Manager does not support multiple cameras simultaneously. Or rather it does but not in the way I personally want it to work But there's a lot of work going in that direction so kudos for that: see here and here. These are developments that I'll take into consideration also for future versions of ImSwitch.

@beniroquai
Copy link
Collaborator

beniroquai commented Jun 14, 2023 via email

@jacopoabramo
Copy link
Collaborator Author

jacopoabramo commented Jun 14, 2023

I'm confused on what you mean by documenting these use cases. The objective of the issue would be to find a cohesive interface that integrates with ImSwitch on a core level in the device layer using - for now - the pymmcore bindings. Or at least, that's how I envision Micro-Manager to be included. What would you use pycro-manager for?

@beniroquai
Copy link
Collaborator

beniroquai commented Jun 14, 2023 via email

@jacopoabramo
Copy link
Collaborator Author

Oh sorry, I meant, it would be nice to get an idea of what has been implemented already - e.g. the online DPC reconstruction in our branch or the Holoprocessing.

Ohhh, I see. It does make sense though... but I wonder if the core and pycro-manager can co-exist on the same application, or if it makes more sense to use pycro-manager to extend the functionalities to allow widgets to be used as well...

@jacopoabramo
Copy link
Collaborator Author

Update on this: #177 will now attempt to include PycroManager as a backend acquisition engine. It will not be a drop-in replacement but an alternative to it.

@beniroquai
Copy link
Collaborator

This sounds amazing. Perhaps worth giving a flash talk in our next Meeting? I should have one on the virtual microscope ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants