uafgeotools / mtuq

moment tensor uncertainty quantification
BSD 2-Clause "Simplified" License
67 stars 22 forks source link

Change to L2 misfit calculation #206

Open mikehagerty opened 1 year ago

mikehagerty commented 1 year ago

I've just finished following along with the 2022 MTUQ Virtual Workshop. I was able to reproduce all of the plots shown.

One thing I noticed is that, although my waveform fits and mechanisms were very similar, often my L2 misfit (as reported on the waveform plot) was ~1.4 - 2 times larger than what was shown in the workshop video.

I'm just curious - did the misfit calculation change (e.g., by factor of sqrt(2)) since the workshop ?

I know if I had enough patience I could dig through the commit history of the misfit module and try to figure it out, but I thought I'd just ask instead.

Thanks! -Mike

rmodrak commented 1 year ago

Offhand, I'm not aware of any changes to the misfit function itself that would cause results to differ by a constant factor. As a guess, data processing changes might be responsible? (e.g. changes to data processing code itself, to default or user supplied data processing parameters, or via the observed waveforms' time discretization)

I will troubleshoot and respond further in the next days or weeks.

Possibly useful for debugging: