📄 testsd.test
字号:
#! /bin/sh# @(#)testsd.test 3.3 10/10/89 ESI# this is a test script for testsd (1-ESPS)ESPSCOM=./espscomexport ESPSCOMecho "1 2 3 4 3 2 1 -1" > ascecho " %testsd -a asc t1.sd"testsd -a asc t1.sdecho "The following listing should show sampled data of 1 2 3 4 3 2 1 -1:"echo " %psps t1.sd"psps t1.sdecho " "echo "check the contents of ESPS Common"echo " %cat espscom"cat espscomecho " "echo "Now do the same thing with standard input and make sure results are same"echo " %cat asc | testsd -a- t2.sd"cat asc | testsd -a- t2.sdecho " %pspsdiff t1.sd t2.sd"pspsdiff t1.sd t2.sdecho " "echo "Now generate 2 seconds of Gaussian data at 20,000 samples/sec"echo "stats should show approx 0 mean, 100 std.dev"echo " %testsd -Tgauss -s2 -r20000 -l100 - | stats -"testsd -Tgauss -s2 -r20000 -l100 - | stats -echo " "echo "Now produce one cycle of sine wave"echo " %testsd -Tsine -f1 -r50 -p51 -l100 - | psps -H -"testsd -Tsine -f1 -r50 -p51 -l100 - | psps -H -echo " "echo "Generate complex exponential; look at the following one cycle:"echo "testsd -Tsine -f1 -r50 -p51 -l100 -tdouble_cplx - | psps -H -"testsd -Tsine -f1 -r50 -p51 -l100 -tdouble_cplx - | psps -H -echo " "echo "Now generate pulses of size 20 spaced every fourth sample"echo " %testsd -Tpulses -f2000 -p21 -l20 - | psps -H -"testsd -Tpulses -f2000 -p21 -l20 - | psps -H -echo " "echo "Generate a decaying, swept pulse train; look at t2.sd"echo "testsd -Tpulses -C3000 -p6000 -d.1 t2.sd"testsd -Tpulses -C3000 -p6000 -d.1 t2.sd
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -