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

Clean up use #29

Open
mattsignorelli opened this issue Jun 20, 2024 · 1 comment
Open

Clean up use #29

mattsignorelli opened this issue Jun 20, 2024 · 1 comment

Comments

@mattsignorelli
Copy link
Contributor

Right now, following the convention in GTPSA, use kwarg in any kind of map or vectorfield constructor tells to create the map using the same GTPSA descriptor as specified in use (could be descriptor, TPS, map, etc). Other parameters of the map (coasting beam, radiation, spin, etc) have to be explicitly specified in other kwargs if the map is not explicitly provided. For the constructor which takes in a matrix, it might be useful to have a similar use kwarg which only takes in a map and copies all these other parameters as well.

@mattsignorelli
Copy link
Contributor Author

use is reserved only for GTPSA descriptor, it must not do anything else

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