Abekta

Nothing human is alien to me

User Tools

Site Tools


soft:ciao

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
soft:ciao [2023/03/13 08:56] – created - external edit 127.0.0.1soft:ciao [2024/12/04 06:11] (current) asad
Line 1: Line 1:
-====== CIAO & CALDB ====== +====== CIAO ======
-===== Install on Ubuntu 18.04 LTS using conda ===== +
-After installing [[https://docs.anaconda.com/anaconda/install/linux/|anaconda3 in Ubuntu]] 18.04 LTS, follow https://cxc.cfa.harvard.edu/ciao/download/conda.html.+
  
-Here are the steps:+===== Install on Ubuntu 24.04 LTS using conda ===== 
 +<code bash [enable_line_numbers="true"]> 
 +conda create -n ciao-4.16 -c https://cxc.cfa.harvard.edu/conda/ciao -c conda-forge ciao pyciao sherpa ds9 ciao-contrib caldb_main marx python=3.11 
 +conda activate ciao-4.16 
 +pip uninstall pillow 
 +pip install --no-cache-dir pillow 
 +pip install astropy tqdm 
 +git clone https://github.com/bcalden/ClusterPyXT 
 +cd ~/ClusterPyXT 
 +python clusterpyxt.py --continue 
 +</code>
  
-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"+===== Brightness map ===== 
- +<code bash
-<code>conda create -n ciao-4.14 -c https://cxc.cfa.harvard.edu/conda/ciao -c conda-forge ciao sherpa ds9 ciao-contrib caldb marx</code+blanksky_image bkgfile='_background_clean.evtoutroot='_blankimgfile='_0.5-7_thresh.imgtmpdir=./ clobber=yes 
- +merge_obs 
-2. Activate the new conda environment: ''conda activate ciao-4.12'' +</code>
- +
-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: <code>python clusterpyxt.py --continue</code>.+
soft/ciao.1678719388.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki