ZH: update Makefile to use fig_dir args

This commit is contained in:
Eric Teunis de Boone 2023-01-12 14:59:00 +01:00
parent 8ec7ab05ed
commit 25a5539a81
2 changed files with 20 additions and 10 deletions

View file

@ -1,22 +1,32 @@
.PHONY: all
all: beacon clocks
FIG_DIR := ./figures
all: beacon clocks phases findks reconstruct
beacon:
./aa_generate_beacon.py
./aa_generate_beacon.py > figures/aa.log
./ab_modify_clocks.py 0 > figures/ab.log
./ac_show_signal_to_noise.py --no-show-plots --fig-dir=${FIG_DIR}
clocks:
./ab_modify_clocks.py
./ab_modify_clocks.py 15
phases:
./ba_measure_beacon_phase.py
./bb_measure_true_phase.py
./bc_baseline_phase_deltas.py
./bd_antenna_phase_deltas.py
./ba_measure_beacon_phase.py --no-show-plots --fig-dir=${FIG_DIR}
./bb_measure_true_phase.py --no-show-plots --fig-dir=${FIG_DIR}
./bc_baseline_phase_deltas.py --no-show-plots --fig-dir=${FIG_DIR}
./bd_antenna_phase_deltas.py --no-show-plots --fig-dir=${FIG_DIR}
period_multiples:
./ca_periods_from_shower.py
findks:
./ca_period_from_shower.py --no-show-plots --fig-dir=${FIG_DIR}
./cb_report_measured_antenna_time_offsets.py --no-show-plots --fig-dir=${FIG_DIR}
reconstruct:
./da_reconstruction.py --no-show-plots --fig-dir=${FIG_DIR}
./db_longitudinal_figure.py --no-show-plots --fig-dir=${FIG_DIR}
dist-clean:
rm -f ZH_airshower/antennas.hdf5

View file

@ -30,4 +30,4 @@ Steps:
3. Find k\*2\\pi phase offsets (periods) ([./ca_periods_from_showers.py])
4. Rewrite clocks
4. Rewrite clocks and do interferometric reconstruction ([./da_reconstruction.py])