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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

ncrystal_core-4.1.4-py3-none-musllinux_1_2_i686.whl (4.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

ncrystal_core-4.1.4-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.1.4-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.1.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ncrystal_core-4.1.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (2.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.1.4-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.1.4.tar.gz.

File metadata

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

File hashes

Hashes for ncrystal_core-4.1.4.tar.gz
Algorithm Hash digest
SHA256 92d0844122c9dca69480b9e44d86f543c97c0019a176f5dc0593d52c0cb64638
MD5 d86444adfbc0a97a6a571819a4460f88
BLAKE2b-256 949ba425f9e4826a9ce909cd30f39dda828fd309abbc28aecec222055a3caaeb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 56d207d842415b9eef83154431c3c7fe21adb446d53dfbd018673184d15c1cc5
MD5 07ab53765e8e030422cf201448388216
BLAKE2b-256 d6f74c7002423dd2133f66a6d6e08a45d76079d7ed8ad733b0c2d49a1648fb07

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a394b5e3a171699988e477e52c125f1c68b0ee093339f9c00caf110aecbe0ed2
MD5 d50c73ec67f7678ebb9a2d1bee11989a
BLAKE2b-256 2720bc96985d91c296a7f9efbfd3277e558d5efc4b9f4d6b4afb94215be7ab9c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ncrystal_core-4.1.4-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.8

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-win32.whl
Algorithm Hash digest
SHA256 c4414ebc548a68085767d101433d0095ed3f9a502eea0725f1a1497f92e3b2de
MD5 f1e5479c152367685f5f4746079b0ae0
BLAKE2b-256 c5e2574ca79afc660e98f641ca07c02a140469153476b0341b58d9b2235bfd10

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f80fc194be809cb50e8070073a2a0312010099816c0665679e45743b7057ba79
MD5 dd34a7750d779d31bd9012f80f848a80
BLAKE2b-256 a895b07c6ba003e3bea4b822e210f9065909d0fef835daa848b818079919c44c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.1.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.1.4-py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 152589b0c3dfc95a2e07f05d36a29c1fda4d4a264f3a312756f46d75880a37d4
MD5 4ab8cca57fcb72242bb102ddede03cc4
BLAKE2b-256 d9aadb343587838e24209c65f2a5a900e7db620389d349a5c939e67c34b1dedc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 118b95de0c428b524151977e801a5d071e9365d34a9f8d4dad6fd6f4e7e0dde6
MD5 2ddf4ae0067fa0881aca6fbf8bafb66d
BLAKE2b-256 3e5f9bbba0872fee5711495ee9e37034b6cfad77e75b816263542787f081e6e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7e899ed510d5754d96a57b70f2b07e231083d51c50cc89c3914e3d8781794f28
MD5 d7a06c74c872a3ab91dc98b3d2254c0e
BLAKE2b-256 adced5cac176d28ad448667bfe6c2d37c73391a0e05e2d7a53a7efc561d00863

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dd273ca46ce7a4370a3ba42810490dee5eff9161f88c0d3cc8c07eda991f86f5
MD5 696e2fb42647cf1f4bf101869995f988
BLAKE2b-256 c0933fb6429c35c79737ba7ef2c1a8cf4d3e5426643644233a31492d0f08e6c7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c598d9ed1f5377611885e4a9a15e8fcec7ad08d14d9c1e700de217d9754aec03
MD5 ec1b30a21b928802494eca17015e1635
BLAKE2b-256 122ece1a9a088b3a85b491102d2b5280c30c6cca2034de0c0940586180eb52b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.1.4-py3-none-manylinux_2_17_x86_64.manylinux2014_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.1.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b7f9cb65324021d8865798b477e9d2a06c122ad2df108f7638aea0fe1e00e310
MD5 09f5755ec48b05fa5bd0392843739197
BLAKE2b-256 88bfdd1c1612bb903900103e6c67c69757031cbefdce82a12bc5932a1e54b676

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.1.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.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.1.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bf1b368ec032c0aebc977c15013a0b9ca22b6c71368b2dcb8f88b483669cc3ed
MD5 fbb75ad7352724490b2399ddf6eb5b33
BLAKE2b-256 a64897dee535110508395e62a2f0136aa72d0b579df6b48dc979a253799a0689

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.1.4-py3-none-manylinux_2_17_aarch64.manylinux2014_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.1.4-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 624d57972248eae1454d00181480b0b947dd187fb1dfe4f8614c15e75c18fd1f
MD5 bef909412cfa9363c3d9618d73e64712
BLAKE2b-256 9a8f269ae6b8e143bec2dc82fcb5259a3a886c715b3cfab6455dd1ab386b5315

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.4-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3b149235d28ce798887ab19b9e83fd14d5877ed154ff0b7448fb10508ff6fe33
MD5 622e1b26fb0aefe26ed16000c5f3549c
BLAKE2b-256 7eb639df2d0a11024f5c7a74cf85f637de1db8b182c29b913206f9fe231fc98c

See more details on using hashes here.

Provenance

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