{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/digging-into-mud-with-python-mudpy-bdata-and","title":"Digging Into MUD With Python: mudpy, bdata, and bfit","arxiv_id":"2004.10395","date":"2020-04-22","proceeding":null,"authors":["Derek Fujimoto"],"abstract":"Used to store the results of $\\mu$SR measurements at TRIUMF, the Muon Data (MUD) file format serves as a useful and flexible scheme that is both lightweight and self-describing. The application programming interface (API) for these files is written in C and FORTRAN, languages not known for their ease of use. In contrast, Python is a language which emphasizes rapid prototyping and readability. This work describes three Python 3 packages to interface with MUD files and analyze their contents: mudpy, bdata, and bfit. The first enables easy access to the contents of any MUD file. The latter two are implemented specifically for the implanted-ion $\\beta$-detected NMR ($\\beta$-NMR) experiment at TRIUMF. These tools provide both an API and graphical user interface (GUI) to help users extract and fit $\\beta$-NMR data.","url_abs":"http://arxiv.org/abs/2004.10395v1","url_pdf":"http://arxiv.org/pdf/2004.10395v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"digging-into-mud-with-python-mudpy-bdata-and","repo_url":"https://github.com/dfujim/bdata","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"digging-into-mud-with-python-mudpy-bdata-and","repo_url":"https://github.com/dfujim/bfit","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"digging-into-mud-with-python-mudpy-bdata-and","repo_url":"https://github.com/dfujim/mudpy","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}