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

halo miscentering code #1

Open
jesford opened this issue Feb 22, 2016 · 2 comments
Open

halo miscentering code #1

jesford opened this issue Feb 22, 2016 · 2 comments

Comments

@jesford
Copy link

jesford commented Feb 22, 2016

Hi @msimet,
I came across this repository, and thought you might be interested to see my solution to the cluster miscentering problem. I've released a pure Python package for calculating offset NFW halo profiles that you can install using pip. I would be interested to hear if you find it interesting or useful.
The repository is: https://github.com/jesford/cluster-lensing
and the documentation is here: http://jesford.github.io/cluster-lensing/
Cheers!
-Jes

@msimet
Copy link
Owner

msimet commented Mar 1, 2016

Ah, cool! I'll take a look at it.

I should say the purpose of this is not just to do the miscentering calculation--the code (which exists in a kind of kludgy project-specific form that I'm cleaning up for public use) generates internal interpolation tables so profiles can be calculated very quickly. I was doing a project that required me to generate order 1 billion profiles for some MCMC chains, so doing the full convolution each time was totally impossible. So at least I'm not just duplicating work you've already done!

@jesford
Copy link
Author

jesford commented Mar 2, 2016

That sounds extremely useful! I would love to check that out when you make it public!

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

No branches or pull requests

2 participants