Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate alternative constructors for REST service #73

Open
callumforrester opened this issue Jan 4, 2023 · 0 comments
Open

Investigate alternative constructors for REST service #73

callumforrester opened this issue Jan 4, 2023 · 0 comments

Comments

@callumforrester
Copy link
Contributor

We would like to be able to submit scanspecs to the REST service using more than one possible set of parameters, for example:

{"type": "BoundedLine", "axis": "x", "lower": 0.0, "upper": 1.0, "num": 10}

as an equivalent to

{"type": "Line", "axis": "x", "start": 0.05, "stop": 0.95, "num": 10}

This can be achieved in Python only, not in REST, by calling

Line.bounded("x", 0, 1, 10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant