diff options
Diffstat (limited to 'mass_profile/shuffle_T.py')
-rwxr-xr-x | mass_profile/shuffle_T.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/mass_profile/shuffle_T.py b/mass_profile/shuffle_T.py deleted file mode 100755 index 24e7393..0000000 --- a/mass_profile/shuffle_T.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python - -import sys -import scipy - -output_file=open(sys.argv[2],'w') -for i in open(sys.argv[1]): - r,re,c,s=i.strip().split() - c=float(c) - s=float(s) - - if c>0 and s>0: - c1=-1 - while c1<=0: - c1=scipy.random.normal(0,1)*s+c - - output_file.write("%s\t%s\t%s\t%s\n"%(r,re,c1,s)) - |