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

ENH(lensing): deflections from weak lensing #108

Merged
merged 5 commits into from
Jun 28, 2023
Merged

ENH(lensing): deflections from weak lensing #108

merged 5 commits into from
Jun 28, 2023

Conversation

ntessore
Copy link
Collaborator

@ntessore ntessore commented Jun 15, 2023

Adds functions to simulate deflections due to weak gravitational lensing:

  • from_convergence() computes other weak lensing fields from the convergence
  • deflect() applies deflections to a set of positions

An exact definition of what "deflection" means in GLASS is added to the glossary.

This functionality so far only covers the raw physical process of deflecting a point. To compute the observed positions of a set of sources under weak lensing, we will need a new high-level function lensed_positions(), say, that solves the lensing equation by repeatedly calling deflect().

Closes: #106
Added: deflect() applies deflections to positions
Added: from_convergence() returns other lensing fields given the convergence
Deprecated: shear_from_convergence() is deprecated in favour of from_convergence()

@ntessore ntessore marked this pull request as ready for review June 28, 2023 10:29
@ntessore ntessore merged commit 57d686b into main Jun 28, 2023
@ntessore ntessore deleted the pr/gh-106 branch June 28, 2023 10:37
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.

Deflections from weak lensing
1 participant