|
3 | 3 | { |
4 | 4 | "name": "count", |
5 | 5 | "description": "Reads from a number of devices.\n Wraps bluesky.plans.count(det, num, delay, md=metadata) exposing only serializable\n parameters and metadata.", |
6 | | - "schema": { |
| 6 | + "parameter_schema": { |
7 | 7 | "additionalProperties": false, |
8 | 8 | "properties": { |
9 | 9 | "detectors": { |
|
52 | 52 | { |
53 | 53 | "name": "spec_scan", |
54 | 54 | "description": "Generic plan for reading `detectors` at every point of a ScanSpec `Spec`.\n A `Spec` is an N-dimensional path.\n ", |
55 | | - "schema": { |
| 55 | + "parameter_schema": { |
56 | 56 | "$defs": { |
57 | 57 | "Circle_Reference_": { |
58 | 58 | "additionalProperties": false, |
|
167 | 167 | "title": "Concat", |
168 | 168 | "type": "object" |
169 | 169 | }, |
170 | | - "ConstantDuration_Reference_": { |
171 | | - "additionalProperties": false, |
172 | | - "description": "A special spec used to hold information about the duration of each frame.", |
173 | | - "properties": { |
174 | | - "constant_duration": { |
175 | | - "description": "The value at each point", |
176 | | - "title": "Constant Duration", |
177 | | - "type": "number" |
178 | | - }, |
179 | | - "spec": { |
180 | | - "anyOf": [ |
181 | | - { |
182 | | - "$ref": "#/$defs/Spec" |
183 | | - }, |
184 | | - { |
185 | | - "type": "null" |
186 | | - } |
187 | | - ], |
188 | | - "default": null, |
189 | | - "description": "Spec contaning the path to be followed" |
190 | | - }, |
191 | | - "type": { |
192 | | - "const": "ConstantDuration", |
193 | | - "default": "ConstantDuration", |
194 | | - "title": "Type", |
195 | | - "type": "string" |
196 | | - } |
197 | | - }, |
198 | | - "required": [ |
199 | | - "constant_duration" |
200 | | - ], |
201 | | - "title": "ConstantDuration", |
202 | | - "type": "object" |
203 | | - }, |
204 | 170 | "DifferenceOf_Reference_": { |
205 | 171 | "additionalProperties": false, |
206 | 172 | "description": "A point is in DifferenceOf(a, b) if in a and not in b.\n\nTypically created with the ``-`` operator.\n\n>>> r = Range(\"x\", 0.5, 2.5) - Range(\"x\", 1.5, 3.5)\n>>> r.mask({\"x\": np.array([0, 1, 2, 3, 4])})\narray([False, True, False, False, False])", |
|
289 | 255 | "title": "Ellipse", |
290 | 256 | "type": "object" |
291 | 257 | }, |
292 | | - "Fly_Reference_": { |
293 | | - "additionalProperties": false, |
294 | | - "description": "Spec that represents a fly scan.", |
295 | | - "properties": { |
296 | | - "spec": { |
297 | | - "$ref": "#/$defs/Spec", |
298 | | - "description": "Spec contaning the path to be followed" |
299 | | - }, |
300 | | - "type": { |
301 | | - "const": "Fly", |
302 | | - "default": "Fly", |
303 | | - "title": "Type", |
304 | | - "type": "string" |
305 | | - } |
306 | | - }, |
307 | | - "required": [ |
308 | | - "spec" |
309 | | - ], |
310 | | - "title": "Fly", |
311 | | - "type": "object" |
312 | | - }, |
313 | 258 | "IntersectionOf_Reference_": { |
314 | 259 | "additionalProperties": false, |
315 | 260 | "description": "A point is in IntersectionOf(a, b) if in both a and b.\n\nTypically created with the ``&`` operator.\n\n>>> r = Range(\"x\", 0.5, 2.5) & Range(\"x\", 1.5, 3.5)\n>>> r.mask({\"x\": np.array([0, 1, 2, 3, 4])})\narray([False, False, True, False, False])", |
|
684 | 629 | "discriminator": { |
685 | 630 | "mapping": { |
686 | 631 | "Concat": "#/$defs/Concat_Reference_", |
687 | | - "ConstantDuration": "#/$defs/ConstantDuration_Reference_", |
688 | | - "Fly": "#/$defs/Fly_Reference_", |
689 | 632 | "Line": "#/$defs/Line_Reference_", |
690 | 633 | "Mask": "#/$defs/Mask_Reference_", |
691 | 634 | "Product": "#/$defs/Product_Reference_", |
|
723 | 666 | { |
724 | 667 | "$ref": "#/$defs/Line_Reference_" |
725 | 668 | }, |
726 | | - { |
727 | | - "$ref": "#/$defs/Fly_Reference_" |
728 | | - }, |
729 | | - { |
730 | | - "$ref": "#/$defs/ConstantDuration_Reference_" |
731 | | - }, |
732 | 669 | { |
733 | 670 | "$ref": "#/$defs/Static_Reference_" |
734 | 671 | }, |
|
980 | 917 | { |
981 | 918 | "name": "set_absolute", |
982 | 919 | "description": "\n Set a device, wrapper for `bp.abs_set`.\n\n Args:\n movable (Movable[T]): The device to set\n value (T): The new value\n group (Group | None, optional): The message group to associate with the\n setting, for sequencing. Defaults to None.\n wait (bool, optional): The group should wait until all setting is complete\n (e.g. a motor has finished moving). Defaults to False.\n\n Returns:\n MsgGenerator: Plan\n\n Yields:\n Iterator[MsgGenerator]: Bluesky messages\n ", |
983 | | - "schema": { |
| 920 | + "parameter_schema": { |
984 | 921 | "additionalProperties": false, |
985 | 922 | "properties": { |
986 | 923 | "movable": { |
|
1014 | 951 | { |
1015 | 952 | "name": "set_relative", |
1016 | 953 | "description": "\n Change a device, wrapper for `bp.rel_set`.\n\n Args:\n movable (Movable): The device to set\n value (T): The new value\n group (Group | None, optional): The message group to associate with the\n setting, for sequencing. Defaults to None.\n wait (bool, optional): The group should wait until all setting is complete\n (e.g. a motor has finished moving). Defaults to False.\n\n Returns:\n MsgGenerator: Plan\n\n Yields:\n Iterator[MsgGenerator]: Bluesky messages\n ", |
1017 | | - "schema": { |
| 954 | + "parameter_schema": { |
1018 | 955 | "additionalProperties": false, |
1019 | 956 | "properties": { |
1020 | 957 | "movable": { |
|
1048 | 985 | { |
1049 | 986 | "name": "move", |
1050 | 987 | "description": "\n Move a device, wrapper for `bp.mv`.\n\n Args:\n moves (Mapping[Movable, T]): Mapping of Movables to target positions\n group (Group | None, optional): The message group to associate with the\n setting, for sequencing. Defaults to None.\n\n Returns:\n MsgGenerator: Plan\n\n Yields:\n Iterator[MsgGenerator]: Bluesky messages\n ", |
1051 | | - "schema": { |
| 988 | + "parameter_schema": { |
1052 | 989 | "additionalProperties": false, |
1053 | 990 | "properties": { |
1054 | 991 | "moves": { |
|
1071 | 1008 | { |
1072 | 1009 | "name": "move_relative", |
1073 | 1010 | "description": "\n Move a device relative to its current position, wrapper for `bp.mvr`.\n\n Args:\n moves (Mapping[Movable, T]): Mapping of Movables to target deltas\n group (Group | None, optional): The message group to associate with the\n setting, for sequencing. Defaults to None.\n\n Returns:\n MsgGenerator: Plan\n\n Yields:\n Iterator[MsgGenerator]: Bluesky messages\n ", |
1074 | | - "schema": { |
| 1011 | + "parameter_schema": { |
1075 | 1012 | "additionalProperties": false, |
1076 | 1013 | "properties": { |
1077 | 1014 | "moves": { |
|
1094 | 1031 | { |
1095 | 1032 | "name": "sleep", |
1096 | 1033 | "description": "\n Suspend all action for a given time, wrapper for `bp.sleep`\n\n Args:\n time (float): Time to wait in seconds\n\n Returns:\n MsgGenerator: Plan\n\n Yields:\n Iterator[MsgGenerator]: Bluesky messages\n ", |
1097 | | - "schema": { |
| 1034 | + "parameter_schema": { |
1098 | 1035 | "additionalProperties": false, |
1099 | 1036 | "properties": { |
1100 | 1037 | "time": { |
|
1112 | 1049 | { |
1113 | 1050 | "name": "wait", |
1114 | 1051 | "description": "\n Wait for a group status to complete, wrapper for `bp.wait`.\n Does not expose move_on, as when used as a stub will not fail on Timeout.\n\n Args:\n group (Group | None, optional): The name of the group to wait for, defaults\n to None, in which case waits for all\n groups that have not yet been awaited.\n timeout (float | None, default=None): a timeout in seconds\n\n\n Returns:\n MsgGenerator: Plan\n\n Yields:\n Iterator[MsgGenerator]: Bluesky messages\n ", |
1115 | | - "schema": { |
| 1052 | + "parameter_schema": { |
1116 | 1053 | "additionalProperties": false, |
1117 | 1054 | "properties": { |
1118 | 1055 | "group": { |
|
0 commit comments