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

calc_rad appears to return an offset list of radii #1

Open
EzryStIago opened this issue Nov 24, 2023 · 0 comments
Open

calc_rad appears to return an offset list of radii #1

EzryStIago opened this issue Nov 24, 2023 · 0 comments

Comments

@EzryStIago
Copy link
Contributor

The "rad" variable returned by calc_rad is off by one radial bin width.
E.g. if we have bins 0 to 20 with dr=5, calc_rad SHOULD return [2.5, 7.5, ... 17.5] but actually returns [7.5, 10,... 22.5]
Temporary fix: subtract one bin width before plotting

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

1 participant