setting up for analyses involving different error fits to exist in parallel

This commit is contained in:
caes 2016-07-26 17:40:36 -04:00
parent 7842e3fa99
commit bf59e91a82

View File

@ -22,10 +22,10 @@ mkdir -p analyses/plots
for analysis in analyses/* for analysis in analyses/*
do do
# Grab and determine labels of analyses, skip if over the same band. # Grab and determine labels of analyses, skip if over the same band.
ref_band=$(basename $analysis|sed 's@[^≻]*_≻_\([^≻_]*\)_[^_]*@\1@') ref_band=$(basename $analysis|sed 's@[^≻]*_≻_\([^≻_]*\)_[^_]*_[^_]*@\1@')
echo_band=$(basename $analysis|sed 's@\([^≻]*\)_≻_[^≻_]*_[^_]*@\1@') echo_band=$(basename $analysis|sed 's@\([^≻]*\)_≻_[^≻_]*_[^_]*_[^_]*@\1@')
if [[ $ref_band == $echo_band ]]; then continue; fi if [[ $ref_band == $echo_band ]]; then continue; fi
err_type=$(basename $analysis|sed 's@[^≻]*≻[^≻_]*_[^_]\(σ∊[CLM][MFC]\)*@\1@') err_type=$(basename $analysis|sed 's@[^≻]*__[^≻_]*_[^_]*_\(σ∊[CLM][MFC]\)@\1@')
# Prepare files # Prepare files
echo "Plotting PSD and time lags for $echo_band, referred to ${ref_band}." echo "Plotting PSD and time lags for $echo_band, referred to ${ref_band}."