Skip to main content

pyplanemono

[TOC]

Welcome to the PyPlaneMono repository!

This repo contains the code for the PyPlaneMono python package, which is capable of calculating geometrical quantities of a plane grating monochromator (PGM). Colloquially known as the plane mono, PGMs are widely used at synchrotron and free-electron laser facilities which require monochromatic soft X-ray light (50-3000 eV) worldwide.

To install, we recommend you use PyPi installation:

$ python -m pip install pyplanemono

You should take extra care when you wish to use PyPlaneMono's API with SHADOW to perform raytracing; you must use SHADOW's own python environment to do so. (usually a miniconda 3.8 installation)

You can also install from source should you wish to develop PyPlaneMono yourself:

$ git clone https://github.com/patrickwang27/pyplanemono pyplanemono
$ cd $! && python -m pip install -e .

References

If you have found this library useful, please consider citing the following:

Wang, Y. P., Walters, A. C., Bazan da Silva, M., et al., PGMweb: An Online Simulation Tool for Plane Grating Monochromators, In Preparation.

A web based version of this library with a GUI is also available on the Diamond server.

Metadata

Release files for pyplanemono 1.0

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

Source distribution (sdist)

Source distribution for pyplanemono 1.0
File Size Uploaded
pyplanemono-1.0.tar.gz 44.6 kB Details

Built distribution (wheel)

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

Total release size: 92.8 kB

Release files / pyplanemono-1.0.tar.gz

Download URL pyplanemono-1.0.tar.gz
Size 44.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5b839b87e125e57dd804afaabcd9b1447a0d1296001b22f4b003010ea3d64b8b
BLAKE2b-256 checksum
How to use checksums
f77b83b60198b221a21881aadaece1a7a9dcb2ff69952a17ee94742d3a97abac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.9

Release files / pyplanemono-1.0-py3-none-any.whl

Download URL pyplanemono-1.0-py3-none-any.whl
Size 48.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41958822e4698b7bb81303c50a9dd422bacade867f33835824aee50838459846
BLAKE2b-256 checksum
How to use checksums
2295bd1db055e820ed8cfd86cff1b7bf536dd4377f992051c5fac41110bb63c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.0 This release

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