You can skip this part if you are familiar with emission-weighted centre.
Here are what I use for this tutorial:
Source: MCXC J0106.8+0103
Observation ID: 0762870601
SAS Version: 19.0.0
Python version: 3
csh is used
I provide two scripts and simulated clusters in
EP_vs_EW.zip
.
In the folder src, one script is for generating simulated clusters, the other for calculating emission peak and emission-weighted centre. Note that the script cannot be used for calculating the emission-weighted centre of real data since masks are not accounted for. You can test by simulating clusters yourself and calculating the centres. If you want to calculate the emission-weighted centre of real data, you can use
pyproffit.
Before we move on to spectral fit, we first have to decide the cluster centre. There are two choices:
1) emission peak
2) emission-weighted centre
For emission peak, it is just the pixel with highest rate. For the emission-weighted centre, it is calculated this way:
where
The above equation is cited from
Mohr et al (1994)(Cosmological Constraints from Cluster X-ray Morphologies)
.
I simulated two clusters (already found in the downloadable file), one with beta model (left of Fig.1), the other one(right of Fig.1) with a linear model. The rate gets larger towards outer radius for the later. For the beta-model cluster in the left, both centres are in the central position of the image. For the linear-model cluster in the right, clearly the emssion peak is in the corners but the emission-weighted centre is the central position where the rate is 0.
Fig. 1: Left is a cluster generated with a beta model. Right is generated with a linear model with outer radii having a larger rate. For both clusters, the emission peaks are different but the emission-weighted centres are the same.
For relaxed clusters, the emission-weighted centre and the emission peak overlap but not disturbed clusters. There is not really a "correct" choice about which centre you should use. It mainly depends on what you want to do. If you are working on global properties like r500 temperature, luminosity ...etc, then it is expected that radial properties are more symmetric with respect to emission-weighted centre than emission peak. The emission peak marks the point of maximum potential well. So, if you are working on central properties like cooling time, the emission peak may be preferred.
Here are some examples of previous papers working on scaling relations (global properties). You may want to check them to understand better what you should use:
Poon et al(2023)
Scaling relations of X-ray luminous clusters in the Hyper Suprime-Cam Subaru Strategic Program field :
emission-weighted centre
Lovisari et al (2020)
X-Ray Scaling Relations for a Representative Sample of Planck-selected Clusters Observed with XMM-Newton:
emission peak
Lovisari et al (2015)
Scaling properties of a complete X-ray selected galaxy group sample,Section 3.1:
emission-weighted centre
Viklinin et al (2009)
Chandra Cluster Cosmology Project. II. Samples and X-Ray Data Reduction, p1039:
emission peak for relaxed clusters, emission-weighted centre for disturbed clusters