dangilman / pyHalo

A python toolkit for rendering populations of dark matter halos for gravitational lensing simulations
MIT License
22 stars 13 forks source link

Updated mass defintions to match pyHalo #48

Closed cgannonucm closed 10 months ago

cgannonucm commented 10 months ago

Updated parameter files / hdf5 files. Now contain "massHaloEnclosedCurrent" and "concentration" parameters which give definitions for the infall mass and concentration that should match the definitions used in pyHalo. Additionally, updated TNFW_example.xml to credit author.

cgannonucm commented 10 months ago

Now when loading a galacticus file concentrations are used by default to calculate virial radius using the new concentration parameter in the output. This allows the definition of virial radius to match that used in pyHalo.

Additionally, refactor DMFromGalacticus to allow for modifying which parameters get passed when creating TNFWFromParams object. This should allow for more flexible behavior in the future.