A photon based raytracing application written in Python.
Project description
XICSRT: Photon based raytracing in Python
Documentation: https://xicsrt.readthedocs.org
Git Repository: https://bitbucket.org/amicitas/xicsrt
Git Mirror: https://github.com/PrincetonUniversity/xicsrt
Purpose
XICSRT is a general purpose, photon based, scientific raytracing code intended for both optical and x-ray raytracing.
XICSRT includes handling for x-ray Bragg reflections from crystals which allows modeling of x-ray spectrometers and other x-ray systems. Care has been taken to allow for modeling of emission sources in real units and accurate preservation of photon statistics throughout. The XICSRT code has similar functionality to the well known SHADOW raytracing code, though the intention is to be a complementary tool rather than a replacement. These two projects have somewhat different goals, and therefore different strengths.
Current development is focused on x-ray raytracing for fusion science and high energy density physics (HEDP) research, in particular X-Ray Imaging Crystal Spectrometers for Wendelstein 7-X (W7-X), ITER and the National Ignition Facility (NIF).
Installation
XICSRT can be simply installed using pip
pip install xicsrt
Alternatively it is possible to install from source using setuptools
python setup.py install
Usage
XICSRT is run by supplying a config dictionary to xicsrt.raytrace(config)
.
The easiest way to run XICSRT is through a Jupyter Notebook. A command line
interface is also available.
To learn how format the input, and interpret the output, see the examples provided in the documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xicsrt-0.6.3.tar.gz
.
File metadata
- Download URL: xicsrt-0.6.3.tar.gz
- Upload date:
- Size: 71.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.7.0 requests/2.25.1 setuptools/57.1.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc1af273d64de114daf28d3e4cc0be48f14fe4a3d40c1c8daee6a0f79cae1598 |
|
MD5 | 914d64dcfe826e85f3f257898c049d2c |
|
BLAKE2b-256 | 4949c80db7963970eb6a4d41ced0338facc08e4fb4df43740843f76222dcb6dc |
File details
Details for the file xicsrt-0.6.3-py3-none-any.whl
.
File metadata
- Download URL: xicsrt-0.6.3-py3-none-any.whl
- Upload date:
- Size: 95.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.7.0 requests/2.25.1 setuptools/57.1.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3612aabcf9247b3f0f7ee082977b0a955aaa64853f84907e7ceadd3021c14df0 |
|
MD5 | 138eea8f407e5cf5c98293b0a3af157a |
|
BLAKE2b-256 | 78520d47ebbf75b1897d394645837eefb413c8b922cd432977a618ccc85ec389 |