aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--HOWTO_chandra_acis_analysis.txt35
-rw-r--r--README.md31
2 files changed, 22 insertions, 44 deletions
diff --git a/HOWTO_chandra_acis_analysis.txt b/HOWTO_chandra_acis_analysis.txt
index 25d3dbb..06b08af 100644
--- a/HOWTO_chandra_acis_analysis.txt
+++ b/HOWTO_chandra_acis_analysis.txt
@@ -1,37 +1,14 @@
-###########################################################
+##
## HOWTO
## Analyze Chandra ACIS data
##
## Weitian LI <liweitianux@gmail.com>
-## Updated: 2017-02-06
-###########################################################
-
-### Settings: {{{
-## directory:
-# chandra scripts:
-CHANDRA_SCRIPT_DIR="${HOME}/bin/chandra/scripts"
-# mass program dir:
-MASS_PROFILE_DIR="${HOME}/bin/chandra/mass_profile"
-
-## aliases:
-alias fitmass="${MASS_PROFILE_DIR}/fit_mass.sh"
-alias fitnfw="${MASS_PROFILE_DIR}/fit_nfw_mass mass_int.dat"
-alias fitsbp="${MASS_PROFILE_DIR}/fit_sbp.sh"
-alias fittp="${MASS_PROFILE_DIR}/fit_wang2012_model"
-alias calclxfx="${MASS_PROFILE_DIR}/calc_lxfx_simple.sh"
-alias getlxfx="${MASS_PROFILE_DIR}/get_lxfx_data.sh"
-### Settings: }}}
-
+## Updated: 2017-02-07
+##
-### Websites: {{{
-NED: http://ned.ipac.caltech.edu/forms/byname.html
-Chandra Chaser: http://cda.harvard.edu/chaser/dispatchOcat.do
-SIMBAD: http://simbad.u-strasbg.fr/simbad/
-nH tool: https://heasarc.gsfc.nasa.gov/cgi-bin/Tools/w3nh/w3nh.pl
-### }}}
+Step-by-step guide to analyze ACIS data:
-### Step-by-step guide to analyze ACIS data: {{{
(1) $ chandra_repro indir=. outdir=repro verbose=2
(2) $ cd repro; mkdir -p evt bkg img spc/profile mass;
(3) $ cd evt; ln -s ../acis*evt2.fits .;
@@ -147,7 +124,3 @@ nH tool: https://heasarc.gsfc.nasa.gov/cgi-bin/Tools/w3nh/w3nh.pl
check the region whether exceeds ccd edge, and answer y/n
check results in file 'cooling_results.txt' and 'csb_results.txt'
---
-### process }}}
-
-
-# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=txt: #
diff --git a/README.md b/README.md
index ad6ce69..374b073 100644
--- a/README.md
+++ b/README.md
@@ -70,19 +70,16 @@ Settings
Add the following settings to your shell's initialization file
(e.g., ``~/.bashrc`` or ``~/.zshrc``).
```
-# environment variables:
-export MASS_PROFILE_DIR="/path/to/mass_profile"
-export CHANDRA_SCRIPT_DIR="/path/to/script"
-# aliaes
-# ciao scripts
-alias chcld="${CIAO_SCRIPT_DIR}/chandra_collect_data_v3.sh"
-alias chr500="${CIAO_SCRIPT_DIR}/ciao_r500avgt_v3.sh"
-# mass_profile related
-alias fitmass="${MASS_PROFILE_DIR}/fit_nfwmass.sh"
+# Environment variables:
+export MASS_PROFILE_DIR="<path>/chandra-acis-analysis/mass_profile"
+export CHANDRA_SCRIPT_DIR="<path>/chandra-acis-analysis/scripts"
+
+# Handy aliases:
+alias fitmass="${MASS_PROFILE_DIR}/fit_mass.sh"
alias fitnfw="${MASS_PROFILE_DIR}/fit_nfw_mass mass_int.dat"
alias fitsbp="${MASS_PROFILE_DIR}/fit_sbp.sh"
-alias fitwang="${MASS_PROFILE_DIR}/fit_wang2012_model tcl_temp_profile.txt"
-alias calclxfx="${MASS_PROFILE_DIR}/calc_lxfx_wrapper.sh"
+alias fittp="${MASS_PROFILE_DIR}/fit_wang2012_model"
+alias calclxfx="${MASS_PROFILE_DIR}/calc_lxfx_simple.sh"
alias getlxfx="${MASS_PROFILE_DIR}/get_lxfx_data.sh"
```
@@ -92,7 +89,15 @@ Usage
See the doc ``HOWTO_chandra_acis_analysis.txt``
+Useful Links
+------------
+* [Chandra Chaser](http://cda.harvard.edu/chaser/)
+* [NED search by name](http://ned.ipac.caltech.edu/forms/byname.html)
+* [SIMBAD](http://simbad.u-strasbg.fr/simbad/)
+* [HEASARC nH tool](https://heasarc.gsfc.nasa.gov/cgi-bin/Tools/w3nh/w3nh.pl)
+
+
License
-------
-The tools are distributed under the **MIT license** unless otherwise declared.
-The documents are distributed under the ??? License (coming...).
+* The tools are distributed under the **MIT license** unless otherwise declared.
+* The documents are distributed under the ??? License (TBD).