After installing anaconda3 in Ubuntu 18.04 LTS, follow https://cxc.cfa.harvard.edu/ciao/download/conda.html.
Here are the steps:
1. Run the following code in a terminal to install ciao and caldb and some associated software in a conda environment named “ciao-4.14”.
conda create -n ciao-4.14 -c https://cxc.cfa.harvard.edu/conda/ciao -c conda-forge ciao sherpa ds9 ciao-contrib caldb marx
2. Activate the new conda environment: conda activate ciao-4.12
2. Then install astropy
, jupyter
, ipykernel
inside the ciao environment as:
conda install -n ciao-4.12 jupyter ipykernel astropy
3. Install git on Ubuntu: sudo apt-get install git
3. Download ClusterPyXT: git clone https://github.com/bcalden/ClusterPyXT
4. Go inside ClusterPyXT: cd ~/ClusterPyXT
5. Initialize the system: run python clusterpyxt.py
and it will ask two things: (1) CIAO installation directory (~/anaconda3/envs/ciao-4.12
), (2) data output directory.
6. Initialize a cluster: run python clusterpyxt.py
again, and answer the questions; type y/n if asked. Give the values of nH (Hydrogen column density), z, metal abundance (use 0.3 for solar abundance), and S/N (signal-to-noise ratio, use 5).
7. Download and process the cluster data:
python clusterpyxt.py --continue
.