Hi @fdrgsp -
Is there an easy way in pymmcore-gui to export the current positions underlying a polygon from the Stage Explorer widget over to a MDA as individual positions? Looking at the widget code, I think one can get all of the ROIs in a grid from the widget properties - but I had trouble figuring out how to extract all of the positions from there.
What I tried:
explorer = window.get_widget("pymmcore_gui.stage_explorer_widget")
manager = explorer.roi_manager
manager.all_rois()
Gives me the shape of the ROI, but I wasn't sure how to get the individual positions out and then add to the MDA.
Thanks!
Hi @fdrgsp -
Is there an easy way in pymmcore-gui to export the current positions underlying a polygon from the Stage Explorer widget over to a MDA as individual positions? Looking at the widget code, I think one can get all of the ROIs in a grid from the widget properties - but I had trouble figuring out how to extract all of the positions from there.
What I tried:
Gives me the shape of the ROI, but I wasn't sure how to get the individual positions out and then add to the MDA.
Thanks!