diff options
author | Aaron LI <aaronly.me@gmail.com> | 2016-06-07 22:38:20 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@gmail.com> | 2016-06-07 22:38:20 +0800 |
commit | 5bbe958aa9c5b3ba98eee04c874bfd4be9836e26 (patch) | |
tree | 056235957d121447d8988388ae9ab8d5c41cd34a /mod_ly/extract_tcool.py | |
parent | c5e35c06b0749641f91c5108e5007a63a4f1528d (diff) | |
download | chandra-acis-analysis-5bbe958aa9c5b3ba98eee04c874bfd4be9836e26.tar.bz2 |
Remove obsolete scripts
Diffstat (limited to 'mod_ly/extract_tcool.py')
-rwxr-xr-x | mod_ly/extract_tcool.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/mod_ly/extract_tcool.py b/mod_ly/extract_tcool.py deleted file mode 100755 index 05c836b..0000000 --- a/mod_ly/extract_tcool.py +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env python - -import sys -rcool=float(sys.argv[1]) - -for l in open('cooling_time.dat'): - r,t=l.split() - r=float(r) - t=float(t) - if r>rcool: - print("cooling time at %f kpc=%f Gyr"%(rcool,t)) - print("rcool= %f kpc" % rcool) - print("cooling_time= %f Gyr @ %f kpc" % (t,rcool)) - sys.exit(0) |