|
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 | + }, |
170 | 204 | "DifferenceOf_Reference_": { |
171 | 205 | "additionalProperties": false, |
172 | 206 | "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])", |
|
255 | 289 | "title": "Ellipse", |
256 | 290 | "type": "object" |
257 | 291 | }, |
| 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 | + }, |
258 | 313 | "IntersectionOf_Reference_": { |
259 | 314 | "additionalProperties": false, |
260 | 315 | "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])", |
|
629 | 684 | "discriminator": { |
630 | 685 | "mapping": { |
631 | 686 | "Concat": "#/$defs/Concat_Reference_", |
| 687 | + "ConstantDuration": "#/$defs/ConstantDuration_Reference_", |
| 688 | + "Fly": "#/$defs/Fly_Reference_", |
632 | 689 | "Line": "#/$defs/Line_Reference_", |
633 | 690 | "Mask": "#/$defs/Mask_Reference_", |
634 | 691 | "Product": "#/$defs/Product_Reference_", |
|
666 | 723 | { |
667 | 724 | "$ref": "#/$defs/Line_Reference_" |
668 | 725 | }, |
| 726 | + { |
| 727 | + "$ref": "#/$defs/Fly_Reference_" |
| 728 | + }, |
| 729 | + { |
| 730 | + "$ref": "#/$defs/ConstantDuration_Reference_" |
| 731 | + }, |
669 | 732 | { |
670 | 733 | "$ref": "#/$defs/Static_Reference_" |
671 | 734 | }, |
|
0 commit comments