Commit 9a9e5b85 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

croposp [WP]: support scaling of background noise level in tests

parent 75436f07
......@@ -197,23 +197,23 @@ rawsig.ps: cpsd1raw.bin cpsd2raw.bin cpsd3raw.bin cpsd4raw.bin cpsdbgraw.bin
# modify white noise to channel specific frequency characteristic
cpsd1mod.bin: cpsd1raw.bin
printf "fac $(CPSD_AMP1)\nlpb 1.,2.\ndif 0\nend\n" \
printf "fac $(CPSD_AMP1)\nlpb 1.,2.\ndif 0\nend\n" \
| tidofi -type bin -Type bin -v -o -cs $@ $<
cpsd2mod.bin: cpsd2raw.bin
printf "fac $(CPSD_AMP2)\nint 0\navg 0end\n" \
printf "fac $(CPSD_AMP2)\nint 0\navg 0end\n" \
| tidofi -type bin -Type bin -v -o -cs $@ $<
cpsd3mod.bin: cpsd3raw.bin
printf "fac $(CPSD_AMP3)\nlpb 10.,2\nend\n" \
printf "fac $(CPSD_AMP3)\nlpb 10.,2\nend\n" \
| tidofi -type bin -Type bin -v -o -cs $@ $<
cpsd4mod.bin: cpsd4raw.bin
printf "fac $(CPSD_AMP4)\nhpb 100.0,2\nend\n" \
printf "fac $(CPSD_AMP4)\nhpb 100.0,2\nend\n" \
| tidofi -type bin -Type bin -v -o -cs $@ $<
cpsdbgmod.bin: cpsdbgraw.bin
printf "fac $(CPSD_AMPBG)\nlpb 2.,4\navg 0\nhp 200.,2\nend\n" \
printf "fac $(CPSD_AMPBG)\nlpb 2.,4\navg 0\nhpb 200.,2\nend\n" \
| tidofi -type bin -Type bin -v -o -cs $@ $<
# add common noise signal to channel specific noise floor
cpsd%addraw.bin: cpsd%mod.bin cpsdbgraw.bin
cpsd%addraw.bin: cpsd%mod.bin cpsdbgmod.bin
teseco -v -o -a -type bin -Type bin $@ $^
# modify sensor response
......
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