Skip to main content

Welcome to moseley

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 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

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/

Metadata

Release files for moseley 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moseley 1.1.4
File Size Uploaded
moseley-1.1.4.tar.gz 27.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for moseley 1.1.4
File Interpreter ABI Platform
moseley-1.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 55.5 kB

Release files / moseley-1.1.4.tar.gz

Download URL moseley-1.1.4.tar.gz
Size 27.7 kB
Tags Source
SHA-256 checksum
How to use checksums
abd651b9c1c645bf0e1cc2aea285139e403f18e3155edef39e2040f6bc83e3b0
BLAKE2b-256 checksum
How to use checksums
6fd95394b1a1e7c5a0071949295f65a13f242676f620ac8d6af82904d8d84136
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / moseley-1.1.4-py3-none-any.whl

Download URL moseley-1.1.4-py3-none-any.whl
Size 27.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e799106a57f4805f91ffb6970f4570c13aa47df914b8501c9f6ee6bca6e0464d
BLAKE2b-256 checksum
How to use checksums
4463190b316f19f10edb57b5c8d8b26f6697d9ee54face13222114df4d7e8518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

1.1.4 This release

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.0.3

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.6

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page