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

Lens class refactor #269

Merged
merged 92 commits into from
Nov 7, 2024
Merged

Conversation

nkhadka21
Copy link
Collaborator

This PR refactors the Lens Class and implements multi-source lens.

nkhadka21 and others added 30 commits October 8, 2024 12:34
@nkhadka21 nkhadka21 requested a review from sibirrer November 4, 2024 22:09
Copy link
Contributor

@sibirrer sibirrer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much!
We need to update the Lens() classes with the specific redshift to make it work with multiple source redshifts. I hopefully can push the changes tomorrow to make a new release of lenstronomy

slsim/lens.py Outdated Show resolved Hide resolved
slsim/lens.py Outdated Show resolved Hide resolved
slsim/lens.py Outdated Show resolved Hide resolved
slsim/lens.py Outdated Show resolved Hide resolved
slsim/lens.py Outdated Show resolved Hide resolved
tests/test_lens.py Show resolved Hide resolved
@nkhadka21
Copy link
Collaborator Author

Thank you very much @sibirrer ! Waiting for the lenstronomy update.

slsim/lens.py Show resolved Hide resolved
slsim/lens.py Outdated Show resolved Hide resolved
slsim/lens.py Outdated Show resolved Hide resolved
tests/test_roman_image_simulation.py Show resolved Hide resolved
@nkhadka21 nkhadka21 requested a review from sibirrer November 6, 2024 20:58
Copy link
Contributor

@sibirrer sibirrer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great @nkhadka21 . I have one minor comment but already approve this PR

slsim/lens.py Show resolved Hide resolved
@nkhadka21 nkhadka21 merged commit 5cc87c5 into LSST-strong-lensing:main Nov 7, 2024
2 of 5 checks passed
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.

2 participants