Areas on the Sphere and HEALPix

Similar documents
Flagging Bad Data in Imaging

Lecture Module 2: Spherical Geometry, Various Axes Systems

A Review of Coordinates

AY120A,B CHEAT-SHEET FOR SPHERICAL COORDINATE TRANSFORMATION

Coordinates on the Sphere

Reweighting Nusim Monte Carlo as a Galactic Plane Line Source

CHARTING THE HEAVENS USING A VIRTUAL PLANETARIUM

Phys Lab #1: The Sun and the Constellations

Questions for Today s Class?

Astronomical coordinate systems. ASTR320 Monday January 22, 2018

The sky and the celestial sphere

Time, coordinates and how the Sun and Moon move in the sky

Celestial Sphere Spectroscopy (Something interesting; e.g., advanced data analyses with IDL)

Laboratory: Milky Way

Satellite project, AST 1100

Geostationary Satellites and Astrophotography

A2 Principi di Astrofisica. Coordinate Celesti

The time they chose was the Vernal Equinox of March 20, 2000, at 7:30 AM Greenwich Mean Time (GMT). Right Ascension Offset

10/17/2012. Observing the Sky. Lecture 8. Chapter 2 Opener

Welcome to Astronomy 402/602

ASTRONOMICAL COORDINATE SYSTEMS CELESTIAL SPHERE

These notes may contain copyrighted material! They are for your own use only during this course.

GEOL 309 Laboratory Activity: Euler Poles. Name

LAB: Photometry of the Pleiades Cluster

Completing & Improving the TeV Cosmic-Ray Sky with HAWC & IceCube

Astronomy 114. Lecture 2: Measurement, astronomical distance. Martin D. Weinberg. UMass/Astronomy Department

Equatorial Telescope Mounting

Energy Efficiency, Acoustics & Daylighting in building Prof. B. Bhattacharjee Department of Civil Engineering Indian Institute of Technology, Delhi

Transforming from Geographic to Celestial Coordinates

ES 111 Mathematical Methods in the Earth Sciences Lecture Outline 3 - Thurs 5th Oct 2017 Vectors and 3D geometry

Topic Guide: The Celestial Sphere. GCSE (9-1) Astronomy. Pearson Edexcel Level 1/Level 2 GCSE (9-1) in Astronomy (1AS0)

Physics Lab #2: Learning Starry Night, Part 1

Chapter S1 Lecture. The Cosmic Perspective Seventh Edition. Celestial Timekeeping and Navigation Pearson Education, Inc.

PROBLEM SET #1. Galactic Structure 37 pts total. due Tuesday, 2/19/2019

Lecture 4: August 30, 2010

Lunar Eclipse Wednesday (January 31 st ) Morning. Topics for Today s Class. PHYS 1403 Stars and Galaxies

Knowing the Heavens. Goals: Constellations in the Sky

Knowing the Heavens. Goals: Constellations in the Sky

Lab 2 Astronomical Coordinates, Time, Focal Length, Messier List and Open Clusters

GISC3325 Class 2 - Latitude and Longitude on Sphere. 28 January 2013

Section 4.1. the k-th coordinate function of f. We call the system of equations . =.

How do we describe a location on Earth? Geodetic reference system

Contrast the old definition of constellation with the. State why we see different constellations during. Summarize what is meant by the Celestial

Oberth: Energy vs. Momentum

Orbit Definition. Reference Vector. Vernal (March) Equinox Vector. Sun Vector

Astronomical Techniques

Latitude and Longitude Pre Test

Lecture: Face Recognition and Feature Reduction

Chapter S1 Celestial Timekeeping and Navigation. How do we define the day, month, year, and planetary time periods?

CHARTING THE HEAVENS USING A VIRTUAL PLANETARIUM

Hostless Supernovae Anna Marlatt Advisor: Dr. David Cinabro

JWST visibility tools

UNIT 6 CELESTIAL SPHERE AND EQUINOCTIAL SYSTEM OF COORDINATES

