Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Seitosh
Seitosh
Commits
a7969b70
Commit
a7969b70
authored
Feb 12, 2019
by
thomas.forbriger
Browse files
croposp [WP]: extend test cases
parent
455038ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ts/croposp/Makefile
View file @
a7969b70
...
...
@@ -163,6 +163,7 @@ CPSD_SIGGENOPT=-v -o -n $(CPSD_NSAMPLESRAW) -d $(CPSD_DT) -T $(CPSD_DUR) -ot bin
CPSD_AMP1
=
1.e-3
CPSD_AMP2
=
1.e-4
CPSD_AMP3
=
3.e-3
CPSD_AMP4
=
3.e-3
CPSD_AMPBG
=
4.e-5
# location of plot tool
...
...
@@ -174,6 +175,8 @@ cpsd2raw.bin:
siggenx 12
$@
$(CPSD_SIGGENOPT)
-a
$(CPSD_AMP2)
cpsd3raw.bin
:
siggenx 12
$@
$(CPSD_SIGGENOPT)
-a
$(CPSD_AMP3)
cpsd4raw.bin
:
siggenx 12
$@
$(CPSD_SIGGENOPT)
-a
$(CPSD_AMP4)
# create time series for common noise signal
cpsdbgraw.bin
:
siggenx 12
$@
$(CPSD_SIGGENOPT)
-a
$(CPSD_AMPBG)
...
...
@@ -188,6 +191,9 @@ cpsd2mod.bin: cpsd2raw.bin
cpsd3mod.bin
:
cpsd3raw.bin
printf
"lpb 10.,2
\n
end
\n
"
\
| tidofi
-type
bin
-Type
bin
-v
-o
-cs
$@
$<
cpsd4mod.bin
:
cpsd4raw.bin
printf
"lpb 10.,2
\n
end
\n
"
\
| tidofi
-type
bin
-Type
bin
-v
-o
-cs
$@
$<
cpsdbgmod.bin
:
cpsdbgraw.bin
printf
"lpb 2.,4
\n
avg 0
\n
hp 200.,2
\n
end
\n
"
\
| tidofi
-type
bin
-Type
bin
-v
-o
-cs
$@
$<
...
...
@@ -201,6 +207,7 @@ CPSD_DATE=2018/12/16_14:24:16
CPSD_DATE1
=
$(CPSD_DATE)
.010980
CPSD_DATE2
=
$(CPSD_DATE)
.011050
CPSD_DATE3
=
$(CPSD_DATE)
.010760
CPSD_DATE4
=
$(CPSD_DATE)
.010760
CPSD_HDOPTS
=
-verbose
-overwrite
-itype
bin
-otype
bin
-ss
TST
-sa
XX
-sc
BHZ
cpsd1hd.bin
:
cpsd1add.bin
...
...
@@ -209,11 +216,14 @@ cpsd2hd.bin: cpsd2add.bin
sehefixx
$<
$@
$(CPSD_HDOPTS)
-st
$(CPSD_DATE2)
-si
SYN2
cpsd3hd.bin
:
cpsd3add.bin
sehefixx
$<
$@
$(CPSD_HDOPTS)
-st
$(CPSD_DATE3)
-si
SYN3
cpsd4hd.bin
:
cpsd4add.bin
sehefixx
$<
$@
$(CPSD_HDOPTS)
-st
$(CPSD_DATE4)
-si
SYN4
# extract inconsistent time windows
CPSD_TOPT1
=
-samplesf
3
-samplesl
7
CPSD_TOPT2
=
-samplesf
25
CPSD_TOPT3
=
-samplesl
81
CPSD_TOPT4
=
-samplesl
1
cpsd1.bin
:
cpsd1hd.bin
tijerasxx
-verbose
-overwrite
-iformat
bin
-oformat
bin
\
$(CPSD_TOPT1)
$@
$<
...
...
@@ -223,16 +233,21 @@ cpsd2.bin: cpsd2hd.bin
cpsd3.bin
:
cpsd3hd.bin
tijerasxx
-verbose
-overwrite
-iformat
bin
-oformat
bin
\
$(CPSD_TOPT3)
$@
$<
cpsd4.bin
:
cpsd4hd.bin
tijerasxx
-verbose
-overwrite
-iformat
bin
-oformat
bin
\
$(CPSD_TOPT4)
$@
$<
CPSD_NSEGMENTS
=
50
CPSD_NSEGMENTS
=
1
CPSD_OVERLAP
=
0.5
CPSD_DIVISOR
=
100
CPSD_PADFACTOR
=
5
CPSD_LOG
=
--log
10
CPSD_PADFACTOR
=
1
CPSD_NLOG
=
20
CPSD_LOG
=
--log
$(CPSD_NLOG)
OUTPUTS
=
psd npsd coherency transfer phase
$(addsuffix _out.xxx,$(OUTPUTS))
:
cpsd1.bin cpsd2.bin cpsd3.bin
$(addsuffix _out.xxx,$(OUTPUTS))
:
cpsd1.bin cpsd2.bin cpsd3.bin
cpsd4.bin
croposp
--DEBUG
--verbose
--overwrite
--itype
bin
--trim
\
$(CPSD_LOG)
\
--pattern
=
"%I"
\
--nsegments
=
$(CPSD_NSEGMENTS)
\
--divisor
=
$(CPSD_DIVISOR)
\
--padfactor
=
$(CPSD_PADFACTOR)
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment