Skip to content

Coordinate mesh grid #165

Description

@lucadimascolo

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions