Skip to content

Commit

Permalink
change profile name GNFW -> PSUEDO_DPL to be consistent with lenstron…
Browse files Browse the repository at this point in the history
…omy main branch
  • Loading branch information
Daniel Gilman committed Feb 26, 2024
1 parent a2dd0d7 commit 4a522ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyHalo/Halos/HaloModels/generalized_nfw.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, mass, x, y, r3d, z,
self._lens_cosmo = lens_cosmo_instance
self._truncation_class = truncation_class
self._concentration_class = concentration_class
mdef = 'GNFW'
mdef = 'PSEUDO_DPL'
super(GeneralNFWSubhalo, self).__init__(mass, x, y, r3d, mdef, z, sub_flag,
lens_cosmo_instance, args, unique_tag)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_halos/test_general_nfw.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_lenstronomy_params(self):
npt.assert_almost_equal(rs/kwargs_gnfw_profile['Rs'], 1.0, 4)

id = gnfw.lenstronomy_ID
npt.assert_string_equal('GNFW', id[0])
npt.assert_string_equal('PSEUDO_DPL', id[0])

def test_enclosed_mass(self):

Expand Down

0 comments on commit 4a522ad

Please sign in to comment.