Celestial Coordinate Systems

2. The Astronomical Context. Fig. 2-1

CELESTIAL COORDINATES

ASTRONOMICAL NAVIGATION

Map Projections. Displaying the earth on 2 dimensional maps

Astronomy 101 Lab Manual. Victor Andersen Community College of Aurora

Exercise 1.0 THE CELESTIAL EQUATORIAL COORDINATE SYSTEM

Time and Diurnal Motion

Lecture: Face Recognition and Feature Reduction

Sun s differential rotation. Student s Guide Advanced Level CESAR s Science Case

* * The Astronomical Context. Much of astronomy is about positions so we need coordinate systems to. describe them. 2.1 Angles and Positions

The. Astronomy is full of cycles. Like the day, the month, & the year In this section we will try to understand these cycles.

Satellite Communications

PAPER 338 OPTICAL AND INFRARED ASTRONOMICAL TELESCOPES AND INSTRUMENTS

VPython Class 2: Functions, Fields, and the dreaded ˆr

sidereal.py: A Python package for astronomical calculations

Time and Diurnal Motion

Meridian Circle through Zenith, North Celestial Pole, Zenith Direction Straight Up from Observer. South Celestial Pole

A New Method for Characterizing Unresolved Point Sources: applications to Fermi Gamma-Ray Data

WHAT ARE THE CONSTELLATIONS

Understanding Positional Astronomy Part 2 Celestial Co-ordinates Difficulty: Intermediate

Section 2. Locating Astronomical Objects in the Night Sky What Do You See? What Do You See? Think About It. Investigate.

HNRS 227 Fall 2007 Chapter 14. Earth in Space presented by Prof. Geller 25 October 2007

Patterns in the Sky & Constellations

Astro 3 Lab Exercise

Chapter 1 Test on Geography Skills

Week 2. Problem Set 1 is due Thursday via Collab. Moon awareness Weather awareness

MATH20411 PDEs and Vector Calculus B

Lecture 4 Spherical Trigonometry and related topics. GISC January 2007

pyorbital Documentation

Name Class Date. For each pair of terms, explain how the meanings of the terms differ.

Polar Sundial. Cut carefully on this line. Cut on this line.

2. Modern: A constellation is a region in the sky. Every object in the sky, whether we can see it or not, is part of a constellation.

The celestial sphere, the coordinates system, seasons, phases of the moon and eclipses. Chapters 2 and S1

Fri. Jan. 26, Demonstration of QGIS with GPS tracks. Types of data, simple vector (shapefile) formats

Math 21a Homework 24 Solutions Spring, 2014

Seasons Motions of the Sun

Physics 312 Introduction to Astrophysics Lecture 3

CONSTRUCTION OF A SOLID ANGLE

Vectors and the Geometry of Space

Kirk Borne Booz Allen Hamilton

STONEHENGE AS A SOLSTICE INDICATOR

Introduction To Astronomy Lesson 1

Exercise 7.0 THE CHANGING DIURNAL CIRCLES OF THE SUN

CM10196 Topic 2: Sets, Predicates, Boolean algebras

Astronomy 153 & 154 Lab 2 Excel, Units and Conversions + Angles and Coordinates

COMPUTER ACTIVITY 3: THE SEASONS: LENGTH OF THE DAY

Transcription:

Areas on the Sphere and HEALPix

Areas on the sphere I ve provided you with a lot of options for determining distances on the sphere...but what about areas? The area of the entire (unit) sphere is 4π steradians or about 41252.96 deg 2 One way to keep track of the area of regions of the sphere is to just subdivide it half the sphere has an area of 2π steradians (41252.96/2 deg 2 ), a quarter of the sphere has an area of π steradians (41252.96/4 deg 2 ), etc. Or, spherical calculus tells us the area of a zone (the surface area of a spherical segment)

