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.2.8.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.2.8-py3-none-win_arm64.whl (2.7 MB view details)

Uploaded Python 3Windows ARM64

ncrystal_core-4.2.8-py3-none-win_amd64.whl (2.8 MB view details)

Uploaded Python 3Windows x86-64

ncrystal_core-4.2.8-py3-none-win32.whl (2.7 MB view details)

Uploaded Python 3Windows x86

ncrystal_core-4.2.8-py3-none-musllinux_1_2_x86_64.whl (3.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

ncrystal_core-4.2.8-py3-none-musllinux_1_2_aarch64.whl (3.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

ncrystal_core-4.2.8-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.9 MB view details)

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

ncrystal_core-4.2.8-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.7 MB view details)

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

ncrystal_core-4.2.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ncrystal_core-4.2.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (2.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ncrystal_core-4.2.8-py3-none-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.2.8-py3-none-macosx_10_9_x86_64.whl (2.4 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for ncrystal_core-4.2.8.tar.gz
Algorithm Hash digest
SHA256 57802c57d4217a4aca76fde475a16fd55d8403160bbfbbc79ff540b4b8f4cc6d
MD5 762326ab39fc24b8d8813a909ac8dbe0
BLAKE2b-256 b555e150e760879714f198a31b6d46473684dd0830dd6370863a6faa066ff525

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.2.8.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.2.8-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.2.8-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 33dfef5de0328cfdc39354c580d65ded6b3873df0422c24f6b27074581c2eb6d
MD5 6da88553d1540d8e7e4c7a6cbe0871c4
BLAKE2b-256 b86f52bd7cdb78b35f5661a3f69f31e4cad91d29e835244e27c322df6d2f0628

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.2.8-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.2.8-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.2.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 65a04da265c3c28f6ed92aa8cf38a15bb80bdb5dcd70f9d7dccf56edf5a148c8
MD5 4dfd79c37cf43631749a6aea5f3d1bee
BLAKE2b-256 41d4f2a46ba1b5cca22f96e6e402e12839b74e23f04ad204880026576e0e3c15

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.2.8-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.2.8-py3-none-win32.whl.

File metadata

  • Download URL: ncrystal_core-4.2.8-py3-none-win32.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ncrystal_core-4.2.8-py3-none-win32.whl
Algorithm Hash digest
SHA256 de72ebac2e8b4ed86ad7d0baacb0699888b4220f1bc62139a49df80de681f1d9
MD5 87ffcd1053ebf84b2a1bedd14ecc97b8
BLAKE2b-256 21ffe098d93af752b6d9dce2348765c15723848d152c95c7bc51f34539a5df28

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.2.8-py3-none-win32.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.2.8-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.2.8-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 199fccf0d4093efbbe2f1ea12c17a14448fed0d1da9548143183fab5cc9c77bb
MD5 92ac5b7dea70557df37a31ffcc7cbbd5
BLAKE2b-256 c420c9aee5a6da3a508bad01d5a6bbf1875f50e086a80e4d74e7946bf86f68c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.2.8-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.2.8-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.2.8-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 33f12156a73ba451bf49dd5017e1a762563289dbfba4db6bff0d487805dea1f9
MD5 9d9c53216bb5aea3a4d282c85267e389
BLAKE2b-256 743941e266d71d63f0dce1702b5c72b83fee76a6ac58627c2945abd6181fddd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.2.8-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.2.8-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.2.8-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ca1980c9a7a15caba3fd82297853b8cd29987d3b1a30d9661c706a9ab0bf98d7
MD5 89b31cd94acbce015687b11fac7bde63
BLAKE2b-256 3a2810abe079e5de328f570f16b1694c54fa7f12b2ae532a725639387afb04fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.2.8-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.2.8-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.2.8-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3bd4144990d14e707df8211ff594b3afef99d8ba48ecc3ac46d1d5e12d4384f6
MD5 be45894a5f1c79495090fb598fcf5598
BLAKE2b-256 d4af38f0962c2f2648ec8a520d48f213da59c13877d3176b441d461cb2392d4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.2.8-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.2.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.2.8-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 063d58c36f89c54f455c25c64f995c61fe3009ff3a8857056ee5ba119f98e5aa
MD5 a25cef3e95989e35a4b13b78af8eb219
BLAKE2b-256 1088aa9eb5a940caf5169d9a583e5269152b70eb4d3274471f86bdce6baf1845

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.2.8-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.2.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.2.8-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 a336c09e471f7f8e916693ac0da073ae9820fc0d12e317d390d7363a0dd31548
MD5 b57bc3a99140eccebd718dfc3a4330b0
BLAKE2b-256 4ba445a4cb08c4a5e89d0f7fbb66d14c5d6895181f2ddea15d232fa372bb4c34

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.2.8-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.2.8-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.2.8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b19c89bd9a8076ad7f2ab83a0dba3c1bee2751c34ca916347b2130e59bd40bb9
MD5 54104ebb69c971a78b53ba6951bc011b
BLAKE2b-256 6320f80564b46807d818aa33ceb1011aa964d31ee5f6bf517c3d933a0038f935

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.2.8-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.2.8-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.2.8-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 830b7fae988a6289bbad0a2ec77e37d07a890a0a9d6c46208fe269c68fab7114
MD5 3eeab5e3ba20ac501371dafdf17e5e28
BLAKE2b-256 0d047905c643af9f04418d5adcb2197f74558cb8d6acaa37daf0662787671dde

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.2.8-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