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
9ad02b4e
Commit
9ad02b4e
authored
Feb 13, 2019
by
thomas.forbriger
Browse files
croposp [WP]: confirm calibration of PSD by comparison with foutra
parent
a7969b70
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ts/croposp/Makefile
View file @
9ad02b4e
...
...
@@ -74,6 +74,7 @@ clean: ;
-
find
.
-name
\*
.bak | xargs
--no-run-if-empty
/bin/rm
-v
-
find
.
-name
\*
.d | xargs
--no-run-if-empty
/bin/rm
-v
-
/bin/rm
-vf
flist
*
.bin
*
.o
*
.xxx
*
.ps
*
.pdf
*
~
$(PROGRAMS)
-
/bin/rm
-vf
*
.asc
TESTCASEMAKE
=
$(
filter-out
%.bak,
$(
wildcard
testcases/Makefile
*
))
...
...
@@ -243,9 +244,11 @@ CPSD_DIVISOR=100
CPSD_PADFACTOR
=
1
CPSD_NLOG
=
20
CPSD_LOG
=
--log
$(CPSD_NLOG)
CPSD_OPT
=
--DEBUG
CPSD_OPT
=
OUTPUTS
=
psd npsd coherency transfer phase
$(addsuffix _out.xxx,$(OUTPUTS))
:
cpsd1.bin cpsd2.bin cpsd3.bin cpsd4.bin
croposp
--DEBUG
--verbose
--overwrite
--itype
bin
--trim
\
croposp
$(CPSD_OPT)
--verbose
--overwrite
--itype
bin
--trim
\
$(CPSD_LOG)
\
--pattern
=
"%I"
\
--nsegments
=
$(CPSD_NSEGMENTS)
\
...
...
@@ -260,6 +263,19 @@ $(addsuffix _out.xxx,$(OUTPUTS)): cpsd1.bin cpsd2.bin cpsd3.bin cpsd4.bin
--phase
phase_out.xxx
\
$^
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
\
-nsegments
=
20 junk.xxx
$^
psd%foutra.xxx
:
psd%.001.asc
printf
"# #1: %s
\n
"
$<
>
$@
cat
$<
>>
$@
PSD.pdf
:
psd_out.xxx psd1foutra.xxx psd2foutra.xxx
\
psd3foutra.xxx psd4foutra.xxx
$(CROPOSPLOT)
-v
--grid
-o
$@
$^
%.pdf
:
%_out.xxx
$(CROPOSPLOT)
-v
--grid
-o
$@
$<
...
...
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