Commit 47854b87 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

[TASK][DOC] (foutrai, testcase): provide time series plot

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.

provide a plot of the tapered time series in the testcase for foutra
parent af4f5b97
......@@ -44,7 +44,7 @@ edit: flist; vim $<
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist *.xxx *.xxx.* *.sff *.TZ *.TR *.grn *.su
-/bin/rm -vf *.ps *.pdf
-/bin/rm -vf *.ps *.pdf *.asc *.ascii
#----------------------------------------------------------------------
......@@ -65,6 +65,9 @@ soutifutests:
noise.xxx.ps: Makefile.foutra
/bin/rm -fv noise.xxx.*
$(MAKE) -f $< $@
noise.sig.xxx.ps: Makefile.foutra
/bin/rm -fv noise.xxx.*
$(MAKE) -f $< $@
harmspec.xxx.ps: Makefile.foutra
/bin/rm -fv sine?.xxx.sff
$(MAKE) -f $< $@
......
......@@ -42,7 +42,7 @@ NOISERMS=70.
NOISEDT=0.01
NOISET=500.
NOISEOPT=-logascii -avgascii -rbw=0.5
NOISEPROG=siggen
NOISEPROG=siggenx
NOISETYPE=14
NOISEDEBUG=
# NOISEOPT=-pad 5 -nsegments 5
......@@ -56,14 +56,16 @@ noise.xxx.fnycalc:
echo -e "0.5\n$(NOISEDT)\n/\np" > $@
noise.xxx.fny: noise.xxx.fnycalc
dc --file=$< > $@
noise.xxx.sff:
noise.xxx.ascii:
$(NOISEPROG) $(NOISETYPE) $@ $(NOISEDEBUG)\
-v -o -T $(NOISET) -d $(NOISEDT) -a $(NOISERMS)
noise.xxx.001.asc: noise.xxx.sff
-v -o -T $(NOISET) -d $(NOISEDT) -a $(NOISERMS) -ot ascii
noise.xxx.001.asc: noise.xxx.ascii
foutra -v -o -rms -ASCII=$(patsubst %.001.asc,%,$@) $(NOISEOPT) \
-power junk.xxx.sff $< \
| tee noise.xxx.log | grep rms-value > noise.xxx.rms
cat noise.xxx.log
noise.tap.xxx.ascii: noise.xxx.ascii
foutra -v -o -type ascii -Type ascii $@ $<
noise.xxx.gpt: noise.xxx.001.asc noise.xxx.fny
echo "set output 'noise.xxx.ps'" > $@
echo "set terminal postscript enhanced" >> $@
......@@ -80,6 +82,9 @@ noise.xxx.gpt: noise.xxx.001.asc noise.xxx.fny
echo "PSD t 'expected PSD'" >> $@
noise.xxx.ps: noise.xxx.gpt
gnuplot $<
noise.sig.xxx.ps: noise.xxx.ascii noise.tap.xxx.ascii
stuplox -d $@/ps -g -l 3,2,1 -h 1.2,1.2,1.5,1.2 -ty ascii \
-u counts -s x -i -Y 0.8 -c fin $^
#----------------------------------------------------------------------
# test foutra scaling for harmonic signals
......
Supports Markdown
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