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

Uploaded Source

Built Distribution

xicsrt-0.7.1-py3-none-any.whl (95.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xicsrt-0.7.1.tar.gz
  • Upload date:
  • Size: 72.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xicsrt-0.7.1.tar.gz
Algorithm Hash digest
SHA256 e4bd73d60cc89a88e50a3a9d5c2be6f2550b944b1c5c94f93533222b1ccb34ef
MD5 f40e641d49f9f9ce29921b5fda89455c
BLAKE2b-256 ab3a3e12c84989a0631ddff87980bad0fe795e477d856cde52279c9ef642e318

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xicsrt-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 95.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for xicsrt-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df18aedd47eb43bd729612704931eb43b7bebda3e235b8c1bba90f01b3377dac
MD5 45ab67edbc065857b197bd8ceb4e040a
BLAKE2b-256 87b12f44ef6c34245538e2bdcaad936819b264208f7ea2400cba1f4e60368ea4

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