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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

ncrystal_core-4.2.10-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.10-py3-none-musllinux_1_2_aarch64.whl (3.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

ncrystal_core-4.2.10-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.10-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.10-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.10-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.10-py3-none-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.2.10-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.10.tar.gz.

File metadata

  • Download URL: ncrystal_core-4.2.10.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.2.10.tar.gz
Algorithm Hash digest
SHA256 87069aab926317a9d4468a370d5183694bdf9b3c02a24fd7254bc08bffe9aba8
MD5 319d666686b9242bfab55124ee621f02
BLAKE2b-256 b35949becfa46c4723621a31d0958438fd51f9fa2963d99689d12827e1b5412d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.10-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 5bbc7d18b24dbd83862d6c5e6f180c26853602bcbe457bd511cb3aeefc831d65
MD5 61d043fc8fef4827fd5a77fb69a66f28
BLAKE2b-256 5258a3f43cafd774d013b1adb5ceb1093004531339cab2e243560e7208cc549c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.10-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 876b25c90f386775f807260bcdfb51089fa0ace21b9aba9a99d3ae3d0548fabd
MD5 c4f7ce8e58fd409a6e7c2f8ba1a4fff5
BLAKE2b-256 577957cede64053764de6075ab27b4f14255154ca60adcd5f8cc2aea2ff81d0c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ncrystal_core-4.2.10-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.13.7

File hashes

Hashes for ncrystal_core-4.2.10-py3-none-win32.whl
Algorithm Hash digest
SHA256 c378275ffd1693142d738d0f1824dacabcbb27e62eb1bb33b4b4a809206460d4
MD5 2c2e23996f8b77e9a0aca83e44158fbc
BLAKE2b-256 78930bfb1544f857931c31013cfd3b15ce7f7097a4bd72460401615f57963a42

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.10-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1e7285499195026f9cb5b806d9fea357c22ef99fcc47614c689d32d17be10fb0
MD5 5fdbd6c8ecc625113a615989e38752b3
BLAKE2b-256 eced2cbac24a285eb00dfac9045f91a75ec19cdf1066071cbfc7520e39b82c33

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.10-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f9f5030b2667b281577edd6df1735eac454043752a2ffa120b2f5eacc559e0a7
MD5 33cc4e9b86e3b37b3c6b73683279ad2f
BLAKE2b-256 fd4a8df461303710240afc8a26ab32609885f560d5b7ee1d63e4a512eede1516

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.10-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c648f7db46cb54e39b4444d2c1ef308bf1a972836688030db51c2593e9adfd7e
MD5 1f14fbb0da9ac40471e233ad9d05ed89
BLAKE2b-256 4f8949718656dc8b470ac9c00d6ebd095bf50980f43933fd0e01286ad86c244d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.10-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2f65c21065b151563f8ea0d791e344d960e55690c7f0b9e442cc44deb482814e
MD5 071dbede066d4d41e271411a18283d76
BLAKE2b-256 91c7f0b8d2c49cb6b3b6f510aab8bf6a0ce7e79c19a2cb8675539cb59c41f9fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.10-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d3611bdb4b5102c5cf6babae78dc3e65729d186328bc2d576b6bd583a1cd35f3
MD5 c95524d716469bab289a22e91e59c93c
BLAKE2b-256 c39ab522c5d7ebee478443a772cf7da16eb66e5bd34aae606227b87857bc51b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.10-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 edb9cf01a99b48d1e00b9d67e940cb9c6b13dbabec1789e215364e79c8409c4c
MD5 88fdc62f5e954e37e7e406e83ae997f1
BLAKE2b-256 fc385eea3559d425d956cb3f86b2f25eb16beac6111a4d4cd02fe5c8f9deb7dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.10-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4f7a17734fa9c051505245a28ed27be474e91f627ec6eea0cc3edcaccf3c3a8a
MD5 8b08d08b1a41069ebfd9bb6460e7689a
BLAKE2b-256 209a391539bbbeff661099d5dad2d6b4de00a0a52a3391a980f8aa525fabc549

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.10-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 75da74876cd7b3d9f654dec8722023f18c91e1012cafb3a5ab4dfd029bac9612
MD5 bbb9284a33bb4804c3c07b0e8b6f46d9
BLAKE2b-256 5d1e3d711f46a6f41fd8b07d414dd1568c8de7070052e10e19dd655854684f19

See more details on using hashes here.

Provenance

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