aboutsummaryrefslogtreecommitdiffstats
path: root/mod_ly/extract_tcool.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-06-07 22:38:20 +0800
committerAaron LI <aaronly.me@gmail.com>2016-06-07 22:38:20 +0800
commit5bbe958aa9c5b3ba98eee04c874bfd4be9836e26 (patch)
tree056235957d121447d8988388ae9ab8d5c41cd34a /mod_ly/extract_tcool.py
parentc5e35c06b0749641f91c5108e5007a63a4f1528d (diff)
downloadchandra-acis-analysis-5bbe958aa9c5b3ba98eee04c874bfd4be9836e26.tar.bz2
Remove obsolete scripts
Diffstat (limited to 'mod_ly/extract_tcool.py')
-rwxr-xr-xmod_ly/extract_tcool.py14
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)