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

Coordinate mesh grid #165

Open
lucadimascolo opened this issue Feb 28, 2019 · 0 comments
Open

Coordinate mesh grid #165

lucadimascolo opened this issue Feb 28, 2019 · 0 comments

Comments

@lucadimascolo
Copy link
Contributor

Quick question.
get_coords_meshgrid computes the angular distances between all the points on a given grid and its centre. Since these are angular separations and assuming a small-angle approximation, shouldn't the expression for the distance along the R.A. direction,

x = (np.linspace(0.5, -0.5 + 1./float(ncol), ncol, dtype=real_dtype)) * ncol * dxy

include a corrective cos(Dec0), with Dec0 given by the declination of the grid centre?

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