Closed bch0w closed 1 year ago
Hi Bryant,
This is probably not the exhaustive list but aside from the things you mentioned,
MEASURE_ADJ
fortran code. Some changes made accordingly.Config
class (ConfigMultiTaper
, ConfigWaveform
etc.)I'm currently using my own fork rdno/pyadjoint:py3. I've noticed that when we merged the exponentiated phase measurement, we forgot to reverse the adjoint source. That's fixed in my fork and I've added waveform_DD
measurement. I've also added support for computing anelastic adjoint sources although that feature needs some cleanup.
I can't speak for the others but I have no objection for the merge. Maintained, up-to-date and full-featured central repository would be a good thing because I don't think anyone is maintaining the computational-seismology
version. I'm not sure how you are planning to do it because it might introduce some breaking changes for Seisflows and Pyatoa. I'm willing to help if you need it.
Thanks for the response Ridvan! Awesome to hear about the tests and benchmarking.
All of this sounds like very useful additions to have in the central repository. Thanks for pointing me to your current fork. Maybe what I'll do is attempt to merge your version with mine locally to see how much work will be required to fix merge conflicts and get things working with Pyatoa.
If the conflicts are small I am happy to take care of them, but if they are large then maybe I will start a pull request with some major tasks outlined and we can work at it together.
Hi Ridvan (@rdno). Just notifying you that I've started on this package merge in the package_refactor
branch
https://github.com/adjtomo/pyadjoint/tree/package_refactor
I'm keeping the CHANGELOG
in that branch up to date. I've updated the Config
to match your fork. I also cleaned up the existing misfit functions, in particular I overhauled the multitaper misfit as it was pretty messy. The waveform and CC misfit functions have been benchmarked with the test data against your fork of pyadjoint.
Next up will be to benchmark the MTM changes, and then start incorporating the new misfit functions.
Closed with #8
There is a separate fork of PyAdjoint which contains a significant amount of development which is not present here. From what I can see these include double difference (DD) and exponentiated phase misfit functions. I think there are also a number of bug fixes in that branch that are not present here. Although I am not aware of specifics.
https://github.com/computational-seismology/pyadjoint/tree/dev
I was thinking we should try to merge these changes into this main repository so that they're accessible to all, and usable for a SeisFlows or Pyatoa workflow.
Looking through the commit history, @chukren @yanhuay @wjlei1990 @rdno are the main contributors. Questions for you all: