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

Refactor sampling parameter handling #352

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jhod0
Copy link
Contributor

@jhod0 jhod0 commented Aug 25, 2022

This PR would continue the refactor of parameter handling implemented in #350

It will reimplement the following two parameter classes with the framework in Sampling/param_group.py:

  • Refactor LightParams
  • Refactor LensParams

Of course, this is low-priority. It adds no features but would hopefully ease maintenance in the future, and make it simpler to add new sampled parameters to these classes.

Just opening the PR for discussion

@sibirrer
Copy link
Collaborator

@jhod0 thanks a lot! This is super helpful. There are some tests failing in the CI. You can also test locally, e.g.

py.test test/test_Workflow

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

Successfully merging this pull request may close these issues.

None yet

2 participants