Skip to main content

X-ray tracing for plane grating monochromator

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyplanemono-1.0.tar.gz (44.6 kB view details)

Uploaded Source

Built Distribution

pyplanemono-1.0-py3-none-any.whl (48.2 kB view details)

Uploaded Python 3

File details

Details for the file pyplanemono-1.0.tar.gz.

File metadata

  • Download URL: pyplanemono-1.0.tar.gz
  • Upload date:
  • Size: 44.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for pyplanemono-1.0.tar.gz
Algorithm Hash digest
SHA256 5b839b87e125e57dd804afaabcd9b1447a0d1296001b22f4b003010ea3d64b8b
MD5 ea55635d07ce09c5d278dd79f43ae3ee
BLAKE2b-256 f77b83b60198b221a21881aadaece1a7a9dcb2ff69952a17ee94742d3a97abac

See more details on using hashes here.

File details

Details for the file pyplanemono-1.0-py3-none-any.whl.

File metadata

  • Download URL: pyplanemono-1.0-py3-none-any.whl
  • Upload date:
  • Size: 48.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for pyplanemono-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41958822e4698b7bb81303c50a9dd422bacade867f33835824aee50838459846
MD5 6d5487df103d5bce8e8e9fedc8d0a3f6
BLAKE2b-256 2295bd1db055e820ed8cfd86cff1b7bf536dd4377f992051c5fac41110bb63c9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page