Skip to content

Commit

Permalink
Explain area of get_ztf_footprint_corners() polygon
Browse files Browse the repository at this point in the history
This polygon is smaller than the spatial extent of the true ZTF
field of view, but has approximately the same area because the real
ZTF field of view has chip gaps.

For the real ZTF footprint, use the region file
https://github.com/skyportal/skyportal/blob/main/data/ZTF_Region.reg.
  • Loading branch information
lpsinger committed Nov 9, 2022
1 parent 592464e commit 456d6bc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion healpix_alchemy/tests/benchmarks/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,17 @@


def get_ztf_footprint_corners():
"""Return the corner offsets of the ZTF footprint."""
"""Return the corner offsets of the ZTF footprint.
Notes
-----
This polygon is smaller than the spatial extent of the true ZTF field of
view, but has approximately the same area because the real ZTF field of
view has chip gaps.
For the real ZTF footprint, use the region file
https://github.com/skyportal/skyportal/blob/main/data/ZTF_Region.reg.
"""
x = 6.86 / 2
return [-x, +x, +x, -x] * u.deg, [-x, -x, +x, +x] * u.deg

Expand Down

0 comments on commit 456d6bc

Please sign in to comment.