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

Uploaded Source

Built Distribution

xicsrt-0.6.2-py3-none-any.whl (95.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xicsrt-0.6.2.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

Hashes for xicsrt-0.6.2.tar.gz
Algorithm Hash digest
SHA256 4a902e3b254bcea1c1953492dc5f7596785ebaa92db476255f204a477cca368a
MD5 a0c20dd29d53b30bdbb3d647d431e9ba
BLAKE2b-256 7f41fae7102c3da207d5c6bcf0613b4e9c55462772759944c0537d6d059d9a00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xicsrt-0.6.2-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

Hashes for xicsrt-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f159bd749ed1ab0d435ddc7ba2aadbfa9e39ab64869f76dbf5adfdaa9d52ab8
MD5 8e0cf6b23fabcb6d8fc3b8db73238430
BLAKE2b-256 4b21c51082eb8b95a393a6c835dd7c2d8a6e2279f8866114de1045a0be011849

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