GithubHelp home page GithubHelp logo

Comments (4)

jmbeckers avatar jmbeckers commented on July 25, 2024

You mean you want to know the final value of the different penalization terms for the final solution? I do not think we included that calculation yet.

from divand.jl.

JianghuiDu avatar JianghuiDu commented on July 25, 2024

Yes. That's what I mean. Would it be possible to divide the final H, R matrices into the components due to individual constrains? I thought the Hs and Rs were simply stacked but I'm not sure how to separate them.

from divand.jl.

jmbeckers avatar jmbeckers commented on July 25, 2024

H and R and not changed, they are fixed by yourself. What you could calculate at the end is the misfit estimate (H x - y)' inv(R) (H x - y). With the DIVAnd_residual you can do that calculation yourself if you want. DIVAnd_residualobs works with real observations and DIVAnd_residual with all constraints merged.

from divand.jl.

jmbeckers avatar jmbeckers commented on July 25, 2024

As far as I understand (also from the other discussion), what you would like is to have (H x - y)' inv(R) (H x - y) for real data and compare it to the misfit in the advection constraint.

DIVAnd_residualobs provides you with z= Hx-y for the real observations from where you easily have z'z/epsilon2.

In DIVAnd_residual , the first elements should be the same as in DIVAnd_residualobs (to check). So drop them and keep only the remaining values w. Since the advection constraint itself has no epsilon2 associated is implicitely is included in the residual. So simply calcule w'w and you should have the advection constraint misfit.

Untested on my side, so if it works out let us know.

from divand.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.