Skip to content

The PyPlaneMono repository, containing code for ray-tracing calculations of the plane grating monochromator.

License

Notifications You must be signed in to change notification settings

patrickwang27/pyplanemono

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

The PyPlaneMono repository, containing code for ray-tracing calculations of the plane grating monochromator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages