Commit e3dfc7a4 authored by thomas.forbriger's avatar thomas.forbriger

croposp [FEATURE]: provide test based on white noise

parent 2e8e7613
......@@ -179,12 +179,31 @@ rawsig.ps: cpsd1raw.bin cpsd2raw.bin cpsd3raw.bin cpsd4raw.bin cpsdbgraw.bin
# and the bg-sequence as a representation of background ground noise to be
# common in all reacordings.
#
ifdef UNIFORM
# set amplitudes
CPSD_AMP1=1.
CPSD_AMP2=0.1
CPSD_AMP3=0.01
CPSD_AMP4=0.001
CPSD_AMPBG=10.
CPSD_FILTER1=rem
CPSD_FILTER2=rem
CPSD_FILTER3=rem
CPSD_FILTER4=rem
CPSD_FILTERBG=rem
FILTERBG2=rem
else
# set amplitudes
CPSD_AMP1=0.2
CPSD_AMP2=4.
CPSD_AMP3=100.
CPSD_AMP4=1.e-2
CPSD_AMPBG=10.
CPSD_FILTER1=hpb 1.,2
CPSD_FILTER2=hpb 4.,4\nlpb 2.,4
CPSD_FILTER3=lpb 100.,2
CPSD_FILTER4=rem
CPSD_FILTERBG=lp1 2.\navg 0\nhpb 100.,4
# test effect of pairwise coherent noise
ADDITIONAL=
......@@ -194,22 +213,23 @@ ADDITIONAL=cpsd2modX.bin
FILTERBG2=rem
CPSD_SET=1 3 4
endif
endif
# modify white noise to channel specific frequency characteristic
cpsd1mod.bin: cpsd1raw.bin
printf "fac $(CPSD_AMP1)\nhpb 1.,2\nend\n" \
printf "fac $(CPSD_AMP1)\n$(CPSD_FILTER1)\nend\n" \
| tidofi -type bin -Type bin -v -o -cs $@ $<
cpsd2mod.bin: cpsd2raw.bin
printf "fac $(CPSD_AMP2)\nhpb 4.,4\nlpb 2.,4\nend\n" \
printf "fac $(CPSD_AMP2)\n$(CPSD_FILTER2)\nend\n" \
| tidofi -type bin -Type bin -v -o -cs $@ $<
cpsd3mod.bin: cpsd3raw.bin
printf "fac $(CPSD_AMP3)\nlpb 100.,2\nend\n" \
printf "fac $(CPSD_AMP3)\n$(CPSD_FILTER3)\nend\n" \
| tidofi -type bin -Type bin -v -o -cs $@ $<
cpsd4mod.bin: cpsd4raw.bin
printf "fac $(CPSD_AMP4)\nend\n" \
printf "fac $(CPSD_AMP4)\n$(CPSD_FILTER4)\nend\n" \
| tidofi -type bin -Type bin -v -o -cs $@ $<
cpsdbg1mod.bin: cpsdbgraw.bin
printf "fac $(CPSD_AMPBG)\nlp1 2.\navg 0\nhpb 100.,4\nend\n" \
printf "fac $(CPSD_AMPBG)\n$(CPSD_FILTERBG)\nend\n" \
| tidofi -type bin -Type bin -v -o -cs $@ $<
cpsdbg2mod.bin: cpsdbg1mod.bin
printf "$(FILTERBG2)\nend\n" \
......
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