oslocyclotronlab / ompy

A python implementation of the Oslo method
https://ompy.readthedocs.io
GNU General Public License v3.0
7 stars 7 forks source link

Transition to Ultranest #205

Open vetlewi opened 1 year ago

vetlewi commented 1 year ago

The pymulitinest package relies on the user having multinest built and installed somewhere on their system. This adds unnecessary complexity when users installs OMpy. To avoid this issue I've rewritten the NormalizerNLD and NormalizerSimultan to use the Ultranest package, rather than pymultinest.

TODO: The way the lnlike function is implemented in NormalizerSimultan is very costly and not simple to vectorize. This should be rewritten to allow for vectorized calls. This will require some modification to the NormalizerGSF class too.

This PR will eventually be closing #204