dangilman / pyHalo

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

Fix uldm test error #17

Closed AlexLaroche7 closed 2 years ago

AlexLaroche7 commented 2 years ago

Switched optimization method back to nedler-mead but added a tolerance to the minimization function. This makes the relative ULDM normalization errors more consistent. Had to increase the relative error slightly from 2 to 3% to make sure that the relative error always passes.