Skip to main content

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.

Image

Project details


Download files

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

Source Distribution

xicsrt-0.8.3.tar.gz (93.6 kB view details)

Uploaded Source

Built Distribution

xicsrt-0.8.3-py3-none-any.whl (126.1 kB view details)

Uploaded Python 3

File details

Details for the file xicsrt-0.8.3.tar.gz.

File metadata

  • Download URL: xicsrt-0.8.3.tar.gz
  • Upload date:
  • Size: 93.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for xicsrt-0.8.3.tar.gz
Algorithm Hash digest
SHA256 188962c646da82419422ead1ad92238432c08453abcd14a46c65bf6ca2f66a03
MD5 2aa5fcf753c01d7d805318dcf4f98ed0
BLAKE2b-256 aeddb925ca293603d837c15e1cc4a50545cb5f6d40afc0e87824f964b0cfa527

See more details on using hashes here.

File details

Details for the file xicsrt-0.8.3-py3-none-any.whl.

File metadata

  • Download URL: xicsrt-0.8.3-py3-none-any.whl
  • Upload date:
  • Size: 126.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for xicsrt-0.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fdf6ec33c8d3b7dc6a2127483c8844afb47fb8476f87fe24531ceea74a7544fd
MD5 29a6e7379e2ba0ac88ed736190020f5f
BLAKE2b-256 8b32ba692b9888df1a9001cdb11a20bec591736e21864dbb3f36e097f37a9b5c

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