Aligning HST Images to Gaia: a Faster Mosaicking Work ow

4
WFC3 Instrument Science Report 2017-19 Aligning HST Images to Gaia: a Faster Mosaicking Workflow V. Bajaj November 13, 2017 Abstract We present a fully programmatic workflow for aligning HST images using the high-quality astrometry provided by Gaia Data Release 1. Code provided in a Jupyter Notebook (https: // github. com/ spacetelescope/ gaia_ alignment ) works through this procedure, including parsing the data to determine the query area parameters, querying Gaia for the coordinate catalog, and using the catalog with TweakReg as a reference catalog. This workflow greatly simplifies the normally time-consuming process of aligning HST images, especially those taken as part of mosaics. Introduction Gaia Data Release 1 (DR1) provides high-accuracy positions for over one billion stars with a median positional error approximately 2.4 milliarcseconds (Gaia Collaboration et al. 2016), smaller than one tenth of any HST imaging instrument pixel. The catalogs derived from DR1 can be used as a reference for aligning HST images to within very small positional errors, which allows for the images to be combined easily with software such as AstroDriz- zle. Moreso, by providing accurate catalogs covering large areas, using the Gaia catalogs streamlines the procedure of creating HST mosaics. Without catalogs as accurate as those provided by Gaia mosaicking is often done by aligning images relatively to each other using sources in the overlapping regions of pairs of images. Since the overlap between mosaic tiles is small this is often a difficult process which can require many iterations. The use of the Gaia catalogs greatly simplifies this process, often only requiring one pass for alignments of many mosaic tiles taken in many filters. Copyright c 2017 The Association of Universities for Research in Astronomy, Inc. All Rights Reserved.

Transcript of Aligning HST Images to Gaia: a Faster Mosaicking Work ow

Page 1: Aligning HST Images to Gaia: a Faster Mosaicking Work ow

WFC3 Instrument Science Report 2017-19

Aligning HST Images to Gaia: aFaster Mosaicking Workflow

V. Bajaj

November 13, 2017

Abstract

We present a fully programmatic workflow for aligning HST images using the high-qualityastrometry provided by Gaia Data Release 1. Code provided in a Jupyter Notebook(https: // github. com/ spacetelescope/ gaia_ alignment ) works through thisprocedure, including parsing the data to determine the query area parameters, queryingGaia for the coordinate catalog, and using the catalog with TweakReg as a reference catalog.This workflow greatly simplifies the normally time-consuming process of aligning HSTimages, especially those taken as part of mosaics.

Introduction

Gaia Data Release 1 (DR1) provides high-accuracy positions for over one billion stars with amedian positional error approximately 2.4 milliarcseconds (Gaia Collaboration et al. 2016),smaller than one tenth of any HST imaging instrument pixel. The catalogs derived fromDR1 can be used as a reference for aligning HST images to within very small positionalerrors, which allows for the images to be combined easily with software such as AstroDriz-zle. Moreso, by providing accurate catalogs covering large areas, using the Gaia catalogsstreamlines the procedure of creating HST mosaics. Without catalogs as accurate as thoseprovided by Gaia mosaicking is often done by aligning images relatively to each other usingsources in the overlapping regions of pairs of images. Since the overlap between mosaic tilesis small this is often a difficult process which can require many iterations. The use of theGaia catalogs greatly simplifies this process, often only requiring one pass for alignments ofmany mosaic tiles taken in many filters.

Copyright c© 2017 The Association of Universities for Research in Astronomy, Inc. All Rights Reserved.

Page 2: Aligning HST Images to Gaia: a Faster Mosaicking Work ow

WFC3 Instrument Science Report 2017-19

A Jupyter notebook has been written providing an example path through this process,with many of the procedures written in functions that could be applied in other codes. Thenotebook is available as part of a github repository.

Caveats

While this method does greatly reduce the effort necessary to align data, especially largemosaics, there are a small number of issues that may make this workflow less efficient oraccurate for various datasets.

Photometric Ranges

Gaia DR1 provides a broad, white-light G band magnitude for all sources recorded (Jordiet al. 2010). In general, almost all of the stars measured by Gaia are G < 21. Naturally,the fainter stars recorded in the Gaia catalogs have higher positional uncertainties thanthe brighter ones. However, these low-uncertainty, bright stars often saturate the detectorsof HST imagers, especially when wide band filters are used with longer exposure times,rendering them useless for alignment. However, preliminary testing on various datasetsshows the larger positional uncertainties on the fainter stars do not affect the alignmentsolution much (a more thorough analysis of this will be presented in a future ISR).

Source Densities

Although Gaia has mapped positions of > 109 sources, the density of sources across the sky isnaturally not uniform, so some regions of the sky have very few sources in the Gaia catalogs.Therefore, sparse fields may not align well enough with this methodology. Since HST imagescan detect fainter sources than Gaia, in some cases, aligning to other HST images mayprovide better relative astrometry than Gaia, as the increased number of sources increasesthe quality of the fit. For fields with many sources this is significant enough to only affectscience where accurate astrometry is highest priority (also presented in a future ISR).

Proper Motions

Except for a small subset of sources, Gaia DR1 does not contain proper motion measurements(DR2 will). As when working with any source catalog, the proper motions of sources canreduce the quality of the alignment if the epoch of the catalog and data are very different.

References

Gaia Collaboration et al. (2016). “Gaia Data Release 1. Summary of the astrometric, pho-tometric, and survey properties”. In: Astronomy and Astrophysics 595, A2, A2. doi:10.1051/0004-6361/201629512. arXiv: 1609.04172 [astro-ph.IM].

Jordi, C. et al. (2010). “Gaia broad band photometry”. In: Astronomy and Astrophysics 523,A48, A48. doi: 10.1051/0004-6361/201015441. arXiv: 1008.0815 [astro-ph.IM].

2

Page 3: Aligning HST Images to Gaia: a Faster Mosaicking Work ow

WFC3 Instrument Science Report 2017-19

Figure 1: DSS imagery of the target, LMC-N44 used in the example notebook (only a smallsubset of the data is used for brevity). The HST observation footprints are overlaid as boxes,and the circles are the Gaia sources in the same field. Code to create figures such as this areincluded in the notebook.

3

Page 4: Aligning HST Images to Gaia: a Faster Mosaicking Work ow

WFC3 Instrument Science Report 2017-19

Figure 2: The full HST/WFC3 mosaic of the target, LMC-N44, used in the example note-book. The alignment methodology presented in the notebook greatly decreases the time andlevels of user input necessary to create mosaics such as this.

4