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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

ncrystal_core-4.4.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.4.0-py3-none-musllinux_1_2_aarch64.whl (3.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

ncrystal_core-4.4.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.1 MB view details)

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

ncrystal_core-4.4.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.9 MB view details)

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

ncrystal_core-4.4.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.4.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.4.0-py3-none-macosx_11_0_arm64.whl (2.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.4.0-py3-none-macosx_10_9_x86_64.whl (2.6 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: ncrystal_core-4.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 4b4955cd505d1a0ed4f167aa4c0d8fe60021f151ee2cab9aef65a5afb2b98eed
MD5 4cf63e94a20e9e59201bb7ce11582169
BLAKE2b-256 ebf4490d247ac181e7072aef871253820bcfb3c45b87262ba7c130b7ad642b7d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 4b1d763b53f1e0afe95c2e705d25b1a51cf54bea355e97f6f0eeefdb35cb1112
MD5 c16565791fe14ceb3b50dfcb6baf1e13
BLAKE2b-256 157765e4d0a3a7ad8d96c7ae380c595daf04571a729bfa68de56e6febb867a4d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 213231f36c589c76275b0ebdda5e7788ec1ed0ea698198033d96aca61f762217
MD5 e083465eb173297dee37ac576d489a0e
BLAKE2b-256 c5eba15137ae34398be3aa3a25a26417f679ff24e285ffdfc1dd7f5745e4bdad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e0812c064b169c0e8294c732e961fb11c09f39f4ecbfd98b2ffe5b67ee327968
MD5 edafbb5a98716e10832033578e57dafe
BLAKE2b-256 8f7a4fca5bbd06fb8563bfccbaf5476695ca312a9e4ce1f955201f898717b0c6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 19e153e2e25b6c2a5639d340d51b0ad94886f049ba59a94d646badb1102bdf63
MD5 043a6d516d3524749c2e1f35b960cba4
BLAKE2b-256 3d06dfab03805ef76d7fc6e79a397c42c4c2d89e03dc24fab0cbc6da7b73d4f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2497555beb33e78ebd62ca2eec859f9e38e2bdba7e22088b5d172efd7844418b
MD5 a876c66ab706babe36e3eddaf3a295b7
BLAKE2b-256 8cb78b67bd1728c1fefceaeaeb04720e69e1288a9de5e3932bd96d6d82e90e08

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ef83865d8973403ea471c28f0840ee3541e4345c113684f5d64a1679085bf0a5
MD5 943f2e3bc300cbd783a62cbfa7bdfe55
BLAKE2b-256 50315f0a00db530b9c4d6fe53d6d30af4e045fc862c2320c372d049eefa71757

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 dc4ff88cde290d9a9f91cc11c80aeb639812f941fc77df64acb86766ccd90766
MD5 e5c8ba536b059d43d29729a3dd75df97
BLAKE2b-256 686cac1a0e113736aae868759ff821c45c95aaec94d99c8a25a95c284da5a0b0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 431cde99d51b7be061710f47f2852b21a82d72b60cc5ab7124df999a4381707b
MD5 e1a5b738e9ea4f41fd1292efe38dbcec
BLAKE2b-256 f26644529a98b81751ee8b1e14699bca3f536f2b87e95fa2a8a676c741c5051c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 04012510f21fc27d65bc98d5a5a7010972092280a7d3b8dd0eaac15af0b182e1
MD5 11b9a7cf14f030dab955cbc1ceb29cab
BLAKE2b-256 113ae64de4c947f7d24739041ffe73211b46cb4b2e0a8f02a2cdc61a20c338ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2a4bd5703962b6b7b03b0ee81c6194de39cbbe8456d6c12878bb117e584f41c9
MD5 3f53f4ac5f76a112880c64909270b65a
BLAKE2b-256 c48d446a3135e790e05a2bd34e4751b50adc661714336583a00a7cdde15c43e2

See more details on using hashes here.

Provenance

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