Giter Club home page Giter Club logo

Comments (3)

Jammy2211 avatar Jammy2211 commented on May 28, 2024

Can we get the same behaviour in the mn.results file as well please, e.g.:

Most likely model, Likelihood = -907.8382937977524

lens_galaxies_centre_0 0.19573176832840064
lens_galaxies_centre_1 0.19923901268445918
lens_galaxies_axis_ratio 0.6554272992780258
lens_galaxies_phi 48.864722953151094
lens_galaxies_intensity 4.698431504911321
lens_galaxies_effective_radius 0.7158275361585597
lens_galaxies_sersic_index 1.2836807145327842

Most probable model (3 sigma limits)

lens_galaxies_centre_0 0.19770748860335258 (0.17397608863648606, 0.220682382196918)
lens_galaxies_centre_1 0.1983145124571254 (0.17153659593590487, 0.2222334906305835)
lens_galaxies_axis_ratio 0.6671307764649962 (0.6075911538832601, 0.7272060087355026)
lens_galaxies_phi 49.74572189249093 (42.956474000364324, 56.42109228240668)
lens_galaxies_intensity 4.794916952666867 (4.292129342251902, 5.3771730829055375)
lens_galaxies_effective_radius 0.7114743882138115 (0.6621727780484826, 0.7562486275920406)
lens_galaxies_sersic_index 1.2608646786328517 (1.109042511547221, 1.397308609132132)

Most probable model (1 sigma limits)

lens_galaxies_centre_0 0.19770748860335258 (0.18948284147288397, 0.20616383232816002)
lens_galaxies_centre_1 0.1983145124571254 (0.18989255272462133, 0.20715744737725034)
lens_galaxies_axis_ratio 0.6671307764649962 (0.6469599177419685, 0.6874775870576912)
lens_galaxies_phi 49.74572189249093 (47.52210549978952, 51.95277627369898)
lens_galaxies_intensity 4.794916952666867 (4.593224874165465, 4.968905048457163)
lens_galaxies_effective_radius 0.7114743882138115 (0.6961736250208904, 0.728792195323988)
lens_galaxies_sersic_index 1.2608646786328517 (1.2128538031402123, 1.3135953819633608)

Constant:

SphericalIsothermal

lens_galaxies_centre_0 0.0
lens_galaxies_centre_1 1.0
lens_galaxies_einstein_radius 1.0

from pyautolens.

Jammy2211 avatar Jammy2211 commented on May 28, 2024

Think this was working, and is now not working again! :P

from pyautolens.

Jammy2211 avatar Jammy2211 commented on May 28, 2024

Check out the integration test constant_floats to see what I mean.

In fact, there is some very weird behaviour going on in this test. Certain parameters appear correctly in model.info, and certain parameters (e.g. axis ratio and effective_radius) are not using the float they're set but the default value in the class constructor instead (EllipticalSersic).

from pyautolens.

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.