Code Monkey home page Code Monkey logo

Comments (3)

AlecThomson avatar AlecThomson commented on July 30, 2024

Hi @Jaswanth-Jza,

I think think this is a problem with the underlying multinest library. I've even found it can slow down further with more cores provided to it.

I've got PR #56 open which replaces this library with Bilby for far greater flexibility. It can dynamically switch between different fitting libraries. It uses Dynesty by default. Would you be willing to test this version of QU fitting?

It requires some minor changes to the model files, but allows for much greater flexibility and performance.

Cheers,
Alec

from rm-tools.

Jaswanth-Jza avatar Jaswanth-Jza commented on July 30, 2024

Hey @AlecThomson ,

Yes, I would definitely be willing to test the version of QU fitting with Dynesty!

With best wishes,
Jaswanth

from rm-tools.

AlecThomson avatar AlecThomson commented on July 30, 2024

Just a quick note @Jaswanth-Jza, Bilby allows you to choose a variety of samplers (see bibly docs, so long as you have the required ones installed (dynesty comes by default). I've also tested a bit using UltraNest, which seems to run slightly faster than Dynesty (but that may vary for different models or data). You can chose the sampler with the --sampler argument on the command line. You can even switch back to PyMultinest, if you really want to.

I forgot to mention, I've got examples of the new model files along with the PR #56. Particularly if you're using multi-component models, I'd encourage you to look at m4.py or m11.py. I've added in (thanks to bilby) the constraint that RM1 > RM2 and that frac_p_1 + frac_p_2 < 1. This prevents both multimodal results from labelling degeneracies, and unphysically high polarisation fractions.

from rm-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.