Commit 4132ac71 authored by thomas.forbriger's avatar thomas.forbriger

ts/croposp: report test parameters

parent 0f1dca3b
......@@ -283,11 +283,6 @@ CPSD_BINFILES=$(addprefix cpsd,$(addsuffix .bin,$(CPSD_SET)))
# background noise separately)
CPSD_RAWFILES=$(addprefix cpsd,$(addsuffix mod.bin,$(CPSD_SET) bg1 bg2)) \
.PHONY: reportbin
reportbin: $(CPSD_BINFILES)
sigval -type bin \
-format "File %F: %NS samples, duration: %L" $^
# run complete analysis on the apparent seismometer output
$(addsuffix _out.xxx,$(OUTPUTS)): $(CPSD_BINFILES)
croposp $(CPSD_OPT) $(CPSD_CROPOSP_STDOPT) \
......@@ -437,4 +432,16 @@ SNPSD_%.pdf: psdraw.xxx psd_out.xxx \
%.pdp: %.pdf; evince $<; /bin/rm -fv $<
%.psp: %.ps; gv $<; /bin/rm -fv $<
REPORTVAR=echo $(1)=$($(1));
REPORTVARS=$(foreach var,$(1),$(call REPORTVAR,$(var)))
.PHONY: report
report: $(CPSD_BINFILES)
sigval -type bin \
-format "File %F: %NS samples, duration: %L" $^
@$(call REPORTVARS,CPSD_NSEGMENTS CPSD_DIVISOR CPSD_OVERLAP)
@$(call REPORTVARS,CPSD_PADFACTOR CPSD_AVGOUT CPSD_NLOG)
@$(call REPORTVARS,CPSD_LOG)
@$(call REPORTVARS,CPSD_DT CPSD_DUR RNGTYPE DISCARDS)
# ----- END OF Makefile -----
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment