Closed jlmaurer closed 1 year ago
@kmaterna I'm getting a funny error related to the I2 calculation when running delaunay (see the tutorial notebook in this PR). Any ideas on whats going on with that?
Ah, working on it. Right away I can see that the last of my commits in the branch you're working shows me un-commenting one of the output lines that is probably causing the error.
It think it's a stupid bug. I wrote a single function meant to perform operations on 2D arrays, 1D arrays, and scalars, but probably didn't fully test it. I'll let you know when it's fixed.
@jlmaurer fixed with two commits just now. Found three simple typos that had just clearly never been on a testing path (e.g., e2
instead of e2[i]
, and map_sacle
instead of map_scale
). Pushed two commits to my main branch if that's okay.
@kmaterna I added some todos to this, mainly because I wanted to very quickly see the weighted residual misfit norm, and seems like that's hard to do at the moment. I also updated the tutorial; I would like to add running a couple more methods and then the comparison script, but wanted to get some of the other issues out there first.
@jlmaurer I'll check this out soon when I get a chance and merge. Btw back on main, I added the misfit when write_metrics == 1 (both printed and written), and it was a beautiful idea.
Starting a draft PR with new methods and bettter descriptions.
Fixes #10