Skip to content

How to use TV-regularization #13

Answered by AmirMardan
bshin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

To use TV regularization for FWI, you should have a dictionary in INPA with the name of 'tv' and keys as for example

inpa['tv'] = {
    'az': 0.0,  # regularizatin in the z-direction
    'ax': 0.2, # regularizatin in the x-direction
    'lambda_weight': 1e-4 # regularizatin weight
    }

If you want to use the Regularization class outside of the provided FWI in PyFWI, you first create the object as

regularization = Regularization(nx, # number of samples in the x-direction
                                nz, # number of samples in the z-direction
                                dx, # Spatial sampling rate in the x-direction
                                dz # Spatial sampling rate in t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bshin
Comment options

Answer selected by bshin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants