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

v15 Config #620

Open
5 tasks
alex-rakowski opened this issue Mar 14, 2024 · 0 comments
Open
5 tasks

v15 Config #620

alex-rakowski opened this issue Mar 14, 2024 · 0 comments
Labels
Milestone

Comments

@alex-rakowski
Copy link
Collaborator

Add global configuration settings

Allow py4DSTEM functions to search for globally defined settings rather than requiring args/kwargs set per function call.

py4DSTEM.config.set_GPU(True) or py4DSTEM.config = {'GPU' : True}, etc.

  • Determine minimal implementation that will not break the existing code.
  • Workout which settings should be stored in global config.
  • Determine how ephemeral the config is - per session vs stored in a file and loaded.
  • Determine how global config is overruled by local args/kwargs.
  • create new functions that search for global config and args/kwargs.
@alex-rakowski alex-rakowski added this to the Config milestone Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant