Commit 4281ab59 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

croposp [WP]: calibrate PSD with varying options against foutra

parent 81495caf
......@@ -261,14 +261,19 @@ CPSD_LOG=--log $(CPSD_NLOG)
CPSD_OPT=--DEBUG
CPSD_OPT=
OUTPUTS=psd npsd coherency transfer phase
$(addsuffix _out.xxx,$(OUTPUTS)): cpsd1.bin cpsd2.bin cpsd3.bin cpsd4.bin
CPSD_SET=1 2 3 4
CPSD_SET=1 2 3
CPSD_BINFILES=$(addprefix cpsd,$(addsuffix .bin,$(CPSD_SET)))
CPSD_CROPOSP_OPT=--nsegments=$(CPSD_NSEGMENTS) \
--divisor=$(CPSD_DIVISOR) \
--padfactor=$(CPSD_PADFACTOR) \
--overlap=$(CPSD_OVERLAP) $(CPSD_LOG)
$(addsuffix _out.xxx,$(OUTPUTS)): $(CPSD_BINFILES)
croposp $(CPSD_OPT) --verbose --overwrite --itype bin --trim \
$(CPSD_LOG) \
--pattern="%I" \
--nsegments=$(CPSD_NSEGMENTS) \
--divisor=$(CPSD_DIVISOR) \
--padfactor=$(CPSD_PADFACTOR) \
--overlap=$(CPSD_OVERLAP) \
$(CPSD_CROPOSP_OPT) \
--datetolerance 0.1 \
--psd psd_out.xxx \
--npsd npsd_out.xxx \
......@@ -283,18 +288,19 @@ psd%.001.asc: cpsd%.bin
-nsegments=20 junk.xxx $^
psd%foutra.xxx: psd%.001.asc
printf "# #1: %s\n" $< > $@
printf "# #1: foutra (reference): %s\n" $< > $@
cat $< >> $@
PSD.pdf: psd_out.xxx psd1foutra.xxx psd2foutra.xxx \
psd3foutra.xxx psd4foutra.xxx
$(CROPOSPLOT) -v --grid -o $@ $^
CPSD_REFFILES=$(addprefix psd,$(addsuffix foutra.xxx,$(CPSD_SET)))
PSD.pdf: psd_out.xxx $(CPSD_REFFILES)
$(CROPOSPLOT) --title="$@ $(CPSD_CROPOSP_OPT)" -v --grid -o $@ $^
%.pdf: %_out.xxx
$(CROPOSPLOT) -v --grid -o $@ $<
$(CROPOSPLOT) --title="$@ $(CPSD_CROPOSP_OPT)" -v --grid -o $@ $<
%_lin.pdf: %_out.xxx
$(CROPOSPLOT) -v --grid --nology -o $@ $<
$(CROPOSPLOT) --title="$@ $(CPSD_CROPOSP_OPT)" -v --grid --nology -o \
$@ $<
%.pdp: %.pdf; evince $<; /bin/rm -fv $<
#
......
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