Skip to main content

China Spallation Neutron Source Monte Carlo System

Project description


neutron-cinema(China Spallation Neutron Source Monte Carlo System): a neutron transport simulation system

PyPI PyPI - License PyPI - Python Version PyPI - Wheel

neutron-cinema (China Spallation Neutron Source Monte Carlo System) uses NCrystal as the backend for the scattering physics, VecGeom for the geometry modelling and pyvista for the visualisation. The cross section generators for crystalline materials (PiXiu) and liquids (Tak) will be included in the future releases.

Installation

The latest stable release (and required dependencies) can be installed from PyPI:

pip install neutron-cinema

Usage

Run the following command on bash to simulate a square neutron guide:

promptpy --gdml guide_1.gdml --visualize --neutronNum 100

To simulate the neutron guide and visualise the position sensity monitor at the exist of the guide:

promptpy --gdml guide_1.gdml --neutronNum 1000000 && python ScororPSD_Monitor2_view.py

Run your customized gdml files (e.g. MyGdml.gdml):

promptpy --gdml MyGdml.gdml --visualize --neutronNum 100

Documentation and publications

Under preparation.

Connect with us:

cinema-users@outlook.com

Languages and Tools:

bash c cplusplus docker git linux python

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

neutron_cinema-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.9 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

neutron_cinema-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.9 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

neutron_cinema-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.9 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

neutron_cinema-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.9 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

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