Commit 4d28877a authored by thomas.forbriger's avatar thomas.forbriger

croposp [FEATURE]: provide discrete cross-correlation of noise traces

parent e3dfc7a4
......@@ -28,6 +28,10 @@
#
# make cleanseed; make all FIXEDSEED=yes
#
# run with all time series being white noise
#
# make all UNIFORM=yes
#
# REVISIONS and CHANGES
# 06/02/2019 V1.0 Thomas Forbriger
# 18/09/2019 V1.1 provide fixed seed value on request to reproduce
......@@ -458,6 +462,31 @@ SNPSD_%.pdf: psdraw.xxx psd_out.xxx \
--match="(cpsd$$SIG)|(^PSD SYN$$SIG)|(NPSD SYN$$SIG)" \
--titfontsize="small" -v --grid -o $@ $^'
# ======================================================================
# cross correlation
cross%.bin: $(addprefix cpsd,$(addsuffix mod.bin,$(CPSD_SET) bg1))
cross -v -o --itype bin --otype bin \
$(patsubst cross%.bin,cpsd%mod.bin,$@) $^ $@
#
cross%psd.xxx: cross%.bin
croposp $(CPSD_OPT) --verbose --overwrite --itype bin --trim \
--pattern="%F_%NT" \
$(CPSD_CROPOSP_OPT) \
--datetolerance 0.1 \
--psd $@ $^
cross%psd.pdf: cross%psd.xxx
$(CROPOSPLOT) --title="$@ \n $(CPSD_CROPOSP_OPT)" \
--ylim=$(PSD_RANGE) \
$(CROPOSPLOT_OPT) \
--titfontsize='small' -v --grid -o $@ $^
crosscompilation.pdf: $(addprefix cross,$(addsuffix psd.pdf,$(CPSD_SET)))
pdfjam $^ \
--nup 2x2 --landscape --paper a4paper --scale 0.85 -o $@
#
# ======================================================================
# pattern rules for display
# ----------------------------------------------------------------------
# pattern rules for quick plots
# -----------------------------
......
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