aboutsummaryrefslogtreecommitdiffstats
path: root/mass_profile/calc_all_entropy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mass_profile/calc_all_entropy.sh')
-rwxr-xr-xmass_profile/calc_all_entropy.sh39
1 files changed, 0 insertions, 39 deletions
diff --git a/mass_profile/calc_all_entropy.sh b/mass_profile/calc_all_entropy.sh
deleted file mode 100755
index 5506ab8..0000000
--- a/mass_profile/calc_all_entropy.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/env bash
-
-if [ $# -eq 1 ]
-then
- :
-else
- echo "Usage: <global.cfg list file>"
- exit
-fi
-
-bdir=`pwd`
-
-for i in `cat $1`
-do
- dname=`dirname $i`
- #dname=`dirname $dname`
- echo $dname
- cd $dname ||continue
-# mkdir -p profile_entropy
-# cp -rf profile/* profile_entropy/
-# cd profile/
-
- [ -e result ] && r200file=result
- [ -e result ] || r200file=result_checked
-
- r200=`grep r200 $r200file|awk -F = '{print $2}' |awk -F '-' '{print $1}'`
- rout=`python -c "print($r200*.1)"`
- echo $rout
- if grep n01 source.cfg >/dev/null
- then
- echo "dbeta"
- fit_dbeta_entropy.sh global.cfg $rout
- else
- echo "beta"
- fit_beta_entropy.sh global.cfg $rout
- fi
-
- cd $bdir
-done