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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.3.2-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.2.tar.gz.

File metadata

  • Download URL: ncrystal_core-4.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 2b8caa972f32594891a27f77c40d74cbabe8344416a140af4633474f25fde3fe
MD5 7feb8404adbeb22238ac508ed354216e
BLAKE2b-256 d6ce99c64f3e0c07191c1729c5fe1d97110848137d66f241f3782b7982c5fdc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 c50001b0fa42719be95a9006bf6075cfbfd99895f6b8ba63a52a45c93a5b1c10
MD5 9742d94fc9a21c3c068903a113886c4c
BLAKE2b-256 f76d2abea02a798abc12913ad7bc4f3a4b31910fc6418d9d27a26880fe9acf4b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 24ba67e8b5a8d47958c806b77156abaca6bf413b5012695553c5f0eec5a1534c
MD5 e732bbe840bd0494721f1fb351a34a81
BLAKE2b-256 1f9246aa104a31411b431852adb9d5d4544152b35aa3bb7e30d2b220bdc3e480

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9dc9dc32d64bc7742e13b34baa7871f25d5afc496be532918cdea896aa0725c4
MD5 16e00ca9874f5255c16b7f2593a01e5e
BLAKE2b-256 493ea24369dc7f0b7bb627ed1e14cc259a3bc22cb37f1dd3dce43c71628ad1ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.2-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8466fab92a86e93c7cd14a246fe84a74c1409c865bd8192526a5291bbe4526eb
MD5 859f4560b97159d46726b534b1c9662e
BLAKE2b-256 6d2fbf2906c94c7cf62a19deb0a7763d5c6b422d691aa2343e42dd5816035316

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.2-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0ec8a2461447098ebafe512b48d81acac8eb88267c2a600518550c21ab0a4ae0
MD5 fc7a133264d23debe1ac31aad0518aa4
BLAKE2b-256 31c1620cea0435e2673e78692389d4da631c7d16f38fe54e6bf5cb644c2e847d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.2-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b7d46f465f497db9afbe35132239ccc0060196929838902764578be08372ee02
MD5 4437079c333b686429adc211d7f36af1
BLAKE2b-256 8ac506af60676ceb56c4d326270043fa6749487fcd7f6ab436e5dc8691dd58af

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 02314c8c15cdfcd28b06fcb62bee2936244e99c74c72c242b594dd969510618a
MD5 87947620da5d55e49d4a50bd5f642834
BLAKE2b-256 ba30dfb32023aa89e4cc10eff261a5f5db701924fae40caaff10f5c08d06104f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 fa504c1e3a2a555a7927d500686623dd80b530fca03a9d0d3b3273c0f15038fd
MD5 bbd6973f47e95a9b48937df97120673f
BLAKE2b-256 bbf3349841a7067c998c3d5f941d0295e3082bc9d58b74f6c51d50a3d705445a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b05c8896b0d4c3c1af7d1b0fff641baece9efc0ba807b1ed1d5d0ff2cddf3f5c
MD5 4a363430b35a378ce3f12b016266ee21
BLAKE2b-256 146b4f2d8804ea75a336cbed0b36cd05f9944f7904284ca20e54e3e7e76f35af

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.3.2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 12635f3f932d75972d1afad52965da44756f3662193ea3de16b4bb65a9efe0df
MD5 c4b8f73a9d6d8f05b1aa5053526ed841
BLAKE2b-256 fc472cb8fe3a7744786f979a0808dd31cf1408f8316d2cf6987fc340b9b47e4e

See more details on using hashes here.

Provenance

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