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

NFW c-rho0 inversion extended in range #408

Merged
merged 3 commits into from
Feb 1, 2023
Merged

Conversation

sibirrer
Copy link
Collaborator

interpolation for extension of range in the inversion of the c-rho0 relation of the NFW made. Credits to Andreas Filipp for making me aware

@coveralls
Copy link

coveralls commented Jan 31, 2023

Pull Request Test Coverage Report for Build 4067118395

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.0003%) to 96.816%

Totals Coverage Status
Change from base Build 4028352755: 0.0003%
Covered Lines: 18064
Relevant Lines: 18658

💛 - Coveralls


def M200(self, rs, rho0, c):
@staticmethod
def M200(rs, rho0, c):
Copy link
Collaborator

@ajshajib ajshajib Feb 1, 2023

Choose a reason for hiding this comment

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

It would be helpful to state the expected unit of rs in the docstring.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also, the function def nfw_Mz(self, M, z) below doesn't describe the input parameters in the docstring, just some minor points that could be improved.

@sibirrer sibirrer merged commit 02b78c9 into lenstronomy:main Feb 1, 2023
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

3 participants