SATLAS2: An update to the package for analysis of counting data

IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Computer Physics Communications Pub Date : 2023-12-28 DOI:10.1016/j.cpc.2023.109053
W. Gins, B. van den Borne, R.P. de Groote, G. Neyens
{"title":"SATLAS2: An update to the package for analysis of counting data","authors":"W. Gins,&nbsp;B. van den Borne,&nbsp;R.P. de Groote,&nbsp;G. Neyens","doi":"10.1016/j.cpc.2023.109053","DOIUrl":null,"url":null,"abstract":"<div><p><span>SATLAS2 is a Python library that enables the user to fit counting data from laser spectroscopy<span> experiments, in particular those that measure atomic hyperfine structures. In this analysis, the user can choose how the uncertainties are treated and can also opt to generate a random walk in order to present a fuller picture of the parameter space. The major upgrade compared to the previous version of SATLAS </span></span><span>[1]</span><span><span> is the different architecture of the codebase, which enabled a performance boost, with speed-up factors ranging from 20 to 300 times for various use cases. For backward compatibility, a translation layer between the two architectures is available, implementing only the </span>core functionality of SATLAS.</span></p></div><div><h3>New version program summary</h3><p><em>Program Title:</em> SATLAS2</p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/3hr8f5nkhb.2</span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span>https://github.com/IKS-nm/satlas2</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> MIT</p><p><span><em>Programming language</em><em>:</em></span> Python</p><p><em>Journal reference of previous version:</em><span> Computer Physics Communications, Volume 222, 2018, Pages 286-294, ISSN 0010-4655, </span><span>https://doi.org/10.1016/j.cpc.2017.09.012</span><svg><path></path></svg></p><p><em>Does the new version supersede the previous version?:</em> Yes</p><p><em>Reasons for the new version:</em> Improved and more stable performance</p><p><em>Summary of revisions:</em> The architecture of the SATLAS package has been completely changed. Instead of operating on Models, using SumModel and LinkedModel for various analysis options, SATLAS2 works with a central Fitter object to which Sources get assigned, which themselves get assigned Models. This structure improves the performance by streamlining the code and benefits from using a <em>pass by reference</em> approach for changing the parameters, rather than a <em>pass by value</em>. Most of the functionality is maintained, with a small interface for most basic things available so SATLAS2 can be used as a drop-in replacement.</p><p><em>Nature of problem:</em> The analysis of specifically counting data has some special considerations compared to more common datasets with Gaussian-distributed uncertainties. Application of Bayesian inference through random walk exploration is useful for more accurate exploration of parameter space. The fitting of multiple models with shared parameters can be desirable for either fitting multiple datasets with the same parameters or imposing additional restrictions on the parameters.</p><p><em>Solution method:</em> SATLAS2 implements the correct statistical costs for fitting of both counting data and Gaussian distributed uncertainties, and allows an easy implementation of custom cost functions.. Through the implementation of multiple Sources and Models, a natural extension of the fitting is made, so multiple models can be both summed together to fit to the same data and multiple fits can be linked together through parameter linking, using the underlying LMFIT <span>[2]</span> library. The ability to fit simultaneously increases the possibilities for extensive statistical analyses, and the interface through LMFIT with the emcee <span>[3]</span> library enables Bayesian exploration of the parameter space.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"297 ","pages":"Article 109053"},"PeriodicalIF":7.2000,"publicationDate":"2023-12-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465523003983","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

SATLAS2 is a Python library that enables the user to fit counting data from laser spectroscopy experiments, in particular those that measure atomic hyperfine structures. In this analysis, the user can choose how the uncertainties are treated and can also opt to generate a random walk in order to present a fuller picture of the parameter space. The major upgrade compared to the previous version of SATLAS [1] is the different architecture of the codebase, which enabled a performance boost, with speed-up factors ranging from 20 to 300 times for various use cases. For backward compatibility, a translation layer between the two architectures is available, implementing only the core functionality of SATLAS.

New version program summary

Program Title: SATLAS2

CPC Library link to program files: https://doi.org/10.17632/3hr8f5nkhb.2

Developer's repository link: https://github.com/IKS-nm/satlas2

Licensing provisions: MIT

Programming language: Python

Journal reference of previous version: Computer Physics Communications, Volume 222, 2018, Pages 286-294, ISSN 0010-4655, https://doi.org/10.1016/j.cpc.2017.09.012

Does the new version supersede the previous version?: Yes

Reasons for the new version: Improved and more stable performance

Summary of revisions: The architecture of the SATLAS package has been completely changed. Instead of operating on Models, using SumModel and LinkedModel for various analysis options, SATLAS2 works with a central Fitter object to which Sources get assigned, which themselves get assigned Models. This structure improves the performance by streamlining the code and benefits from using a pass by reference approach for changing the parameters, rather than a pass by value. Most of the functionality is maintained, with a small interface for most basic things available so SATLAS2 can be used as a drop-in replacement.

Nature of problem: The analysis of specifically counting data has some special considerations compared to more common datasets with Gaussian-distributed uncertainties. Application of Bayesian inference through random walk exploration is useful for more accurate exploration of parameter space. The fitting of multiple models with shared parameters can be desirable for either fitting multiple datasets with the same parameters or imposing additional restrictions on the parameters.

Solution method: SATLAS2 implements the correct statistical costs for fitting of both counting data and Gaussian distributed uncertainties, and allows an easy implementation of custom cost functions.. Through the implementation of multiple Sources and Models, a natural extension of the fitting is made, so multiple models can be both summed together to fit to the same data and multiple fits can be linked together through parameter linking, using the underlying LMFIT [2] library. The ability to fit simultaneously increases the possibilities for extensive statistical analyses, and the interface through LMFIT with the emcee [3] library enables Bayesian exploration of the parameter space.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
SATLAS2:计数数据分析软件包更新版
SATLAS2 是一个 Python 库,用户可以利用它来拟合激光光谱学实验的计数数据,特别是测量原子超精细结构的数据。在分析过程中,用户可以选择如何处理不确定性,也可以选择生成随机漫步,以便更全面地展示参数空间。与前一版本的 SATLAS [1]相比,主要的升级在于代码库的不同架构,这使得性能得以提升,在不同的使用情况下,提速系数从 20 到 300 倍不等。为了向后兼容,两种架构之间有一个转换层,只实现 SATLAS 的核心功能:SATLAS2CPC 库程序文件链接:https://doi.org/10.17632/3hr8f5nkhb.2Developer's repository 链接:https://github.com/IKS-nm/satlas2Licensing provisions:MITProgramming language:Python 以前版本的期刊参考文献:Computer Physics Communications, Volume 222, 2018, Pages 286-294, ISSN 0010-4655, https://doi.org/10.1016/j.cpc.2017.09.012Does 新版本是否取代旧版本?是新版本的原因:改进后的性能更加稳定修订内容概述:SATLAS 软件包的架构已完全改变。SATLAS2 不再对模型(Models)进行操作,而是使用 SumModel 和 LinkedModel 对各种分析选项进行操作。这种结构通过精简代码提高了性能,并得益于改变参数时使用 apass by reference: 方法,而不是 apass by value: 方法。问题的性质:与更常见的具有高斯分布不确定性的数据集相比,具体计数数据的分析有一些特殊的考虑因素。通过随机漫步探索应用贝叶斯推理,有助于更准确地探索参数空间。用共享参数拟合多个模型对于用相同参数拟合多个数据集或对参数施加额外限制都是可取的:SATLAS2 为拟合计数数据和高斯分布不确定性实现了正确的统计成本,并允许轻松实现自定义成本函数。通过多源和多模型的实现,拟合得到了自然的扩展,因此可以将多个模型相加以拟合相同的数据,并通过使用底层 LMFIT [2] 库的参数链接将多个拟合连接在一起。同时拟合的能力增加了进行广泛统计分析的可能性,通过 LMFIT 与 emcee [3] 库的接口,可以对参数空间进行贝叶斯探索。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
相关文献
Interactions of nitrosonium salts with crown ethers
IF 2.4 3区 化学Journal of Heterocyclic ChemistryPub Date : 1982-09-01 DOI: 10.1002/jhet.5570190523
Gwi Suk Heo, Patrick E. Hillman, Richard A. Bartsch
Nitrosonium Salts as Reagents in Inorganic Synthesis
IF 0 Synthesis and Reactivity in Inorganic and Metal-organic ChemistryPub Date : 1974-07-23 DOI: 10.1080/00945717408069633
M. Mocella, M. S. Okamoto, E. Barefield
Solution calorimetry of nitrosonium salts
IF 0 Journal of The Chemical Society-dalton TransactionsPub Date : 1981-03-24 DOI: 10.1039/DT9800002415
A. Finch, P. N. Gates, T. Page
来源期刊
Computer Physics Communications
Computer Physics Communications 物理-计算机:跨学科应用
CiteScore
12.10
自引率
3.20%
发文量
287
审稿时长
5.3 months
期刊介绍: The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper. Computer Programs in Physics (CPiP) These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged. Computational Physics Papers (CP) These are research papers in, but are not limited to, the following themes across computational physics and related disciplines. mathematical and numerical methods and algorithms; computational models including those associated with the design, control and analysis of experiments; and algebraic computation. Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.
期刊最新文献
Editorial Board DeepFlame 2.0: A new version for fully GPU-native machine learning accelerated reacting flow simulations under low-Mach conditions Fractal-constrained deep learning for super-resolution of turbulence with zero or few label data Hybrid multi-head physics-informed neural network for depth estimation in terahertz imaging Enhancing the Nektar++ spectral/hp element framework for parallel-in-time simulations
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1