René's URL Explorer Experiment


Title: Added Bayes benchmark script by alexhroom · Pull Request #105 · RascalSoftware/python-RAT · GitHub

Open Graph Title: Added Bayes benchmark script by alexhroom · Pull Request #105 · RascalSoftware/python-RAT

X Title: Added Bayes benchmark script by alexhroom · Pull Request #105 · RascalSoftware/python-RAT

Description: This PR fixes part of #92 by adding the Bayes benchmark script, which calculates the posterior distributions for a two- and three-dimensional example 'from scratch' and compares them to the distributions generated by the nested sampler and DREAM. The Python script is mostly similar in workflow to the MATLAB one, but the direct calculation of the posterior is vectorised and the module/function docstrings go into a little more detail on what is actually being done, for users who may not be familiar with the basics of Bayesian reflectivity analysis. This PR also fixes a minor issue with the plotting library - the axes on the contour plots were the wrong way around (but then were flipped to be correct on corner plots)!

Open Graph Description: This PR fixes part of #92 by adding the Bayes benchmark script, which calculates the posterior distributions for a two- and three-dimensional example 'from scratch' and compares them to the...

X Description: This PR fixes part of #92 by adding the Bayes benchmark script, which calculates the posterior distributions for a two- and three-dimensional example 'from scratch' and compares the...

