We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 428b22d commit 6240cc9Copy full SHA for 6240cc9
1 file changed
WrightTools/kit/_bluesky.py
@@ -85,6 +85,14 @@ def primary_descriptor(self) -> dict:
85
def baseline_descriptor(self) -> dict:
86
path = self.path / "bluesky_docs" / "baseline descriptor.json"
87
return json.load(path.open())
88
+def apply_points_axes(data):
89
+ """
90
+ Switch to reduced dimensional axes when available.
91
+ Useful for gridscan plans.
92
93
+ transform = [f"{n}_points" if f"{n}_points" in data.variable_names else n for n in data.axis_names]
94
+ data.transform(*transform)
95
+ return data
96
97
98
class FolderInfo(NamedTuple):
0 commit comments