Skip to content

Commit

Permalink
reproducibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sfomel committed Jan 16, 2025
1 parent abfad6a commit 817a227
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions book/carrot/fwi/adjoint/.rsfproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
uses=['sfspike', 'sfricker2', 'sfcat', 'sfput', 'sfacoustic1D', 'sfsmooth', 'sfacoustic1D_FWI_adj', 'sfgraph']
data=[]
size= 1219200
4 changes: 2 additions & 2 deletions book/carrot/fwi/adjoint/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Flow('vel_mid',['vel1','vel2', 'vel3','vel4'],'cat axis=1 ${SOURCES[1:-1]}')
Flow('vel','vel_mid','put label1=Distance unit1=m')


Flow(['rec','rec_all'],'src','acoustic1D vel=vel.rsf sx=10 rx=10 rec_all=${TARGETS[1]}' )
Flow(['rec','rec_all'],'src vel','acoustic1D vel=${SOURCES[1]} sx=10 rx=10 rec_all=${TARGETS[1]}' )

Flow('vel_ini','vel','smooth rect1=25')
Flow('vel_recover',['rec','vel_ini','src'],'acoustic1D_FWI_adj vel=${SOURCES[1]} src=${SOURCES[2]} sx=10 rx=10 niter=200' )
Expand All @@ -36,4 +36,4 @@ Result('vel_compare2','vel_compare2','graph title="Ture and recovered velocity w



End()
End()

0 comments on commit 817a227

Please sign in to comment.