Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Seitosh
Seitosh
Commits
58918405
Commit
58918405
authored
Apr 12, 2019
by
thomas.forbriger
Browse files
Merge branch 'master' of
ssh://gitserver//home/tforb/git.git/Seitosh
parents
feb78183
044204e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ts/croposp/tests/Makefile
View file @
58918405
...
...
@@ -20,6 +20,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ----
#
# run with pairwise noise signal:
#
# make all PAIRWISE=yes
#
# REVISIONS and CHANGES
# 06/02/2019 V1.0 Thomas Forbriger
#
...
...
@@ -33,6 +37,9 @@ all: compilation.pdf
CPSD_SET
=
1 2 3
CPSD_SET
=
1 2 3 4
# input data
CPSD_RAWSET
:=
$(CPSD_SET)
ALLPDF
=
PSD.pdf PSDraw.pdf
\
$(
addprefix
coherence_,
$(
addsuffix
.pdf,
$(CPSD_SET)
))
\
$(
addprefix
transfer_,
$(
addsuffix
.pdf,A B
))
\
...
...
@@ -172,6 +179,15 @@ CPSD_AMP3=100.
CPSD_AMP4
=
1.e-2
CPSD_AMPBG
=
10.
# test effect of pairwise coherent noise
ADDITIONAL
=
FILTERBG2
=
dif 0
ifdef
PAIRWISE
ADDITIONAL
=
cpsd2modX.bin
FILTERBG2
=
rem
CPSD_SET
=
1 3 4
endif
# modify white noise to channel specific frequency characteristic
cpsd1mod.bin
:
cpsd1raw.bin
printf
"fac
$(CPSD_AMP1)
\n
hpb 1.,2
\n
end
\n
"
\
...
...
@@ -189,7 +205,7 @@ cpsdbg1mod.bin: cpsdbgraw.bin
printf
"fac
$(CPSD_AMPBG)
\n
lp1 2.
\n
avg 0
\n
hpb 100.,4
\n
end
\n
"
\
| tidofi
-type
bin
-Type
bin
-v
-o
-cs
$@
$<
cpsdbg2mod.bin
:
cpsdbg1mod.bin
printf
"
dif 0.
\n
end
\n
"
\
printf
"
$(FILTERBG2)
\n
end
\n
"
\
| tidofi
-type
bin
-Type
bin
-v
-o
-cs
$@
$<
%.ascii
:
%.bin
...
...
@@ -202,13 +218,13 @@ DISCARDS=839.
--secondsf
$(DISCARDS)
$@
$<
# add common noise signal to channel specific noise floor
cpsd1add.bin
:
cpsd1modX.bin cpsdbg1modX.bin
cpsd1add.bin
:
cpsd1modX.bin cpsdbg1modX.bin
$(ADDITIONAL)
teseco
-v
-o
-a
-type
bin
-Type
bin
$@
$^
cpsd2add.bin
:
cpsd2modX.bin cpsdbg1modX.bin
cpsd2add.bin
:
cpsd2modX.bin cpsdbg1modX.bin
teseco
-v
-o
-a
-type
bin
-Type
bin
$@
$^
cpsd3add.bin
:
cpsd3modX.bin cpsdbg1modX.bin
teseco
-v
-o
-a
-type
bin
-Type
bin
$@
$^
cpsd4add.bin
:
cpsd4modX.bin cpsdbg2modX.bin
cpsd4add.bin
:
cpsd4modX.bin cpsdbg2modX.bin
$(ADDITIONAL)
teseco
-v
-o
-a
-type
bin
-Type
bin
$@
$^
# ----------------------------------------------------------------------
...
...
@@ -284,7 +300,7 @@ CPSD_CROPOSP_STDOPT=--verbose --overwrite --itype bin --trim \
CPSD_BINFILES
=
$(
addprefix
cpsd,
$(
addsuffix
.bin,
$(CPSD_SET)
))
# compile list of raw files (apparent instrumental noise and seismic
# background noise separately)
CPSD_RAWFILES
=
$(
addprefix
cpsd,
$(
addsuffix
mod.bin,
$(CPSD_SET)
bg1 bg2
))
\
CPSD_RAWFILES
=
$(
addprefix
cpsd,
$(
addsuffix
mod.bin,
$(CPSD_
RAW
SET)
bg1 bg2
))
\
# run complete analysis on the apparent seismometer output
$(addsuffix _out.xxx,$(OUTPUTS))
:
$(CPSD_BINFILES)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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