NASA/TP-2019-220321
Target Optimal Aperture Selection
Steve BrysonAmes Research Center, Moffett Blvd, Mountain View, CA 94040
NASA STI Program ... in Profile
Since its founding, NASA has been dedicated to the advancement of aeronautics and space science. The NASA scientific and technical information (STI) program plays a key part in helping NASA maintain this important role. The NASA STI program operates under the auspices of the Agency Chief Information Officer. It collects, organizes, provides for archiving, and disseminates NASA’s STI. The NASA STI
program provides access to the NTRS Registered and its public interface, the NASA Technical Reports Server, thus providing one of the largest collections of aeronautical and space science STI in the world. Results are published in both non-NASA channels and by non-NASA in the non-NASA STI Report Series, which includes the following report types:
• TECHNICAL PUBLICATION. Reports of completed research or a major significant phase of research that present the results of NASA Programs and include extensive data or theoretical analysis. Includes compila- tions of significant scientific and technical data and information deemed to be of continuing reference value. NASA counter-part of peer-reviewed formal professional papers but has less stringent limitations on manuscript length and extent of graphic presentations.
• TECHNICAL MEMORANDUM.
Scientific and technical findings that are preliminary or of specialized interest, e.g., quick release reports, working papers, and bibliographies that contain minimal annotation. Does not contain extensive analysis.
• CONTRACTOR REPORT. Scientific and technical findings by NASA-sponsored contractors and grantees.
• CONFERENCE PUBLICATION. Collected papers from scientific and
technical conferences, symposia, seminars, or other meetings sponsored or
co-sponsored by NASA.
• SPECIAL PUBLICATION. Scientific, technical, or historical information from NASA programs, projects, and missions, often concerned with subjects having substantial public interest.
• TECHNICAL TRANSLATION.
English-language translations of foreign scientific and technical material pertinent to NASA’s mission.
Specialized services also include organizing and publishing research results, distributing specialized research announcements and feeds, providing information desk and personal search support, and enabling data exchange services.
For more information about the NASA STI program, see the following:
• Access the NASA STI program home page at http://www.sti.nasa.gov
• E-mail your question to [email protected] • Phone the NASA STI Information Desk at
757-864-9658 • Write to:
NASA STI Information Desk Mail Stop 148
NASA Langley Research Center Hampton, VA 23681-2199
Target Optimal Aperture Selection
Steve BrysonAmes Research Center, Moffett Blvd, Mountain View, CA 94040
National Aeronautics and Space Administration
Ames Research Center
Design Note No: KADN-26108
Title: Target Optimal Aperture Selection Author: Steve Bryson Signature:
GS SE Approval: Chris Middour Signature: Science Approval: Jon Jenkins Signature:
Distribution: J. Jenkins, D. Caldwell, D Koch, W Borucki, J. Voss, R. Thompson, H. Chandrasekharan, K. Allen, S. Bryson, C. Middour, T. Klaus, M. Kote, D. Pletcher
Revision History:
Rev. Letter
Revision Description Date Author/Initials
KPO@AMES DESIGN NOTE
Design Note No: KADN-26108 Rev: 0.1 Date: 3/5/2006 Title: Target Optimal Aperture Selection
Author: Steve Bryson
Form KADN-26000 Rev - 1 Page 2 of 12
Overview
This document describes the computation of optimal pixels for planetary transit targets. The method we describe is based on that used in the End-to-End Model (ETEM), which simulates Kepler science output. An optimal aperture for a target is defined as the set of pixels which maximizes the signal-to-noise ratio (SNR) for that target. The optimal aperture for a target is determined by using catalog data to generate, for that target, a synthetic image with all background stars and signals and a second synthetic image with the target star’s flux only. These images are incorporated into a noise model, from which the SNR of each pixel is computed. The pixels around a target are summed in an order that maximizes the SNR with each term. As dimmer and dimmer pixels contribute to this sum, the SNR reaches a maximum and further terms decrease the SNR. The set of pixels whose SNR sums to this maximum value defines the optimal aperture.
Applicable Documents
• KSOC-21008, Algorithm Theoretical Basis Document for the Science Operations Cen-ter
• KADN-26110, Commissioning: PSF Characterization • KADN-26107, Target Aperture Mask Selection
Design Note No: KADN-26108 Rev: 0.1 Date: 3/5/2006 Title: Target Optimal Aperture Selection
Author: Steve Bryson
1
Introduction
Due to bandwidth considerations, data from all of the 84 million pixels in the Kepler focal plane cannot be stored for transmission for every cadence. Therefore specific objects (mostly stars) in the Kepler field of view called targets are identified, and groups of pixels around these objects, called apertures, are extracted for storage and eventual transmission. For some targets the required apertures are explicitly specified. For planetary transit targets the pixels are selected to maximize the signal to noise ratio of the sum of the pixel values for that target. The resulting collection of pixels is called an optimal aperture. There are many planetary transit targets whose optimal apertures should be computed each quarter, so the selection of optimal apertures is automated as described in this document.
In this section we briefly outline the computation of optimal apertures. The conceptual flow of this computation is shown in Figure 1. Details of this computation are given later in this document. find star centroid pixel location catalog data compute module output poly pixel response function poly coeffs
star centroid pixel locations FFI target image poly coeffs extract optimal pixels DVA model compute target image poly target IDs optimal apertures create module output FFI noise model aperture quality
bad pixel data
output poly coeffs create target images target flux images
Figure 1: The conceptual flow of the computation of optimal apertures. A synthetic full-frame image (FFI) is created for the module output, and the target images are used to create a second FFI without the target stars. These FFIs are used to estimate the signal-to-noise ratio (SNR) of each pixel, allowing the selection of the pixel set that maximized the SNR of the total flux of each target.
KPO@AMES DESIGN NOTE
Design Note No: KADN-26108 Rev: 0.1 Date: 3/5/2006 Title: Target Optimal Aperture Selection
Author: Steve Bryson
Form KADN-26000 Rev - 1 Page 4 of 12
The computation of optimal apertures takes place for each Kepler output module, and is based on the generation of two synthetic full-frame images (FFIs) for that module: one FFI with all stars and a second FFI with the target stars removed (though still including the effects of target stars such as their smear). By comparing these two FFIs, we can determine the signal-to-noise ratio (SNR) )of each pixel. By considering all the pixels in these two FFIs in a region around a target we can determine the pixel set whose sum maximizes the SNR for that target. The computation of a synthetic FFI uses several inputs:
• Data from the Kepler Input Catalog (KIC) for the stars that fall on that module. • The pixels on which each star in the KIC fall, as determined by the geometry of the
CCD in the Kepler optical system as well as pointing data and star aberration as determined by the spacecraft motion vector.
• The pixel response function (PRF) for that module determined during commissioning, represented as the coefficients of a two-dimensional polynomial. The PRF is determined by the optical point spread function (PSF) of the Kepler optical system, intra-pixel variability and geometric aspects of the focal plane.
• An estimation of the differential velocity aberration (DVA) of stars on the output module as a function of time and position.
In essence, for each star in the KIC that falls on the module output, a copy of the appropriate PRF scaled by the brightness of that star and smeared by to DVA motion is added to the FFI in the appropriate pixel location. Due to the large number of stars in the KIC and the resolution required to estimate the DVA motion, the direct computation of the FFI would be impracticably slow. To overcome this difficulty, both the PRF and the brightness of each pixel in the FFI is represented by two-dimensional polynomials, and most of the computations are performed in terms of the polynomial coefficients. The contributions from each individual star are added by adding the coefficients of the PRF’s polynomial representation to the coefficients of the FFI pixel’s polynomial representation. Once this process is complete the FFI is generated by evaluating the FFI’s polynomial for each pixel. The FFI is completed by adding simulated spill-over of saturated pixels, effects of charge transfer, smear due to shutterless operation and zodiacal light.
The above computation of a synthetic FFI uses all the stars that fall on the module output. A subset of these stars are identified as target stars. For each target star a small image is created using the same procedures as those used to create the synthetic FFI, but
Design Note No: KADN-26108 Rev: 0.1 Date: 3/5/2006 Title: Target Optimal Aperture Selection
Author: Steve Bryson
using only the single target star’s flux. These target images are used with the synthetic FFI to create an FFI with the target star’s flux removed. When removing the flux from a target star when computing the second FFI, care is taken to retain the smear signal from the other target stars.
Once the two FFIs are computed, a rectangle of pixels around each target star is ex-tracted. A noise model is used to estimate the noise in each pixel of the target’s extracted rectangle. This noise model includes shot noise of the target, background signal, smear and zodiacal light as well as read and quantization noise. The signal to noise ratio (SNR) of each pixel is computed. As the SNR of each pixel is added to a running sum in decreasing order of value, the summed SNR will increase until pixels dominated by noise are added and the sum will start to decrease. The set of pixels that caused the summed SNR to increase defines the optimal aperture for that target.
This computation of optimal apertures is based on a method implemented in the End-to-End Model (ETEM), described in KSOC-21008, ”Algorithm Theoretical Basis Document for the Science Operations Center”, which is used to generate synthetic Kepler data. This model has undergone independent review and verification. The method we describe in this document is very similar to that in ETEM, with the primary difference being the source of the pixel response function: in ETEM the PRF is computed based on input models of the PSF, the intra-pixel variability and does not include spacecraft pointing jitter. In ETEM pointing jitter is added later in the computation of the FFI. In the method described here the PRF is measured directly based on dithered FFIs taken during commissioning as described in KADN-26110 ”Commissioning: PSF Characterization”. These PRFs will include the effects of spacecraft pointing jitter.
Once the optimal aperture for that target is found, it is compared with a list of bad pixel information. The presence of bad pixels in an optimal aperture is reported, along with that aperture’s signal to noise ratio.
The output of the optimal aperture computation is sent to the aperture mask selection algorithm, described in KADN-26107, ”Target Aperture Mask Selection”, for the selection of actual apertures that are sent from the spacecraft.
2
Computing a Synthetic FFI
The primary inputs to the computation of the module output’s FFI are data about the stars that fall on the output and the pixel response function for that output. The star data must
KPO@AMES DESIGN NOTE
Design Note No: KADN-26108 Rev: 0.1 Date: 3/5/2006 Title: Target Optimal Aperture Selection
Author: Steve Bryson
Form KADN-26000 Rev - 1 Page 6 of 12
be converted into pixel locations before it can be used.
Relevant data for stars that fall on the module output are provided to the optimal aperture computation by the pipeline framework. This data includes the star’s celestial coordinates (Right-Ascension and Declination) and stellar magnitude. The coordinates are converted to the pixel location, including sub-location on a 10 × 10 sub-pixel grid, by the RADec2Pix library call described in KADN-26026, ”Kepler Focal Plane coordinate con-version MATLAB con-version”. This concon-version includes stellar aberration due to spacecraft motion. The result is the location of the star’s centroid on the module output’s pixels.
The flux measured by a pixel is determined by several things, of which the following are dominant:
• The location of the centroid of stars whose light falls on the pixel, including which pixel and where on that pixel that centroid is located (the sub-pixel location).
• The optical point-spread function (PSF), which spreads the light from a star over several pixels.
• Intra-pixel variability, which causes variations in the measured flux as the star’s cen-troid moves within the pixel.
The PSF combined with the intra-pixel variability causes the pixel to be very sensitive to small motions of a star’s centroid. These motions include spacecraft pointing jitter and differential velocity aberration and can be a significant source of signal noise and uncertainty. Therefore it is important to characterize each pixel’s response to image motion on a sub-pixel scale. We call the function describing the sub-pixel’s response to motion the sub-pixel response function (PRF). Our strategy is to use pre-determined PRFs, the catalog input data and an estimate of the offsets (∆x, ∆y) over time to compute a synthetic full-frame image (FFI). This FFI will be used to estimate the set of pixel that provide an optimal signal for a target. Since the PRF is expected to be determined during commissioning using long-cadence FFIs, components of the mean motion due to spacecraft pointing jitter and any other effect that occurs on a single long-cadence time scale will be included in the PRF. Motion over longer time scales is explicitly accounted for by making the offsets (∆x (t) , ∆y (t)) time dependent.
Design Note No: KADN-26108 Rev: 0.1 Date: 3/5/2006 Title: Target Optimal Aperture Selection
Author: Steve Bryson
2.1
Representing a Pixel’s Dependence on Motion with a
Polyno-mial
As mentioned above, the pixel response function depends sensitively on the sub-pixel location of the star centroid. We approximate this dependence by characterizing (during commis-sioning) the PRF on a 10 × 10 sub-pixel grid, so each pixel has 100 pixel response functions assigned to it. For each sub-pixel location the PRF is defined on a domain of pixels, which in ETEM is taken to be 11 × 11 pixels centered on the star centroid. In actual implementation this shape may be too small and will be determined by further analysis. In this document we will use 11 × 11 size for illustration.
For the moment, to simplify our notation, we ignore the time and space dependence of (∆x, ∆y) . We are computing the brightness of a pixel given the starlight that falls on that pixel and the offsets of the star images (∆x, ∆y) . The basic strategy is to develop polynomial functions of (∆x, ∆y) for each pixel. This information is encoded into the pixel response function Rα
i,j for each pixel (i, j) and a sub-pixel location α on the 10 × 10 sub-pixel grid. We represent Rα
i,j as a two-dimensional polynomial on the 11 × 11 pixel domain as Rα
i,j = N !
k=1
cα,i,jpix,kXk(∆x, ∆y)
where i, j = 1, ..., 11, Xk(∆x, ∆y) is the polynomial basis for the kth term and N is the number of terms, which depends on the order of the polynomial. For example, for a second-order polynomial we could take X1(∆x, ∆y) = 1, X2(∆x, ∆y) = ∆x, X3(∆x, ∆y) = ∆y, X4(∆x, ∆y) = ∆x2, X5(∆x, ∆y) = ∆y2, X6(∆x, ∆y) = ∆x∆y so N = 6. The coeffi-cients cα,i,jpix,k are pre-determined by fitting to jittered real FFIs from the spacecraft during commissioning as described in KADN-26110, ”Commissioning: PSF Characterization”.
We first compute the brightness of a pixel at row r and column c without the pixel response function by, for each sub-pixel position α, adding the flux fs of each star s in the set S of stars whose centroids fall on that pixel at that sub-pixel location:
bα r,c =
!
s∈S fx.
The effect of the pixel response function, which spreads the light from an individual star over several pixels, is included via convolution which gives the brightness of the pixel pα
r,c : pα r,c = 11 ! i=1 11 ! j=1 bα r−i,c−jR α i,j
KPO@AMES DESIGN NOTE
Design Note No: KADN-26108 Rev: 0.1 Date: 3/5/2006 Title: Target Optimal Aperture Selection
Author: Steve Bryson
Form KADN-26000 Rev - 1 Page 8 of 12
= 11 ! i=1 11 ! j=1 bα r−i,c−j N ! k=1
cα,i,jpix,kXk(∆x, ∆y) = N ! k=1 11 ! i=1 11 ! j=1 cα,i,jpix,kb α r−i,c−jXk(∆x, ∆y) If we define cα,r,cccd,k = 11 ! i=1 11 ! j=1 cα,i,jpix,kbα r−i,c−j, (1)
which expresses the ccd pixel coefficients cα,r,cccd,k as a convolution, then we have a polynomial expression for pα r,c : pα r,c = N ! k=1 cα,r,cccd,kXk(∆x, ∆y) .
The total brightness of the pixel, pr,c, is obtained by summing the contributions from each sub-pixel position: pr,c = ! α N ! k=1 cα,r,cccd,kXk(∆x, ∆y) = N ! k=1 cr,cccd,kXk(∆x, ∆y) . where cr,cccd,k =! α cα,r,cccd,k=! α 11 ! i=1 11 ! j=1 cα,i,jpix,kbα r−i,c−j (2)
are the coefficients of the polynomial giving the pixel brightness.
In other words, we can find the coefficients of a polynomial expression for the brightness of each pixel, giving that pixel’s brightness as a function of offsets of the light falling on that pixel, by convolving the flux centered on each of that pixel’s sub-pixel position with the coefficients of the pixel response function for that sub-pixel position, and summing over the sub-pixel positions.. For a given offset, which will in general depend on the pixel, evaluating pr,c at pixel (r, c) gives the brightness of the pixel after a single (long-cadence) integration.
Design Note No: KADN-26108 Rev: 0.1 Date: 3/5/2006 Title: Target Optimal Aperture Selection
Author: Steve Bryson
2.2
Time Dependence of the Offsets
(∆x (t) , ∆y (t))
We now consider the effect of the time dependence of the offsets (∆x (t) , ∆y (t)) . This causes the brightness of each pixel to become time dependent as
pr,c(t) = N !
k=1
cr,cccd,kXk(∆x (t) , ∆y (t)) .
For purposes of determining the optimal aperture over a long time period T such as a quarter, we wish to create an FFI that integrates the pixel flux over that time period, divided by the number of integrations NT = T /∆t in that time period, where ∆t is the integration time. If we divide T into integration intervals [Tn, Tn+1] (where Tn+1 = Tn+ ∆t and T1 = 0 and TNT = T ) then we can write this integral as
1 NT " T 0 pr,c(t) dt = 1 NT NT ! n=1 " Tn+1 Tn pr,c(t) dt.
Motions on the single integration time scale are already included in the pixel response func-tion, so the integral #Tn+1
Tn p
b
r,c(t) dt is replaced by the polynomial representation of pr,c(t) multiplied by ∆t : 1 NT " T 0 pr,c(t) dt = 1 NT NT ! n=1 N ! k=1 cr,cccd,kXk(∆x (tn) , ∆y (tn)) ∆t = N ! k=1 cr,cccd,k 1 NT NT ! n=1 Xk(∆x (tn) , ∆y (tn)) ∆t = N ! k=1 cr,cccd,k⟨Xk(∆x, ∆y)⟩t∆t
where ⟨· · ·⟩t denotes the average with respect to time. We therefore can account for the effect of time-dependent motions by evaluating the pixel polynomial pr,c on the time average of the polynomial basis functions and multiplying by ∆t.
2.3
Computing the time and space dependence of the offsets
∆x (t) and ∆y (t)
The primary source of long-term motion is expected to be differential velocity aberration (DVA), which is determined by changes in the velocity vector of the spacecraft and position
KPO@AMES DESIGN NOTE
Design Note No: KADN-26108 Rev: 0.1 Date: 3/5/2006 Title: Target Optimal Aperture Selection
Author: Steve Bryson
Form KADN-26000 Rev - 1 Page 10 of 12
of a star’s image on the focal plane. This is expected to have very slow variation in both space and time, and so can be approximated by low-order polynomials. Following ETEM, spatial variation on each module output is measured on a 5 × 5 grid which we label with the indices (u, v). First, the aberrated celestial coordinates at the start of the motion time period of each grid point are determined via the Focal Plance Characterization library call Pix2RADec. These coordinates are then corrected for velocity aberration with the Focal Plance Characterization library call unaberrate. Then for each long cadence in the time interval of interest, the Focal Plance Characterization library routine RADec2Pix is called for each grid point (u, v), which returns the pixel and pixel sub-position of the aberrated celesial coordinates at that time. This aberrated result is subtracted from the initial po-sition of the grid point, delivering the offsets (∆xu,v(tn) , ∆yu,v(tn)) . The basis functions Xk(∆xu,v(tn) , ∆yu,v(tn)) are then computed as described below and stored for each ca-dence. To find the kth time-averaged basis function at a pixel (r, c) , the kth stored basis functions on the 5 × 5 grid are averaged over time and used to form a two-dimensional polynomial that is evaluated at (r, c) . Specifically, the system of equations
M !
l=1
ckoffset,lYl(u, v) = ⟨Xk(∆xu,v, ∆yu,v)⟩t, u, v = 1, . . . 5
is solved, for each kth term in the pixel polynomial, for the least-squared coefficients ck offset,l where Yl(u, v) are the M polynomial basis function for this offset polynomial. Yl(u, v) may or may not be the same as the basis functions Xk(∆x, ∆y) for the pixel polynomial representations above. The time-averaged value of the offset basis function at pixel (r, c) is then given by the polynomial evaluation (after a suitable transformation to make sure that (u, v) and (r, c) are in the same coordinate units)
⟨Xk(∆xr,c, ∆yr,c)⟩t= M ! l=1 ck offset,lYl(r, c) . (3)
We can now finally write the complete formula for the brightness of each pixel in our synthetic FFI: pr,c(t) = N ! k=1 cr,cccd,k⟨Xk(∆xr,c, ∆yr,c)⟩t∆t, (4)
which is built from equations (2) and (3). Once the time-averaged offsets are computed, as described in the next section, equation (4) is evaluated pixel by pixel to generate the
Design Note No: KADN-26108 Rev: 0.1 Date: 3/5/2006 Title: Target Optimal Aperture Selection
Author: Steve Bryson
complete FFI. This FFI is completed by including the effects of spill-over of saturated pixels, charge-transfer, smear and zodiacal light.
2.4
Computing the Target Images
We need to compute images due solely to each target on squares of 11 × 11 pixels, one for each target. The flux from any particular target with flux f will fall on a single pixel (r, c) at a particular sub-pixel location α. In this case the convolution (1) reduces to simply multiplying the pixel coefficients cα,i,jpix,k by the taget flux f, with the effect of creating a copy of the pixel response function (defined itself on an 11 × 11 array) for this sub-pixel location scaled by the target flux. Then the pixel brightness formula corresponding to equation (1) becomes
pi,j = N !
k=1
cα,i,jpix,kf Xk(∆x, ∆y) . If we define
ci,jtarget,k = c α,i,j pix,kf,
then we have the polynomial expression for the target image brightness pr,c evaluated over the time-averaged motions as in equation (4)
pi,j = N !
k=1
ci,jtarget,k⟨Xk(∆xr,c, ∆yr,c)⟩t.
We do not need to perform the sum over the sub-pixel locations because f is non-zero for only the target’s sub-pixel location α, so all other sub-pixel locations do not contribute.
3
Determining the Optimal Aperture
Once the synthetic FFIs, one with and the other without targets, are available, we are in a position to determine the pixels that optimize the SNR for each target. First we subtract the target-only FFI from the module output FFI, providing a background-only FFI. For each target, the 11 × 11 pixel image around each target is extracted from each FFI type. The pixel values ptarget in the taget-only image define the signal of each pixel, while the pixel
KPO@AMES DESIGN NOTE
Design Note No: KADN-26108 Rev: 0.1 Date: 3/5/2006 Title: Target Optimal Aperture Selection
Author: Steve Bryson
Form KADN-26000 Rev - 1 Page 12 of 12
values pback in the image-only FFI provides the background signal. The SNR of each pixel is estimated as
SNR = $ ptarget
ptarget+ pback+ νread2 + νquant2
where νread is the read noise and νquant is the quantization noise. This formula includes the Poisson shot noise of the photon signals, which has a variance equal to the flux.
The SNR computed on the 11 × 11 pixel image is then summed in a way to estimate the collection of pixels which maximizes the SNR. This is done by, at each step of the sum, checking the remaining unsummed pixels and choosing the pixel that results in the greatest increase in SNR of the sum. Initially the summed SNR will increase, until dim pixels, which are dominated by noise, are added and the sum begins to decrease. The pixels included when the summed SNR reaches its maximum defines the optimal aperture. This approach is further discussed in Section 4.4 of KSOC-21008, ”Algorithm Theoretical Basis Document for the Science Operations Center”.
3.1
Treatment of Saturated Pixels
Saturated charge is spilled along columns, with the fraction of charge spilled up deter-mined by the saturationSpillUpFraction parameter obtained from FC constants. The frac-tion spilled down is 1 − saturafrac-tionSpillUpFracfrac-tion. If the saturated charge spills N pix-els, then N · saturationSpillUpFraction pixels are spilled up the column, and N · (1 − saturationSpillUpFraction) are spilled down the column. These pixel values are set to the saturation value in the synthetic image created by TAD/COA.
Because ground test indicates that the well depth and saturation spill direction varies across the focal plane, including variation within a module output, TAD adds a buffer to the optimal aperture for saturated targets. The buffer size is controlled by the input module parameter saturationSpillBufferSize. This buffer is applied equally up and down the column. This parameter is in the same units as saturationSpillUpFraction, so if the saturated charge spills N pixels, then the buffer extends N · saturationSpillBufferSize pixels both up and down the column. This buffer is added to the target’s optimal aperture, but the pixel values themselves are not changed. If the buffer size is smaller than the optimal aperture in either direction, then the buffer size is ignored in that direction.