Skip to content

Pipeline for Galaxy Clusters with Chandra X-ray Observations

Notifications You must be signed in to change notification settings

estevesjh/Xpipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xpipe3

A X-ray Chandra Code for Galaxy Clusters

The code has three operational steps: pre-process, imaging, analysis. The two last modes are depedent from the previous ones.

Prerequisites

  • CIAO - is the software package developed by the Chandra X-Ray Center for analysing data from the Chandra X-ray Telescope.

Before anything, you must always initialize the ciao environment.

ciao

Further, the CIAO package comes from with its own python dependencies and directories. So, at the first time CIAO initialization you should install the libraries bellow although we have already in your computer.

  • Astropy - It's used to manage the fits tables
  • [ConfigParser]

To install the depedencies, take a look at (https://cxc.harvard.edu/ciao/scripting/#install)

Setup the code

The script is config file base. In order to run the code, setup the ./Xpipe_Config.ini file.

Section [paths]: there are two paths, one to storage the X-ray Chandra data files and the other is for the outputs. Section [Files]: the input catalog Section [Columns]: set the columns names.

Section [Mode]: choose the steps to run the code. It is bolean True or False.

If [parallel], you might choose the number of cores and the number of jobs per time. The batchStart and batchMax parameters are integers values that are used as index in the input catalog.

In the file codes/main.py go to line 17 and change the header of the function getConfig. In the userConfigFile variable put the whole path of the ./Xpipe_Config.ini file.

Run the code

After all the steps above, you just run:

python codes/main.py

Authors

About

Pipeline for Galaxy Clusters with Chandra X-ray Observations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages