Giter Site home page Giter Site logo

Comments (4)

tomasstolker avatar tomasstolker commented on July 17, 2024

I think that all the species-related points may have been addressed in the meanwhile.

For setting some of the MultiNest/UltraNest options, you can use the kwargs_multinest and kwargs_ultranest parameters in FitModel. You can have a look at the documentation pages of those packages for more details.

To look at the intermediate sampling results, you can have a look at the output folders from MultiNest/UltraNest.

In general, I would suggest to not add all data at once in case of a high SNR spectrum with broad wavelength range. Try to increase stepwise the complexity of the fit. Typically a fit shouldn't take longer than several minutes.

Point 8: if you leave out a parameter from bounds, then it will automatically set the available range from the grid in case the parameter is mandatory. So in this case I would just not include 'feh'. If you do want to check if the parameter is needed, then you can use get_parameters() or get_points() of ReadModel.

from species.

gabrielastro avatar gabrielastro commented on July 17, 2024

Thanks for your helpful tips!

  1. For the documentation of normal_prior of FitModel:
    "The parameter is not used if the argument is set to None."

    "A linear flat prior betwen the natural bounds is used for
    the parameters for which a prior was not set explicitly through bounds"
    or something like this would be more accurate.

  2. Indeed, Ctrl+C will not work for PyMultiNest, as Johannes Buchner explained. Avoiding mistakes is better 😉.

  3. Thanks!

  4. Indeed, the kwargs_* you added answer this!

  5. Ok, starting with small complexity and increasing sounds good.

  6. I do not get the warning anymore, so, thank you.

  7. If I am not mistaken, the priors (including parameter ranges) used for the fits are not stored in the database. Might this be a good idea, since they do make a difference? While at it, you could maybe add the number of likelihood evaluations or CPU time as a reminder of how expensive a good run was :).

  8. Thanks for pointing to those functions! Sorry for not being clear but I meant that I accidentally set a parameter that is not one of the grid parameters. This could either get ignored or, better, give a single error and stop, instead of keeping on printing the error message. But here again, the best solution is not to pass accidentally unneeded parameters 😉.

from species.

tomasstolker avatar tomasstolker commented on July 17, 2024

Consider it done! The priors are stored in the database as the bounds and normal_prior groups of the sampling results.

from species.

gabrielastro avatar gabrielastro commented on July 17, 2024

Excellent! Thank you. I will not wait for the next run to confirm it but thank you already 😉.

from species.

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.