Opengraph URL: https://github.com/RascalSoftware/python-RAT/pull/105

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:bd2ee884-908a-c230-ff3d-584fca02d517
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB83C:5B70B:101720:14CA1E:69920828
html-safe-noncea3d8a7b3ce520e0f8e9756d513931c1911ce48ab5e7318f1272b6a4c46c87844
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODNDOjVCNzBCOjEwMTcyMDoxNENBMUU6Njk5MjA4MjgiLCJ2aXNpdG9yX2lkIjoiMzE4MTc0MDc2OTk3MjE5MzMyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3766dc047a7a227309b315e9472e0effa4af3fe1941252e90f9c526b0df54568
hovercard-subject-tagpull_request:2234144936
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RascalSoftware/python-RAT/pull/105/files
twitter:imagehttps://avatars.githubusercontent.com/u/69592136?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/69592136?s=400&v=4
og:image:altThis PR fixes part of #92 by adding the Bayes benchmark script, which calculates the posterior distributions for a two- and three-dimensional example 'from scratch' and compares them to the...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/RascalSoftware/python-RAT git https://github.com/RascalSoftware/python-RAT.git
octolytics-dimension-user_id122092643
octolytics-dimension-user_loginRascalSoftware
octolytics-dimension-repository_id661644646
octolytics-dimension-repository_nwoRascalSoftware/python-RAT
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id661644646
octolytics-dimension-repository_network_root_nwoRascalSoftware/python-RAT
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RascalSoftware/python-RAT/pull/105/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRascalSoftware%2Fpython-RAT%2Fpull%2F105%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRascalSoftware%2Fpython-RAT%2Fpull%2F105%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RascalSoftware%2Fpython-RAT
Reloadhttps://github.com/RascalSoftware/python-RAT/pull/105/files
Reloadhttps://github.com/RascalSoftware/python-RAT/pull/105/files
Reloadhttps://github.com/RascalSoftware/python-RAT/pull/105/files
RascalSoftware https://github.com/RascalSoftware
python-RAThttps://github.com/RascalSoftware/python-RAT
Notifications https://github.com/login?return_to=%2FRascalSoftware%2Fpython-RAT
Fork 4 https://github.com/login?return_to=%2FRascalSoftware%2Fpython-RAT
Star 1 https://github.com/login?return_to=%2FRascalSoftware%2Fpython-RAT
Code https://github.com/RascalSoftware/python-RAT
Issues 4 https://github.com/RascalSoftware/python-RAT/issues
Pull requests 1 https://github.com/RascalSoftware/python-RAT/pulls
Actions https://github.com/RascalSoftware/python-RAT/actions
Projects 0 https://github.com/RascalSoftware/python-RAT/projects
Security 0 https://github.com/RascalSoftware/python-RAT/security
Insights https://github.com/RascalSoftware/python-RAT/pulse
Code https://github.com/RascalSoftware/python-RAT
Issues https://github.com/RascalSoftware/python-RAT/issues
Pull requests https://github.com/RascalSoftware/python-RAT/pulls
Actions https://github.com/RascalSoftware/python-RAT/actions
Projects https://github.com/RascalSoftware/python-RAT/projects
Security https://github.com/RascalSoftware/python-RAT/security
Insights https://github.com/RascalSoftware/python-RAT/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FRascalSoftware%2Fpython-RAT%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRascalSoftware%2Fpython-RAT%2Fissues%2Fnew%2Fchoose
alexhroomhttps://github.com/alexhroom
RascalSoftware:mainhttps://github.com/RascalSoftware/python-RAT/tree/main
Conversation 10 https://github.com/RascalSoftware/python-RAT/pull/105
Commits 10 https://github.com/RascalSoftware/python-RAT/pull/105/commits
Checks 7 https://github.com/RascalSoftware/python-RAT/pull/105/checks
Files changed https://github.com/RascalSoftware/python-RAT/pull/105/files
Please reload this pagehttps://github.com/RascalSoftware/python-RAT/pull/105/files
Added Bayes benchmark script https://github.com/RascalSoftware/python-RAT/pull/105/files#top
Show all changes 10 commits https://github.com/RascalSoftware/python-RAT/pull/105/files
dacee0b added bayes benchmark script alexhroom Dec 13, 2024 https://github.com/RascalSoftware/python-RAT/pull/105/commits/dacee0ba0389f1bc9d6bb624639b2bb415523a94
fedd7a6 better direct calculation histograms alexhroom Dec 13, 2024 https://github.com/RascalSoftware/python-RAT/pull/105/commits/fedd7a67ad38eb24f2957ca6950213959b7470c7
ae0f495 fixed scalefactor in 3d tests, added DREAM, and made histograms prettier alexhroom Dec 13, 2024 https://github.com/RascalSoftware/python-RAT/pull/105/commits/ae0f4953f1a94c86c1b01180fb7d288280c980cd
1b5471e fixed axes alexhroom Dec 13, 2024 https://github.com/RascalSoftware/python-RAT/pull/105/commits/1b5471ec7e076fa167d8f1a2ca22eb58a31d8517
ba65aec script uses new project and added jupyter notebook alexhroom Dec 16, 2024 https://github.com/RascalSoftware/python-RAT/pull/105/commits/ba65aecebbb3f519619402632043c9ba1992d1f5
afe03f5 fixed dimensions and added notebook alexhroom Dec 16, 2024 https://github.com/RascalSoftware/python-RAT/pull/105/commits/afe03f50dbc17bad5b33641218545e1a31a4de12
c1682be added contours to notebook alexhroom Dec 17, 2024 https://github.com/RascalSoftware/python-RAT/pull/105/commits/c1682be9790e5acbbf8b21feafa6a444595ecbd8
0454def minor fixes to plotting alexhroom Dec 17, 2024 https://github.com/RascalSoftware/python-RAT/pull/105/commits/0454defd7466fc36d6b6f656f12e985e7fc977ba
34c1b1f review fixes alexhroom Dec 19, 2024 https://github.com/RascalSoftware/python-RAT/pull/105/commits/34c1b1f17b5740eca245daa04fabb2fc02e02d23
fa0f5c5 review fixes alexhroom Jan 14, 2025 https://github.com/RascalSoftware/python-RAT/pull/105/commits/fa0f5c56ccf04fb6579d8ba4ed35c466b53f68a6
Clear filters https://github.com/RascalSoftware/python-RAT/pull/105/files
Please reload this pagehttps://github.com/RascalSoftware/python-RAT/pull/105/files
Please reload this pagehttps://github.com/RascalSoftware/python-RAT/pull/105/files
bayes_benchmark.ipynb https://github.com/RascalSoftware/python-RAT/pull/105/files#diff-3ed55c41be58e4f479af7218a20b51992345b6981e3093317fb141bc24e50b98
bayes_benchmark.py https://github.com/RascalSoftware/python-RAT/pull/105/files#diff-650aee0c6be9925649f8f850f7a0bd4ee0cdcb6c96e1c634bf44634472fae580
plotting.py https://github.com/RascalSoftware/python-RAT/pull/105/files#diff-2e3e35434ff217d67b0b822c2d3b2e6c2a14b75e51e20a6e430327e9a1624854
test_plotting.py https://github.com/RascalSoftware/python-RAT/pull/105/files#diff-b8aa68d38b59341f74e2277bc6fde44b917d597363ebfd7bf613743d7098a7ca
RATapi/examples/bayes_benchmark/bayes_benchmark.ipynbhttps://github.com/RascalSoftware/python-RAT/pull/105/files#diff-3ed55c41be58e4f479af7218a20b51992345b6981e3093317fb141bc24e50b98
View file https://github.com/RascalSoftware/python-RAT/blob/fa0f5c56ccf04fb6579d8ba4ed35c466b53f68a6/RATapi/examples/bayes_benchmark/bayes_benchmark.ipynb
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RascalSoftware/python-RAT/pull/105/{{ revealButtonHref }}
Please reload this pagehttps://github.com/RascalSoftware/python-RAT/pull/105/files
Please reload this pagehttps://github.com/RascalSoftware/python-RAT/pull/105/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.