moseley


Namemoseley JSON
Version 0.0.6 PyPI version JSON
download
home_pagehttps://github.com/fligt/moseley/tree/master/
SummaryA tiny python package for simulating XRF spectra to better understand them
upload_time2023-01-23 08:33:30
maintainer
docs_urlNone
authorFrank Ligterink
requires_python>=3.7
licenseApache Software License 2.0
keywords xrf physics simulation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Welcome to moseley 
> A tiny python package for simulating XRF spectra to better understand measurements 


The widespread use of point-and-shoot hand held x-ray fluorescence (XRF) instruments in cultural heritage research, would suggest that it is easy enough for anyone to find out the elemental composition of materials. Alas, due to myriads of emission energies, escape peaks and other nuisances, reliable interpretation of x-ray fluorescence spectra is actually hard. If you are not yet deterred, just read the [Handheld XRF in Cultural Heritage - A practical workbook for conservators](http://www.getty.edu/conservation/publications_resources/pdf_publications/pdf/handheld-xrf-cultural-heritage.pdf) with many, many examples of spectra that was recently made available on-line by the Getty Conservation Institute. 

My take on this as a physicist and a python programmer is that instead of learning from data directly (i.e. staring at measured spectra), a nicer route to insight exists. Due to huge efforts and advances of the open source scientific computing community it is nowadays possible to install readily available python packages and create physics simulations and visualizations with a few lines of computer code. Once you understand why certain patterns of peaks appear, it becomes much more easy to interpret XRF spectra reliably.  

## Installation 

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4784233.svg)](https://doi.org/10.5281/zenodo.4784233)

If you would like to adapt this plot to your own needs, for instance to to see what happens if you change beam energy, you can install this package yourself. 

    $ pip install moseley 



## Usage 

See documentation: https://fligt.github.io/moseley/



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/fligt/moseley/tree/master/",
    "name": "moseley",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "xrf physics simulation",
    "author": "Frank Ligterink",
    "author_email": "frank.ligterink@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/2f/54/e8ef6c1bcb319da22d8c0efdd5862ba76cd81d3887c433cb8eda5e0c4b6d/moseley-0.0.6.tar.gz",
    "platform": null,
    "description": "# Welcome to moseley \n> A tiny python package for simulating XRF spectra to better understand measurements \n\n\nThe widespread use of point-and-shoot hand held x-ray fluorescence (XRF) instruments in cultural heritage research, would suggest that it is easy enough for anyone to find out the elemental composition of materials. Alas, due to myriads of emission energies, escape peaks and other nuisances, reliable interpretation of x-ray fluorescence spectra is actually hard. If you are not yet deterred, just read the [Handheld XRF in Cultural Heritage - A practical workbook for conservators](http://www.getty.edu/conservation/publications_resources/pdf_publications/pdf/handheld-xrf-cultural-heritage.pdf) with many, many examples of spectra that was recently made available on-line by the Getty Conservation Institute. \n\nMy take on this as a physicist and a python programmer is that instead of learning from data directly (i.e. staring at measured spectra), a nicer route to insight exists. Due to huge efforts and advances of the open source scientific computing community it is nowadays possible to install readily available python packages and create physics simulations and visualizations with a few lines of computer code. Once you understand why certain patterns of peaks appear, it becomes much more easy to interpret XRF spectra reliably.  \n\n## Installation \n\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4784233.svg)](https://doi.org/10.5281/zenodo.4784233)\n\nIf you would like to adapt this plot to your own needs, for instance to to see what happens if you change beam energy, you can install this package yourself. \n\n    $ pip install moseley \n\n\n\n## Usage \n\nSee documentation: https://fligt.github.io/moseley/\n\n\n",
    "bugtrack_url": null,
    "license": "Apache Software License 2.0",
    "summary": "A tiny python package for simulating XRF spectra to better understand them",
    "version": "0.0.6",
    "split_keywords": [
        "xrf",
        "physics",
        "simulation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e1a49d521488aca6f9f81c984bf9a461410e239c65f0fea1a7fc63e8d4fe0fa0",
                "md5": "4c6ee463ce5225e6a52bb07899164faf",
                "sha256": "810de520e8a3df98ccef68479ec0fbc7378fe0189c84229319b3e270a763cf3f"
            },
            "downloads": -1,
            "filename": "moseley-0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4c6ee463ce5225e6a52bb07899164faf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 19964,
            "upload_time": "2023-01-23T08:33:28",
            "upload_time_iso_8601": "2023-01-23T08:33:28.543720Z",
            "url": "https://files.pythonhosted.org/packages/e1/a4/9d521488aca6f9f81c984bf9a461410e239c65f0fea1a7fc63e8d4fe0fa0/moseley-0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2f54e8ef6c1bcb319da22d8c0efdd5862ba76cd81d3887c433cb8eda5e0c4b6d",
                "md5": "3ab71d0c6078243a2edac37109527807",
                "sha256": "05ca8428c68bbb52801aa53d015565fe9b46e52fd3840b01109518e095d389af"
            },
            "downloads": -1,
            "filename": "moseley-0.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "3ab71d0c6078243a2edac37109527807",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 20291,
            "upload_time": "2023-01-23T08:33:30",
            "upload_time_iso_8601": "2023-01-23T08:33:30.545219Z",
            "url": "https://files.pythonhosted.org/packages/2f/54/e8ef6c1bcb319da22d8c0efdd5862ba76cd81d3887c433cb8eda5e0c4b6d/moseley-0.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-23 08:33:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "moseley"
}
        
Elapsed time: 0.04080s