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

simulate.volumeCorrection Issue #146

Open
caganze opened this issue Feb 17, 2019 · 0 comments
Open

simulate.volumeCorrection Issue #146

caganze opened this issue Feb 17, 2019 · 0 comments

Comments

@caganze
Copy link
Collaborator

caganze commented Feb 17, 2019

coord=astropy.coordinates.SkyCoord(ra=189.07454167*u.deg, dec=62.24205556*u.deg)
import splat.simulate as spsim
spsim.volumeCorrection(coord, 0.0, 1000.0) returns 1.0
spsim.volumeCorrection(coord, 1.0, 1000.0) returns 0.17

Shouldn't these numbers be close because there is no difference between 0 and 1000 pc and 1 and 1000 pc in the same field of view? I have not been able to track the exact issue, everything seems correct computationally.

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