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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

ncrystal_core-4.1.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.1.8-py3-none-musllinux_1_2_i686.whl (4.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ i686

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

ncrystal_core-4.1.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.1.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.1.8-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.8-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.8-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.8-py3-none-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.1.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.1.8.tar.gz.

File metadata

  • Download URL: ncrystal_core-4.1.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.1.8.tar.gz
Algorithm Hash digest
SHA256 2cb4df86c9c970704ce02a571557c28aa78a52c132a5c450b8e905b87b7d6349
MD5 2bcc7fad1988976fb754d280ebba75f6
BLAKE2b-256 4ff08e81277d0ed78f69ffe8dd5975510170213fca7037ecfcc566ea99f34981

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.8-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 2433a046ccb9b383858314c51ca38d1d31e4d6f499240458e2718a0b567c018c
MD5 28bd427a440fc4256c1963f2b2cc5bb4
BLAKE2b-256 5d7e5e670188ba89206c153500b5687c790000631bf4ca78f9534f91a625b2f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9993cea2d6b0cfbd4ae54194dd44d4ceb5325f72606812a9583d218c25ba97c3
MD5 2a1ac4f4e126c6c619e886a3b3c93e69
BLAKE2b-256 9f7196e52e812504b995ab48850ac51d1f5486c9af32b7ac73c51674edbbe97f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ncrystal_core-4.1.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.1.8-py3-none-win32.whl
Algorithm Hash digest
SHA256 4322bbb3594fb08d29bc2bdc6e752fa37ea4d2291769f4aa62eead4231133113
MD5 7a4bdc938b5b684924cb598c08fa8dc0
BLAKE2b-256 7259e00251cec8d89b944df9d292ecbcd52a97c0af3ec7fe7a84acd49b9c19d9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.8-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 06479e994e818e70a6445995d7d98b85f85421feea49ce7c257419541ec1bc21
MD5 93a7eaf3da50d4e7a9e41b49858a28c0
BLAKE2b-256 05a16c7e80380665db63d2402d49bd0ee4d2072d6737b2fd6454fdb5c88aee46

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.8-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 1dd22f0303e0491576902663bf307d9d96a2dcb81becd21d71cdcdd5ea27d029
MD5 05c585586adebee3dee1b51db87c35b7
BLAKE2b-256 f5af0819a9c0be712ec038521534e5282f99e6f52d69646f669b0f5a2b070604

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.8-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cf268103d3c55464170ec2ba878fbe00e628dc40bf52d3342dfd6c3ed58599ab
MD5 d19e5f552b3c088e5f4f2a68c7d629cb
BLAKE2b-256 80c5bf4341378da06b30ebb189306f1ff67132ad4d29b33191038f21a59bd14c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.8-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e36d8e236d8fe4258e722bea3daf5bdece03de995be96bed9bf8e1732f4fa10f
MD5 d4cd26c3830ba9ae3d1c90b291122255
BLAKE2b-256 781f1760d061153821800b038f73c780f29c70327dfe6e60343acfa545f87948

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.8-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ce36f8fcad383c67393f84eea014a01510bbfdd457308e5eb6914b721eaf488f
MD5 f799b4ea6be9743c713a29e161eb6c66
BLAKE2b-256 0f5cdfd2d51d527ff4398474842c58309be836bc25fed1219fcb364d6b3d0be2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c93cb6136f7b54fff3b8d4aa7efef7ee8c7cbd621d5a134f0fbf5558961ef8ff
MD5 7f1251d0a6cc5f4742854aa49aa7ed9a
BLAKE2b-256 5d6411eb5f79a21a3d30740107e93bab39e7986ca65b757e85cad633cb2828be

See more details on using hashes here.

Provenance

The following attestation bundles were made for ncrystal_core-4.1.8-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.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for ncrystal_core-4.1.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 1ad8ad23b7512fffbb0bd486953107e90c2aa7d2739622a75bee8aa43007d456
MD5 a203c2fde30f47e95970db4d2be2aa1a
BLAKE2b-256 5d13434d537ced97804ba67eb9734ed14cda0a33fedbddfeee6d71019de1315f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a5511ac3b35d7cc83abc5d839b7df7e78edeb69e066e1108ee6808a18d1e2bac
MD5 7519f6a15a668885524ce14ede5933c6
BLAKE2b-256 2ec70f25aec0e9f939dbea999f88d964e6e45e3880730efeb2da1c213935c8a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 31deb6d5b8420bdf256b7ff49b4b69ef2bb79783f1ce24d772aa297c58090e0b
MD5 d346ea496093355e0162a3e35ab0bf4e
BLAKE2b-256 e8df5ff16dc796fef48cd00483eb25d11327fc1a4dd38e0010f33c457d162c99

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.8-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9d5c3c89ccf783a5ba25b378a534340bcd20d6f3dd9c737f0368d4b8c2ec70b0
MD5 d769a114f7d384237934f8532ca78e68
BLAKE2b-256 5f6e3072727341e98f59eccd85c7a3447d3c437912090656829f7026c937474a

See more details on using hashes here.

Provenance

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