Please see
https://www.nmr.mgh.harvard.edu/~koen/
.