From c0004fdab23d485478adc0fb4a9fc7619c2da441 Mon Sep 17 00:00:00 2001 From: caes Date: Thu, 4 Aug 2016 14:07:46 -0400 Subject: [PATCH] fixed some scripts and changed 1497 init params --- scripts/analyze_lightcurves.sh | 2 +- scripts/fix_thor_names.sh | 6 ++++-- scripts/templates/psd_freq.gp | 4 +++- scripts/templates/timelag_compare.gp | 3 ++- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/scripts/analyze_lightcurves.sh b/scripts/analyze_lightcurves.sh index 6c85094..36e5ce3 100755 --- a/scripts/analyze_lightcurves.sh +++ b/scripts/analyze_lightcurves.sh @@ -50,7 +50,7 @@ do initial_params="$refpsd_params 6.534e-02 -9.689e-02 -1.175e+00 -1.525e+00 -2.167e+00 -2.492e+00 -3.258e+00 -1.115e+01 6.378e-02 -9.676e-02 -1.181e+00 -1.520e+00 -2.180e+00 -2.532e+00 -3.129e+00 -3.794e+00 -8.535e-05 -5.126e-04 -4.066e-04 1.080e-03 -2.682e-03 -5.462e-03 -2.209e-02 1.564e-01" ;; "1479Å") - initial_params="$refpsd_params 1.224e-01 -7.607e-02 -1.174e+00 -1.500e+00 -2.075e+00 -2.554e+00 -3.337e+00 -1.152e+01 9.340e-02 -8.842e-02 -1.173e+00 -1.512e+00 -2.113e+00 -2.547e+00 -3.178e+00 -7.000e+00 -6.035e-02 2.044e-02 1.258e-01 5.764e-02 2.580e-02 -4.737e-02 9.579e-02 6.411e-01" + initial_params="$refpsd_params 0.2e+00 -0.2e+00 -1.0e+00 -1.500e+00 -2.0e+00 -2.6e+00 -3.4e+00 -6e+00 9.340e-02 -8.842e-02 -1.173e+00 -1.512e+00 -2.113e+00 -2.547e+00 -3.178e+00 -7.000e+00 -6.035e-02 2.044e-02 1.258e-01 5.764e-02 2.580e-02 -4.737e-02 9.579e-02 6.411e-01" ;; "1746Å") initial_params="$refpsd_params 3.934e-02 -1.638e-01 -1.339e+00 -1.655e+00 -2.232e+00 -2.793e+00 -4.025e+00 -1.072e+01 5.043e-02 -1.304e-01 -1.254e+00 -1.587e+00 -2.207e+00 -2.693e+00 -3.209e+00 -3.820e+00 3.040e-02 2.438e-02 1.450e-01 1.458e-01 1.772e-01 2.076e-01 -1.390e-01 3.929e-01" diff --git a/scripts/fix_thor_names.sh b/scripts/fix_thor_names.sh index 64126d5..782bb82 100755 --- a/scripts/fix_thor_names.sh +++ b/scripts/fix_thor_names.sh @@ -8,12 +8,14 @@ do new_name=$(basename $analysis| #sed 's|_\([0-9]\+\)|\(𝛌=\1|g'| sed 's|_|≺|'| + sed 's|A|Å|'| + sed 's|A_|Å%|'| sed 's|_|{|'| sed 's|_|;|'| + sed 's|_||g'| #sed 's|_|}|'| - sed 's|A|Å|'| - sed 's|A|Å_|'| sed 's|≺|_≺_|'| + sed 's|Å%|Å_|'| sed 's|Δt|Δt=|'| sed 's|err|σ∊|')} mv $analysis analyses/$new_name diff --git a/scripts/templates/psd_freq.gp b/scripts/templates/psd_freq.gp index 4b93bd3..9b595e7 100644 --- a/scripts/templates/psd_freq.gp +++ b/scripts/templates/psd_freq.gp @@ -1,7 +1,9 @@ # This method assumes y values are in logarithm units already. -set terminal png +set terminal pngcairo set output "%OUTPUTFILE" +set termoption dash +set termopt enhanced set title "%TITLE\n{/*0.7 %SUBTITLE}" set xlabel "Temporal Frequency [days^{-1}]" diff --git a/scripts/templates/timelag_compare.gp b/scripts/templates/timelag_compare.gp index 4a02c97..53027cb 100644 --- a/scripts/templates/timelag_compare.gp +++ b/scripts/templates/timelag_compare.gp @@ -1,5 +1,6 @@ -set terminal png +set terminal pngcairo set termoption dash +set termopt enhanced set output "%OUTPUTFILE" set encoding utf8