Last modified: 18 January 2024

URL: https://cxc.cfa.harvard.edu/csc/why/err_ellipse_msc.html

Source Position Errors in the Master Sources Table


Summary

The position and 2-dimensional positional uncertainty of a source listed in the Master Sources Table represents the best estimate of the source position based on several independent measures, where the master sources table entry is the merged result of multiple stacked observation detections of the same source. To determine the best estimate of the position of a source from previous independent estimates of its position, we employ a 2-dimensional optimal weighting formalism to statistically average the detection positions resulting from the set of individual stacked observations of the source. We decided to use this technique because it offers an improved estimate of source position where simple averaging fails, e.g., where the area defining the detection position varies significantly from measure to measure. We express the uncertainties of the estimates in the form of error ellipses centered upon the estimated detection positions.

Input Ellipses and the Combined Ellipse

[green input ellipses and red combined error ellipse]
[Print media version: green input ellipses and red combined error ellipse]

Input Ellipses and the Combined Ellipse

An example of input ellipses (green) and the combined ellipse (red). The x and y values represent tangent plane coordinates.

The Stacked Observation Detections Table error ellipses that are combined to produce the best estimate error ellipse for the Master Sources Table entry are determined from the best-fitting ellipse to the position-uncertainty–fit-statistic surface computed from the MLE's Markov chain Monte Carlo (MCMC) draws, as described in the page "Source Position Errors in the Stacked Observation Detections Table".

The use of the multivariate optimal weighting formalism used in the CSC, described below, is discussed in John Davis' memo "Combining Error Ellipses".


Error Ellipses

Multivariate Optimal Weighting

The multivariate optimal weighting formalism used to combine error ellipses can be distilled to the following formula

X=σaσa1Xa , 

where Xa represents the ath estimate of the mean of the 2-dimensional source position, σa denotes the 2×2 covariance matrix associated with this estimate, and

σ=[aσa1]1 . 

Tangent Plane Projection

Before the covariance matrix, σ, may be computed—permitting the ellipses to be combined via the multivariate weighted sum—the error ellipses must be mapped from the celestial sphere onto a common tangent plane. The ath estimate of the source position is specified as a confidence-ellipse centered upon the celestial coordinate, (αa,δa), with the major axis making an angle θ (π;θ<π) with respect to the local line of declination at the center of the ellipse. The tangent plane coordinates (xa,ya) of the center of the ath ellipse are

xa=(p^ae^x)(p^ap^0) , ya=(p^ae^y)(p^ap^0) , 

where p^a is a unit-vector on the celestial sphere corresponding to the ath estimate of the celestial coordinate (αa,δa) defining the source position, given by

p^a=x^cosαacosδa+y^sinαacosδa+z^sinδa . 

Similar equations give the end-point positions p^aminor and p^amajor of the semi-minor and semi-major axes of each ellipse:

p^aminor=p^acosϕaminor+α^asinϕaminorcosθδ^asinϕaminorsinθ

and

p^amajor=p^acosϕamajor+α^asinϕamajorsinθδ^asinϕamajorcosθ , 

where ϕaminor is the arc-length of the semi-minor axis and ϕamajor is that of the semi-major axis.

p^0 denotes the position on the celestial sphere where a tangent plane is to be erected; p^0 is taken to be the arithmetic mean of the ellipse centers p^a, i.e.,

ap^a|ap^a| .

A coordinate system may be given to the tangent plane with the origin at p^0 and orthonormal basis vectors e^x and e^y parallel to the local lines of right ascension and declination at p^0, i.e.,

e^x=α^0=x^sinα0+y^cosα0

and

e^y=δ^0=x^sinδ0cosα0y^sinδ0sinα0+z^cosδ0 , 

where (α0,δ0) are the celestial coordinates that correspond to p^0.

The tangent plane coordinates that correspond to the end-point positions p^amajor and p^aminor of the semi-major and semi-minor axes of the ellipse are denoted by (xamajor,yamajor) and (xaminor,yaminor). The lengths of the semi-major and semi-minor axes in the tangent plane are given by

σ2=(xamajorxa)2+(yamajorya)2

and

σ1=(xaminorxa)2+(yaminorya)2 , 

respectively. Finally, the angle that the semi-major axis makes with respect to the local line of declination is

θa=tan1(xamajorxayamajorya)

Armed with these relations, it is easy to compute the tangent plane projections of the error ellipses.


Computing Covariance Matrices

Three of the parameters specifying the geometry of each projected error ellipse are the semi-major and semi-minor axis lengths, and the position angle θ that the major axis of the ellipse makes with respect to the tangent plane y-axis. The semi-major and semi-minor axis lengths correspond to the 1σ confidence intervals along these axes. More specifically, in a basis whose origin is at the center of the ellipse, and whose y-axis is along the major axis of the ellipse, the correlation matrix is

σ=[σ1200σ22] . 

Here, σ1 is the 1σ confidence value along the minor axis of the ellipse, and σ2 is that along the major axis (σ2σ1). The form of the covariance matrix σ in the unrotated system follows from

σ=RσR1 , 

where R is a rotation matrix that transforms a vector X to X=RX. Here, R is defined as

R=[cosθsinθsinθcosθ] , 

which yields

σ=[σ12cos2θ+σ22sin2θ(σ22σ12)cosθsinθ(σ22σ12)cosθsinθσ12sin2θ+σ22cos2θ] . 

At this point, the lengths of the semi-major and semi-minor axes of the source position error ellipses in the tangent plane, σ1 and σ2 defined at the end of the previous section, may be input to the covariance matrix, σ above, permitting the error ellipses to be combined via the multivariate weighted sum:

σ2=(xamajorxa)2+(yamajorya)2σ1=(xaminorxa)2+(yaminorya)2σ=[σ12cos2θ+σ22sin2θ(σ22σ12)cosθsinθ(σ22σ12)cosθsinθσ12sin2θ+σ22cos2θ]=σaX=σaσa1Xa . 

This process produces the geometric parameters of a combined 2-D error ellipse on the tangent plane (X), which are recorded in the "Source Position and Position Errors" fields err_ellipse_r0, err_ellipse_r1, and err_ellipse_ang in the Master Chandra Sources Table.