Skip to main content

Library for thermal neutron transport in crystals and other materials.

Project description

NCrystal : A library for thermal neutron transport in crystals and other materials

The ncrystal-core package currently contains the NCrystal library and everything else needed to use the C or C++ APIs of NCrystal. It notably does not include any Python modules and most of the command line scripts (ncrystal-config being the exception), as those are provided in the ncrystal-python package.

In conda and Python environments, it is recommended that most users simply install and depend on the package named ncrystal which itself depends on both ncrystal-core and ncrystal-python.

Installation of the ncrystal-core package more specifically provides:

  • The NCrystal shared library (a binary file)
    • This binary file (.so/.dylib/.dll) is really the "engine" behind NCrystal.
  • Header files
    • These files (.hh/.h) are included when using the C/C++ API of NCrystal.
  • The ncrystal-config command-line utility.
    • This binary executable can be used to get information about NCrystal. As long as it is your PATH, you can use it to find all the other components of NCrystal.
  • CMake configuration files:
    • Enables downstream CMake-based projects to use NCrystal via CMake find_package(NCrystal) calls (but see the file <reporoot>/downstream_cmake/CMakeLists.txt for how such find_package calls should actually be written to work with pip install'ed NCrystal.
  • The NCrystal standard data library (NCMAT data).
    • These might be distributed as actual files, or (the default) embedded directly into the shared library.

Referencing NCrystal in scientific work

A very substantial effort went into developing NCrystal. If you use it for your work, we would appreciate it if you would use the following primary reference in your work:

X.-X. Cai and T. Kittelmann, NCrystal: A library for thermal neutron transport, Computer Physics Communications 246 (2020) 106851, https://doi.org/10.1016/j.cpc.2019.07.015

For work benefitting from elastic physics (e.g. Bragg diffraction), we furthermore request that you additionally also use the following reference in your work:

T. Kittelmann and X.-X. Cai, Elastic neutron scattering models for NCrystal, Computer Physics Communications 267 (2021) 108082, https://doi.org/10.1016/j.cpc.2021.108082

For work benefitting from our inelastic physics, we furthermore request that you additionally also use the following reference in your work:

X.-X. Cai, T. Kittelmann, et. al., "Rejection-based sampling of inelastic neutron scattering", Journal of Computational Physics 380 (2019) 400-407, https://doi.org/10.1016/j.jcp.2018.11.043

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

ncrystal_core-4.3.0.tar.gz (2.0 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ncrystal_core-4.3.0-py3-none-win_arm64.whl (2.8 MB view details)

Uploaded Python 3Windows ARM64

ncrystal_core-4.3.0-py3-none-win_amd64.whl (2.9 MB view details)

Uploaded Python 3Windows x86-64

ncrystal_core-4.3.0-py3-none-musllinux_1_2_x86_64.whl (4.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

ncrystal_core-4.3.0-py3-none-musllinux_1_2_aarch64.whl (3.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

ncrystal_core-4.3.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.0 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

ncrystal_core-4.3.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

ncrystal_core-4.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ncrystal_core-4.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (2.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ncrystal_core-4.3.0-py3-none-macosx_11_0_arm64.whl (2.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.3.0-py3-none-macosx_10_9_x86_64.whl (2.5 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file ncrystal_core-4.3.0.tar.gz.

File metadata

  • Download URL: ncrystal_core-4.3.0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ncrystal_core-4.3.0.tar.gz
Algorithm Hash digest
SHA256 e240f91c392339a8007e6e69de66479e3fadad2399e9346c3289aa7f051189d8
MD5 af8ef297e6727ccff585812abd78d579
BLAKE2b-256 a5c3a49e0eeba5b813c95e68de534b3f3b6a74af6278337175b7d0e2de91c392

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.3.0.tar.gz:

Publisher: pypi.yml on mctools/ncrystal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ncrystal_core-4.3.0-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.3.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 4cb75c5fbbdd75a6d6889b8ec99004b370046cbd617da240ce76bc8af84c8e77
MD5 8329e7cbe89a6a992d597ab50bf6b5df
BLAKE2b-256 4357dd12a91b9f383122ec98023bf45638f4e82a204d56e389957038e3a942ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.3.0-py3-none-win_arm64.whl:

Publisher: pypi.yml on mctools/ncrystal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ncrystal_core-4.3.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 62e3aaef17b4597b50c9aa2bc81e58d962a3c4397ac6fc0ad2c38444433a9961
MD5 970744a794f8faaa6943aef3e33e2cc8
BLAKE2b-256 ca87659892e6def985200d21b5529da0fe518f15e3367c409cdfc7485fbeb633

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.3.0-py3-none-win_amd64.whl:

Publisher: pypi.yml on mctools/ncrystal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ncrystal_core-4.3.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.3.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e9b3aa1e93cbf2fac78431aba9218cb209ec15e3586ce608a89f5b8d2bd5b20a
MD5 921cb7c7a0b5fcbaadb1b3130fe88ebb
BLAKE2b-256 7dbbc5584606eb04d00026dbfe84a73be89b99be737480e95ae326b7cef92464

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.3.0-py3-none-musllinux_1_2_x86_64.whl:

Publisher: pypi.yml on mctools/ncrystal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ncrystal_core-4.3.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.3.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9b888ef995416b7efdf345a7d852a7261064fc929bcef1f2ce26909f951e8fa1
MD5 872cac8454a6d6da05b2ffeb22700395
BLAKE2b-256 43fbb5e445def976575d296a4ae88515b077b5cafb1237f03640250532c2c4b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.3.0-py3-none-musllinux_1_2_aarch64.whl:

Publisher: pypi.yml on mctools/ncrystal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ncrystal_core-4.3.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.3.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ffe9c5d8243e1befa73f273ff80ee88d491a67c97c6f4adb909ced9cb4f847dc
MD5 18e177ea14da8f591bddd4bdb482f65e
BLAKE2b-256 27a60bed6a6972e527602aa1e77e3ad370b5e107bbd0511a631a70365e3d8e63

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.3.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pypi.yml on mctools/ncrystal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ncrystal_core-4.3.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.3.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1fe0fa4d673355655686ebfbcb06e799ebb04e8300039061698cc2a7fa5fcf3a
MD5 196ba0fd0a214ae63c319d29b362087c
BLAKE2b-256 4f12b50063d0dc60bbef13b27bbcf3701809f0dfd73d0058f11396aa50e0110f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.3.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: pypi.yml on mctools/ncrystal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ncrystal_core-4.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 df5396e614dac262f2688c4bab96497bb77ec3bb2323cc3fa1cff67a24cb34af
MD5 2769726a7f4ec876a1d7a47da2a14ebe
BLAKE2b-256 7f091b9d34b3ce16c1ff1142efbe57d33f9a6b33f64288ab63447d6c763518e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: pypi.yml on mctools/ncrystal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ncrystal_core-4.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 4832078e6d1eb9c68005e36c4de04efea0891b45de80aee990aa02a552a79dcc
MD5 c46fa9e71482cb565f216a363d04aa47
BLAKE2b-256 9d59a994256efe15a82000306bbcaf9163f97a4d773b2c35ef784f208d1f7ba1

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:

Publisher: pypi.yml on mctools/ncrystal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ncrystal_core-4.3.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.3.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 418b27316faa68a2fea7f06dc85e891f48d799a213852ad8ce31dac2a62529e9
MD5 6b85cfdd019306cca98d59ebcacb70a1
BLAKE2b-256 4a1b7ac6e5f33e5beccca96781aa90e07023eab4fab4adaf606bcdde509d3cea

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.3.0-py3-none-macosx_11_0_arm64.whl:

Publisher: pypi.yml on mctools/ncrystal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ncrystal_core-4.3.0-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.3.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 448920e11e7eb65407fb0780a44e37b851518d58cd7208f36a020f45b0d4e601
MD5 c9623f2efda84f01698acb3dba2edaa9
BLAKE2b-256 14d489a262341750d53e904802f813765fa23e14efbc49d0a0881b816ee23b77

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.3.0-py3-none-macosx_10_9_x86_64.whl:

Publisher: pypi.yml on mctools/ncrystal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page