Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenSource
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Willem Thorbecke
OpenSource
Commits
bac43977
Commit
bac43977
authored
6 years ago
by
Jan Willem Thorbecke
Browse files
Options
Downloads
Patches
Plain Diff
adjust backpropagation for sample change in fdelmodc
parent
f1cbb852
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
marchenko/demo/oneD/backpropf2.scr
+8
-6
8 additions, 6 deletions
marchenko/demo/oneD/backpropf2.scr
with
8 additions
and
6 deletions
marchenko/demo/oneD/backpropf2.scr
+
8
−
6
View file @
bac43977
...
...
@@ -16,21 +16,23 @@ export OMP_NUM_THREADS=4
ns
=
1024
dtrcv
=
`
surange < f2.su |
grep
dt |
awk
'{print $2/1000000.0}'
`
suwind
key
=
gx
min
=
-2250000
max
=
2250000
itmax
=
1023 < f2.su
>
nep.su
shift
=
$(
echo
"scale=6; (
$dtrcv
*(
$ns
/2.0-1)+
0.5*
$dt
-0.000250
)"
| bc
-l
)
shift
=
$(
echo
"scale=6; (
$dtrcv
*(
$ns
/2.0-1)+
$dt
)"
| bc
-l
)
echo
$shift
basop
choice
=
shift shift
=
$shift
file_in
=
nep.su
verbose
=
1
>
pplus.su
# the f2.su is sampled with 4ms the FD program need 0.5ms
# time axis is interpolated by making use of FFT's: sinc interpolation
ftr1d
file_in
=
pplus.su
file_out
=
freq.su
sushw < freq.su
key
=
nhs,dt
a
=
8192,500
>
fr.su
ftr1d
file_in
=
fr.su
n1
=
8194
file_out
=
pplusdt.su
verbose
=
1
#
ftr1d file_in=pplus.su file_out=freq.su
#
sushw < freq.su key=nhs,dt a=8192,500 > fr.su
#
ftr1d file_in=fr.su n1=8194 file_out=pplusdt.su verbose=1
#backpropagate f2.su and collect snapshots
fdelmodc
\
file_cp
=
$file_cp
ischeme
=
1
iorder
=
4
\
file_den
=
$file_ro
\
file_src
=
pplusdt.su
\
file_src
=
pplus.su
\
dt
=
$dt
\
file_rcv
=
backprop_f2_z900.su
\
grid_dir
=
0
\
src_type
=
1
\
...
...
@@ -48,7 +50,7 @@ fdelmodc \
zrcv1
=
900
zrcv2
=
900
\
zsrc
=
0
xsrc
=
0
\
npml
=
101
\
file_snap
=
backpropf2.su
tsnap1
=
1.04
45
dtsnap
=
0.01
0
tsnap2
=
3.04
45
dxsnap
=
5
dzsnap
=
5
zsnap1
=
0
zsnap2
=
1250
xsnap1
=
-1000
xsnap2
=
1000
\
file_snap
=
backpropf2.su
tsnap1
=
1.04
0
dtsnap
=
0.01
tsnap2
=
3.04
0
dxsnap
=
5
dzsnap
=
5
zsnap1
=
0
zsnap2
=
1250
xsnap1
=
-1000
xsnap2
=
1000
\
sna_type_vz
=
0
\
sna_type_p
=
1
\
left
=
2
right
=
2
top
=
2
bottom
=
2
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment