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.11.tar.gz (98.0 kB view details)

Uploaded Source

Built Distribution

xicsrt-0.8.11-py3-none-any.whl (134.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xicsrt-0.8.11.tar.gz
  • Upload date:
  • Size: 98.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for xicsrt-0.8.11.tar.gz
Algorithm Hash digest
SHA256 15e8e8e311b17ba2514a6f756bb8ad9e3b36d6e34eeb7dd8a8da22012ae82e16
MD5 bf1cce5c2d421c88687bcdcf9de85bbf
BLAKE2b-256 900475d18c03724079b635ca1d26454387aa729afd190f5efa2fbb8ef078b9eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xicsrt-0.8.11-py3-none-any.whl
  • Upload date:
  • Size: 134.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for xicsrt-0.8.11-py3-none-any.whl
Algorithm Hash digest
SHA256 4839722ceadc4a255fed0788a0b8564cb30e3cc4aa3c329624aabf6296b494a7
MD5 b6468da24e1489a4e81d86d542dae004
BLAKE2b-256 1a3a8ad73226fd7bf0a8405999e00628143c49c9fc0b2b7f0e24b1a273015cb0

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