Skip to content

Commit

Permalink
proper dunder names for figures
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Jun 10, 2024
1 parent 18dadd4 commit 460e9bc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions bin/lmtoy_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# some functions to share for lmtoy pipeline operations
# beware, in bash shell variables are common variables between this and the caller

lmtoy_version="6-apr-2024"
lmtoy_version="10-jun-2024"

echo "LMTOY>> lmtoy_functions $lmtoy_version via $0"

Expand Down Expand Up @@ -1403,17 +1403,17 @@ function lmtoy_bs1 {
echo "LMTOY>> process_bs.py --obs_list $obsnum --pix_list $pix_list --use_cal --block -1 --stype $stype --bank $bank -o $spec"
process_bs.py --obs_list $obsnum --pix_list $pix_list --use_cal --block -1 --stype $stype --bank $bank -o $spec
title="Spectrum LMT $instrument/$obspgm"
seq_spectra.py -t "$title" -y seq.spectra_${oid}.png $spec
seq_spectra.py -t "$title" -y seq.spectra_${oid}.svg $spec
seq_spectra.py -t "$title" -y seq.spectra__${oid}.png $spec
seq_spectra.py -t "$title" -y seq.spectra__${oid}.svg $spec
# QAC robust stats off the spectrum
out4=$(tabmath $spec - %2*1000 all | tabstat - qac=t robust=t label=$spec)
printf_red $out4
# tsys
dev=$(yapp_query png vps)
tabplot $spec ycol=3,4 ymin=0 ymax=400 xlab="VLSR (km/s)" ylab="Tsys (K)" yapp=tsys_${oid}.$dev/$dev
convert tsys_${oid}.$dev tsys_${oid}.jpg
tabplot $spec ycol=3,4 ymin=0 ymax=400 xlab="VLSR (km/s)" ylab="Tsys (K)" yapp=tsys__${oid}.$dev/$dev
convert tsys__${oid}.$dev tsys__${oid}.jpg
if [ -n "$NEMO" ]; then
echo "LMTOY>> Some NEMO post-processing"
Expand Down Expand Up @@ -1473,8 +1473,8 @@ function lmtoy_ps1 {
echo "LMTOY>> process_ps.py --obs_list $obsnum --pix_list $pix_list --use_cal --stype $stype --bank $bank -o $spec $sargs"
process_ps.py --obs_list $obsnum --pix_list $pix_list --use_cal --stype $stype --bank $bank -o $spec $sargs
title="Spectrum LMT $instrument/$obspgm"
seq_spectra.py -t "$title" -y seq.spectra_${oid}.png $spec
seq_spectra.py -t "$title" -y seq.spectra_${oid}.svg $spec
seq_spectra.py -t "$title" -y seq.spectra__${oid}.png $spec
seq_spectra.py -t "$title" -y seq.spectra__${oid}.svg $spec
# QAC robust stats off the spectrum in mK
out4=$(tabmath $spec - %2*1000 all | tabstat - qac=t robust=t label=$spec)
Expand Down

0 comments on commit 460e9bc

Please sign in to comment.