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

RAYX-CORE in python #323

Open
1 of 4 tasks
ichinii opened this issue Sep 12, 2024 · 0 comments
Open
1 of 4 tasks

RAYX-CORE in python #323

ichinii opened this issue Sep 12, 2024 · 0 comments
Assignees
Labels
A-core Area: The core library (rayx-core) C-enhancement Category: Adding a new feature

Comments

@ichinii
Copy link
Collaborator

ichinii commented Sep 12, 2024

This issue can be used to specify our tasks related to upcoming python bindings. Don't hesitate to add ideas and thoughts.

First we need to port things

  • expose RAYX-CORE API to python
  • design model is fully mutable within python
  • sanity check: port TerminalApp to python. Maybe even replace terminal app completely
  • documentation with a few examples

Then we can think about ways to improve our API now that we have python

  • user could inject python code via std::funcion on c++ side.
  • setting up beamlines from within python should be easy to do. what functionallity do we need to make it easy?
  • Looper-like behavior from RAY-UI should be easy to do in python for users
  • we should meet the requirements for a good workflow for machine learning applications. To be further specified...
  • since we are in python already, plotting should be straightforward. Maybe we can add some useful plotting functions.
  • would be great if we can get a REFLEC-like workflow going. e.g. Many different variants of a beamline, but trace just one ray on each. This might require some additional features in RAYX-CORE.
  • user could import rml beamline and edit it on the fly in python
  • user could do beamline creation/design phase in python and export to rml to persist the beamline
  • maybe one wants to both use the GUI and python in design phase. we could think about ways to allow such workflow
@ichinii ichinii added C-enhancement Category: Adding a new feature question Further information is requested labels Sep 12, 2024
@ichinii ichinii added A-core Area: The core library (rayx-core) and removed question Further information is requested labels Sep 12, 2024
@Atraxus Atraxus added I-high and removed I-high labels Sep 18, 2024
@Atraxus Atraxus moved this to In progress in RAYX: v1.0.0 Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-core Area: The core library (rayx-core) C-enhancement Category: Adding a new feature
Projects
None yet
Development

No branches or pull requests

3 participants