-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into mda-progress
- Loading branch information
Showing
141 changed files
with
6,740 additions
and
5,792 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
from contextlib import suppress | ||
|
||
import useq | ||
from pymmcore_plus import CMMCorePlus | ||
from qtpy.QtWidgets import QApplication | ||
|
||
from pymmcore_widgets import StageWidget | ||
|
||
with suppress(ImportError): | ||
from rich import print | ||
|
||
from pymmcore_widgets.hcs import HCSWizard | ||
|
||
app = QApplication([]) | ||
mmc = CMMCorePlus.instance() | ||
mmc.loadSystemConfiguration() | ||
w = HCSWizard() | ||
w.show() | ||
w.accepted.connect(lambda: print(w.value())) | ||
s = StageWidget("XY", mmcore=mmc) | ||
s.show() | ||
|
||
|
||
plan = useq.WellPlatePlan( | ||
plate=useq.WellPlate.from_str("96-well"), | ||
a1_center_xy=(1000, 1500), | ||
rotation=0.3, | ||
selected_wells=slice(0, 8, 2), | ||
) | ||
w.setValue(plan) | ||
|
||
app.exec() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from qtpy.QtWidgets import QApplication | ||
from useq import RandomPoints | ||
|
||
from pymmcore_widgets.useq_widgets import PointsPlanWidget | ||
|
||
app = QApplication([]) | ||
|
||
points = RandomPoints( | ||
num_points=60, | ||
allow_overlap=False, | ||
fov_width=300, | ||
fov_height=200, | ||
max_width=4000, | ||
max_height=4000, | ||
) | ||
|
||
fs = PointsPlanWidget(points) | ||
fs.setWellSize(6, 6) | ||
fs.show() | ||
|
||
app.exec() |
Oops, something went wrong.