qspec


Nameqspec JSON
Version 0.3.5 PyPI version JSON
download
home_pageNone
SummaryPhysics toolbox for laser spectroscopy
upload_time2024-09-04 04:37:19
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License Copyright (c) 2022 - 2024 Patrick Müller Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords physics laser spectroscopy simulation quantum mechanics data analysis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            qspec
=====

[![Static Badge](https://img.shields.io/badge/OS-Windows-yellow)](https://www.microsoft.com)
[![Static Badge](https://img.shields.io/badge/Python_version-3.8%2B-blue?logo=python&logoColor=white)](https://www.python.org/)
[![Static Badge](https://img.shields.io/badge/License-MIT-orange)](https://opensource.org/license/mit)

[![Static Badge](https://img.shields.io/badge/DOI-10.48550/arXiv.2409.01417-blue)](https://doi.org/10.48550/arXiv.2409.01417)
[![Static Badge](https://img.shields.io/badge/arXiv-2409.01417-red)](https://arxiv.org/abs/2409.01417)

The [_qspec_](https://pypi.org/project/qspec/) Python package provides mathematical and physical functions
frequently used in laser spectroscopy but also more general methods for data processing. 
Most functions are compatible with numpy arrays and are able to process *n*-dimensional arrays.
This enables fast calculations with large samples of data, e.g., facilitating Monte-Carlo simulations.
The API documentation and example scripts are available on the [_GitHub_](https://github.com/patmlr/qspec) page.

### Dependencies

- [_Matplotlib_](http://matplotlib.org/)
- [_NumPy_](http://www.numpy.org/)
- [_SciPy_](http://www.scipy.org/)
- [_SymPy_](http://www.sympy.org/)

### Modules

- _algebra_: Contains functions to calculate dipole coefficients and Wigner-*j* symbols.
- _analyze_: Contains optimization functions and a class for King-plots.
- _models_: Framework to generate modular fit models.
- _physics_: Library of physical functions.
- _simulate_: Intuitive framework to simulate coherent laser-atom interactions.
- _stats_: Contains functions for the statistical analysis of data.
- _tools_: General helper, print, data shaping and mathematical functions.

### Use cases
- Coherently evolve atomic state population in a classical laser field. 
In contrast to powerful packages such as [_qutip_](https://qutip.org/),
the quantum mechanical system is set up automatically by just providing atomic state and laser information.
- Generate modular lineshape models for fitting. The modular system can be used
to sum, convolve, link models and share parameters, fit hyperfine structure spectra, etc. This module is similar to the [_satlas2_](https://iks-nm.github.io/satlas2/) Python package.
- Perform multidimensional King-plot analyses.
- Calculate frequently used physical observables such as kinetic energies, velocities, Doppler shifts, 
hyperfine structure splittings, etc.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "qspec",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "physics, laser spectroscopy, simulation, quantum mechanics, data analysis",
    "author": null,
    "author_email": "Patrick M\u00fcller <pmueller@physics.ucla.edu>",
    "download_url": "https://files.pythonhosted.org/packages/ba/ed/de9ca940c332fe8581f38c6e79b564b4c7808c3d9babdc1fa868d2d3b8eb/qspec-0.3.5.tar.gz",
    "platform": null,
    "description": "qspec\r\n=====\r\n\r\n[![Static Badge](https://img.shields.io/badge/OS-Windows-yellow)](https://www.microsoft.com)\r\n[![Static Badge](https://img.shields.io/badge/Python_version-3.8%2B-blue?logo=python&logoColor=white)](https://www.python.org/)\r\n[![Static Badge](https://img.shields.io/badge/License-MIT-orange)](https://opensource.org/license/mit)\r\n\r\n[![Static Badge](https://img.shields.io/badge/DOI-10.48550/arXiv.2409.01417-blue)](https://doi.org/10.48550/arXiv.2409.01417)\r\n[![Static Badge](https://img.shields.io/badge/arXiv-2409.01417-red)](https://arxiv.org/abs/2409.01417)\r\n\r\nThe [_qspec_](https://pypi.org/project/qspec/) Python package provides mathematical and physical functions\r\nfrequently used in laser spectroscopy but also more general methods for data processing. \r\nMost functions are compatible with numpy arrays and are able to process *n*-dimensional arrays.\r\nThis enables fast calculations with large samples of data, e.g., facilitating Monte-Carlo simulations.\r\nThe API documentation and example scripts are available on the [_GitHub_](https://github.com/patmlr/qspec) page.\r\n\r\n### Dependencies\r\n\r\n- [_Matplotlib_](http://matplotlib.org/)\r\n- [_NumPy_](http://www.numpy.org/)\r\n- [_SciPy_](http://www.scipy.org/)\r\n- [_SymPy_](http://www.sympy.org/)\r\n\r\n### Modules\r\n\r\n- _algebra_: Contains functions to calculate dipole coefficients and Wigner-*j* symbols.\r\n- _analyze_: Contains optimization functions and a class for King-plots.\r\n- _models_: Framework to generate modular fit models.\r\n- _physics_: Library of physical functions.\r\n- _simulate_: Intuitive framework to simulate coherent laser-atom interactions.\r\n- _stats_: Contains functions for the statistical analysis of data.\r\n- _tools_: General helper, print, data shaping and mathematical functions.\r\n\r\n### Use cases\r\n- Coherently evolve atomic state population in a classical laser field. \r\nIn contrast to powerful packages such as [_qutip_](https://qutip.org/),\r\nthe quantum mechanical system is set up automatically by just providing atomic state and laser information.\r\n- Generate modular lineshape models for fitting. The modular system can be used\r\nto sum, convolve, link models and share parameters, fit hyperfine structure spectra, etc. This module is similar to the [_satlas2_](https://iks-nm.github.io/satlas2/) Python package.\r\n- Perform multidimensional King-plot analyses.\r\n- Calculate frequently used physical observables such as kinetic energies, velocities, Doppler shifts, \r\nhyperfine structure splittings, etc.\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2022 - 2024 Patrick M\u00fcller  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Physics toolbox for laser spectroscopy",
    "version": "0.3.5",
    "project_urls": {
        "documentation": "https://patmlr.github.io/qspec/",
        "download": "https://pypi.org/project/qspec/#files",
        "source": "https://github.com/patmlr/qspec",
        "tracker": "https://github.com/patmlr/qspec/issues"
    },
    "split_keywords": [
        "physics",
        " laser spectroscopy",
        " simulation",
        " quantum mechanics",
        " data analysis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7d732fbb37f4b0c171d5031f468e8a9373e6c054d88d9ed13a41bd338b7b5e28",
                "md5": "38d25ded3fcf5f046911a36405227384",
                "sha256": "ce4d0831603bfd91d7145be094a8128296d7b1a90a4101e2824bf480ea84cb33"
            },
            "downloads": -1,
            "filename": "qspec-0.3.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "38d25ded3fcf5f046911a36405227384",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 519564,
            "upload_time": "2024-09-04T04:37:17",
            "upload_time_iso_8601": "2024-09-04T04:37:17.975027Z",
            "url": "https://files.pythonhosted.org/packages/7d/73/2fbb37f4b0c171d5031f468e8a9373e6c054d88d9ed13a41bd338b7b5e28/qspec-0.3.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "baedde9ca940c332fe8581f38c6e79b564b4c7808c3d9babdc1fa868d2d3b8eb",
                "md5": "d052034f7732f3b836d8da9fb9fd90d1",
                "sha256": "11220933cdeefde4bbee5571149005f3bf9b1ffbc55f2101a087177c2ec5b4b3"
            },
            "downloads": -1,
            "filename": "qspec-0.3.5.tar.gz",
            "has_sig": false,
            "md5_digest": "d052034f7732f3b836d8da9fb9fd90d1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 511344,
            "upload_time": "2024-09-04T04:37:19",
            "upload_time_iso_8601": "2024-09-04T04:37:19.472567Z",
            "url": "https://files.pythonhosted.org/packages/ba/ed/de9ca940c332fe8581f38c6e79b564b4c7808c3d9babdc1fa868d2d3b8eb/qspec-0.3.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-04 04:37:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "patmlr",
    "github_project": "qspec",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "qspec"
}
        
Elapsed time: 0.68957s