mirror of
https://asciireactor.com/otho/psdlag-agn.git
synced 2024-11-21 22:25:07 +00:00
added some argument files
This commit is contained in:
parent
6e9b08523b
commit
f4475ee01e
@ -4,18 +4,23 @@
|
|||||||
# the analyses. Parameters that this script should control: Δt, σ type, input
|
# the analyses. Parameters that this script should control: Δt, σ type, input
|
||||||
# dataset(lightcurve directory), more?
|
# dataset(lightcurve directory), more?
|
||||||
|
|
||||||
ref_band=
|
ref_band=$(cat ref_band)
|
||||||
|
ref_curve="/lightcurves/${ref_band}.lc"
|
||||||
|
err_str=$(cat err_type)
|
||||||
|
|
||||||
mkdir -p analyses/tables
|
mkdir -p analyses/tables
|
||||||
|
|
||||||
#for analysis in analyses/*
|
#for analysis in analyses/*
|
||||||
for echo_curve in $lc_dir/*
|
for echo_curve in "lightcurves/*"
|
||||||
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|')
|
echo_band=$(basename $echo_curve|sed 's|\(.*\)\.lc|\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_str=$(basename $analysis|sed 's|[^≺]*[_ ]≺[_ ][^≺_ ]*[_ ]{[^_ ]*;\(σ∊[CLM][MFC]\)}|\1|')
|
|
||||||
|
echo "Running analysis for $echo_band ≺ $ref_band"
|
||||||
|
|
||||||
|
python scripts/analyze_lightcurve.py "$ref_curve $echo_curve" >> "analyses/${ref_band}_≺_${echo_band}"
|
||||||
|
scripts/extract_tables.pl
|
||||||
|
|
||||||
echo "Tabling PSD and time lags referred to ${ref_band} for $echo_band{${err_str}}."
|
echo "Tabling PSD and time lags referred to ${ref_band} for $echo_band{${err_str}}."
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user