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

build a CAR geometry from a bounding box #18

Merged
merged 3 commits into from
Feb 8, 2022
Merged

build a CAR geometry from a bounding box #18

merged 3 commits into from
Feb 8, 2022

Conversation

xzackli
Copy link
Collaborator

@xzackli xzackli commented Feb 7, 2022

This PR introduces the ability to build a CAR geometry out of two points that define a bounding box, i.e.

using Pixell
import Pixell: degree, arcminute

box = [10  -10;           # RA
       -5    5] * degree  # DEC

shape, wcs = geometry(CarClenshawCurtis, box, 0.5 * arcminute)

It also updates the fullsky geometry to accept units. I've defined Pixell.radian, Pixell.degree, and Pixell.arcminute helpers that are aliases for things from Unitful.jl.

@xzackli xzackli merged commit bac9d86 into main Feb 8, 2022
@xzackli xzackli deleted the geometry branch February 15, 2022 05:20
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

Successfully merging this pull request may close these issues.

1 participant