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.8.10.tar.gz
.
File metadata
- Download URL: xicsrt-0.8.10.tar.gz
- Upload date:
- Size: 95.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c5417799f520d463f37cdf531b3e758762b9d59f82e78fd585469486b3ab617 |
|
MD5 | cab59f51edcb0e3bad42f44a8013e97f |
|
BLAKE2b-256 | 4e9295d6898327a8c151a90b144f03401e76cb407e2f94a48b65cb6fb2df7e7a |
File details
Details for the file xicsrt-0.8.10-py3-none-any.whl
.
File metadata
- Download URL: xicsrt-0.8.10-py3-none-any.whl
- Upload date:
- Size: 128.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 420d8fbcb44b7c1970a5f7498aea605b8b84301c629d83ec6d022c0d9d5c60be |
|
MD5 | 74535f68487ba902c7f09713a6128a4d |
|
BLAKE2b-256 | 6a7d7d2fce5cb26a6e50ff16497cdf8471836bc516d8816ffa72d6b0dddb09bf |