Areas on the sphere The area of a zone (on the unit sphere) is 2πh in steradians (see the link to Wolfram MathWorld on the syllabus) The area of a cap is then 2π(1-h). The spherical cap will come in very useful in the next lecture The area of a rectangle drawn on the sphere, which is a fraction of a zone, is f2πh where f is the fraction in this lat-lon rectangle A lat-lon rectangle as I ll call it (it doesn t have an official name) is bounded by lines of longitude (or Right Ascension) and latitude (or declination) CAP ZONE taken from Wolfram Mathworld lat-lon rectangle

Areas on the sphere From the coordinate discussion of a few lectures ago, we can easily find the h in f2πh h = z2 - z1 = sinδ2 - sinδ1 2πf depends on the fraction of the full circle covered by the α range of interest (in radians 2πf is just the difference in α): 2πf = (α2 radians - α1 radians ) From f2πh, the area of a lat-lon rectangle bounded by α and δ is (α2 radians - α1 radians )(sinδ2 - sinδ1) Equator right ascension (α) z r = 1 δ R declination (δ) lat-lon rectangle z = rsinδ = sinδ

Areas on the sphere So, in steradians, the area of a lat-lon rectangle bounded by Right Ascension α and declination δ is (α2 radians - α1 radians )(sinδ2 - sinδ1) Then, the area of a lat-lon rectangle bounded by α and δ is given by (180/π)(180/π)(α2 radians - α1 radians )(sinδ2 - sinδ1) in square degrees Or, in a more compact form useful when working with astronomical coordinates (for which α is usually expressed in degrees) (180/π)(α2 degrees - α1 degrees )(sinδ2 - sinδ1)

Hierarchical, Equal Area, iso-latitude Pixelization Areas on the sphere become yet more complex if they are not simple astronomical fields bounded by lines of Right Ascension and declination So, a number of tricks have been developed to keep track of areas in large surveys of the sky One such trick, HEALPix, relies on the idea from a few slides ago (1/2 the sphere is 2π steradians, 1/4 is π steradians, etc.) and is a genuine quad-tree scheme Go to the syllabus JPL HEALPix primer link read Discretization of Functions on the Sphere (pay particular attention to Figure 2) also read Geometric and Algebraic Properties...

Hierarchical, Equal Area, iso-latitude Pixelization We have a Python version of HEALPix in astroconda It can be called and used, e.g., as follows import healpy healpy.ang2pix(nside,theta,phi) Note that theta and phi are in radians, and that phi corresponds to Right Ascension and [π/2 (radians) - declination] corresponds to theta i.e. theta = 0 is the north pole (90 o )..see the wikipedia definition linked from the syllabus The most useful commands for our purposes are linked from the syllabus under HEALPix Pixelisation related functions

Python tasks 1.Generate a random set of 1000000 points on the surface of the sphere with coordinates ra,dec (α,δ) degrees that correctly populate the sphere equally in area ra = 360.*(random(1000000)) and dec=(180/!pi)*np.arcsin(1.-random(1000000)*2.) plot your points...is there a higher density of points near the poles or the equator of the sphere? 2.Use ang2pix with nside=1 to determine which pixels each of your ra, dec points lie within at the nside=1 level of the HEALpix hierarchy convert ra, dec to radians and take 90 o (π/2 radians) - dec so that ra becomes phi and dec becomes theta What is the area of an nside=1 HEALpix pixel?

Python tasks 3.Use the numpy.histogram command to print out how many of your points lie in each HEALpix pixel Is the answer consistent with pixels being equal-area? 4.numpy.where will return the indices that obey a logic command. So, if you ve called your array of pixels pix then w = np.where(pix == 2) will make w a list of indices for which phi, theta (or ra, dec) lie in pixel 2 Plot ra, dec using matplotlib marker k. and overplot ra[w], dec[w] for those points in pixel 2, using a different color. Repeat for pixel 5 and pixel 8 5.Use ang2pix_ring with nside=2 to map your ra,dec points to HEALpix at the next level of the hierarchy Which nside=2 pixels lie inside pixel 5 at nside=1?