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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.3.4-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.4.tar.gz.

File metadata

  • Download URL: ncrystal_core-4.3.4.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.4.tar.gz
Algorithm Hash digest
SHA256 09e9a87d9e4abfd5254299e7ce8b22fb0a82e85343aaf6be53cdbbb0dd787d2e
MD5 2ea5c4e57add93c6aa4fd678b81a8c03
BLAKE2b-256 00fe6564fb51a732e24bf6ff1f5f9104c422aaa5a0699db9832160a9bf1ac1de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.4-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 893da78a641b5ca23c03f5ac1e13be4c329c51ce5963447af223ffedd0436ae1
MD5 45be4c3118631b05ae5d69f912d1405b
BLAKE2b-256 ea8578246556dc359d15c6b778405df7fe4348ab87cb3f885a3061ab5ed4d827

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 50642b491f1a9bbd4d37909dc11ef45ecf14c6272511ec5a1e1117ef7e51aa66
MD5 0790ada6f8470dc70ad15da7caed31be
BLAKE2b-256 ab14d708fb7c6bf7e7be586c625840cc078a45e64dd6bffe8d60a7b17a22b24e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.4-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 97786feae21bd05103e67e6fde76d1aea267c44f0e1cb54bba7abf4cf5dbd0a3
MD5 f236f1742d2585344526a3219eb76327
BLAKE2b-256 c3e1d3f9461d2516319976b013a7a0abc16638ddc71c4094280f23c94b002921

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.4-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b7fc9ab92f78c69214224721e868b889007e8403cf433e90acb00d5380a2bead
MD5 f742e1a746a7d0314b5d2b123433f2a3
BLAKE2b-256 db7b66d6aadac971b3b4a9627ed7238c891f28cdf1a2928fdf6bb44b85e34a4f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.4-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d3b94528c5d237d43c64c18a2347b967445c43c31ade5c64716e171838b53f9e
MD5 31f4ed64e85cb2b8c23ea591b13f8709
BLAKE2b-256 0b713b54e97c28cdf4993c8317d62ac1be655667455f129cf6162591d56aed89

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.4-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 77c2da644b80027499a042c5421d22284e8bd80304fe9c0e56f3a4cfa2058836
MD5 168fb59f374fb5abca7c080c011086b8
BLAKE2b-256 10d28f61f96bec33e0d0cf924042afccac8022fe58b2fccfb5b83e5b121b78eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 b206c4db7d1cc7de82eded4fac67b4d9b981579c34867868d1f20fee6e836f4d
MD5 bb0a2a4a23ae8c3a9996c73b06ce884f
BLAKE2b-256 ec07f1c30e3cddb6b2aa67bacbf81a04c11007129b49a958ee18696f3935bae6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.4-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 6fe66526249ee2f536b01323cde1ad75998013b69dcb2213895da58e2e0aaa2e
MD5 e469639746276a0ceab2870778209da9
BLAKE2b-256 c3032cbeb78182eb75f54b8351ac3fdd7d3c856bbf4c6e95362b6426618fcb97

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 47e4441b65170f63acc6c25ea02c7827dbf76a5813f4bf01f9404a060bee6063
MD5 8a82f9d84a7bd2803cfc175b2373a41d
BLAKE2b-256 a00ddf49ae8af94215db241701f692786a2e85c3ac4557aafd829270c54fb1fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.4-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 50a89c29c5dc4ccf7e0dfeb83c07732a90efd2910705474c8f22d1247373968f
MD5 9227d963eb6038d6aa04c36964fabf49
BLAKE2b-256 6097b11543f7ab0a02f15e233a7eb25b27dcefdfe06e942154e5207de01eabe2

See more details on using hashes here.

Provenance

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