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
c1235797
Commit
c1235797
authored
Feb 15, 2019
by
thomas.forbriger
Browse files
croposp [WP]: add reference psd for tests
parent
eedb8d86
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ts/croposp/tests/Makefile
View file @
c1235797
...
...
@@ -156,14 +156,16 @@ CPSD_OPT=--DEBUG
CPSD_OPT
=
OUTPUTS
=
psd npsd coherency transfer phase
CPSD_SET
=
1 2 3 4
CPSD_SET
=
1 2 3
CPSD_SET
=
1 2 3 4
CPSD_BINFILES
=
$(
addprefix
cpsd,
$(
addsuffix
.bin,
$(CPSD_SET)
))
CPSD_RAWFILES
=
$(
addprefix
cpsd,
$(
addsuffix
mod.bin,
$(CPSD_SET)
bg
))
\
CPSD_CROPOSP_OPT
=
--nsegments
=
$(CPSD_NSEGMENTS)
\
--divisor
=
$(CPSD_DIVISOR)
\
--padfactor
=
$(CPSD_PADFACTOR)
\
--overlap
=
$(CPSD_OVERLAP)
$(CPSD_LOG)
$(addsuffix _out.xxx,$(OUTPUTS))
:
$(CPSD_BINFILES)
croposp
$(CPSD_OPT)
--verbose
--overwrite
--itype
bin
--trim
\
--pattern
=
"%I"
\
...
...
@@ -176,6 +178,13 @@ $(addsuffix _out.xxx,$(OUTPUTS)): $(CPSD_BINFILES)
--phase
phase_out.xxx
\
$^
psdraw.xxx
:
$(CPSD_RAWFILES)
croposp
$(CPSD_OPT)
--verbose
--overwrite
--itype
bin
--trim
\
--pattern
=
"%F"
\
$(CPSD_CROPOSP_OPT)
\
--datetolerance
0.1
\
--psd
$@
$^
psd%.001.asc
:
cpsd%.bin
foutra
-v
-o
-type
bin
-ASCII
=
$(
patsubst
cpsd%.bin,psd%,
$<
)
\
-power
-rbw
=
0.1
-demean
-detrend
-logascii
=
0.1
-avgascii
\
...
...
@@ -186,6 +195,11 @@ psd%foutra.xxx: psd%.001.asc
cat
$<
>>
$@
CPSD_REFFILES
=
$(
addprefix
psd,
$(
addsuffix
foutra.xxx,
$(CPSD_SET)
))
CPSD_RAWREFFILES
=
$(
addprefix
psd,
$(
addsuffix
modfoutra.xxx,
$(CPSD_SET)
bg
))
PSDraw.pdf
:
psdraw.xxx $(CPSD_RAWREFFILES)
$(CROPOSPLOT)
--title
=
"
$@
\n
$(CPSD_CROPOSP_OPT)
"
\
--titfontsize
=
'small'
-v
--grid
-o
$@
$^
PSD.pdf
:
psd_out.xxx $(CPSD_REFFILES)
$(CROPOSPLOT)
--title
=
"
$@
\n
$(CPSD_CROPOSP_OPT)
"
\
...
...
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