{"title":"The qspec Python package: A physics toolbox for laser spectroscopy","authors":"Patrick Müller, Wilfried Nörtershäuser","doi":"arxiv-2409.01417","DOIUrl":null,"url":null,"abstract":"The analysis of experimental results with Python often requires writing many\ncode scripts which all need access to the same set of functions. In a common\nfield of research, this set will be nearly the same for many users. The qspec\nPython package was developed to provide functions for physical formulas,\nsimulations and data analysis routines widely used in laser spectroscopy and\nrelated fields. Most functions are compatible with numpy arrays, enabling fast\ncalculations with large samples of data. A multidimensional linear regression\nalgorithm enables a King plot analyses over multiple atomic transitions. A\nmodular framework for constructing lineshape models can be used to fit large\nsets of spectroscopy data. A simulation module within the package provides\nuser-friendly methods to simulate the coherent time-evolution of atoms in\nelectro-magnetic fields without the need to explicitly derive a Hamiltonian.","PeriodicalId":501369,"journal":{"name":"arXiv - PHYS - Computational Physics","volume":"9 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - PHYS - Computational Physics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.01417","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The analysis of experimental results with Python often requires writing many
code scripts which all need access to the same set of functions. In a common
field of research, this set will be nearly the same for many users. The qspec
Python package was developed to provide functions for physical formulas,
simulations and data analysis routines widely used in laser spectroscopy and
related fields. Most functions are compatible with numpy arrays, enabling fast
calculations with large samples of data. A multidimensional linear regression
algorithm enables a King plot analyses over multiple atomic transitions. A
modular framework for constructing lineshape models can be used to fit large
sets of spectroscopy data. A simulation module within the package provides
user-friendly methods to simulate the coherent time-evolution of atoms in
electro-magnetic fields without the need to explicitly derive a Hamiltonian.