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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.2.12-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.12.tar.gz.

File metadata

  • Download URL: ncrystal_core-4.2.12.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.12.tar.gz
Algorithm Hash digest
SHA256 0ba3c53363a6f53727f8b25d452de5715c818d108fbced33610ffc0152faba60
MD5 d072c01d22b200f8ce29b2fc2a94363b
BLAKE2b-256 014acffc091aab59b1b9423897a85f819ef69934822e235f68ce7f8bf0725159

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.12-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 0f58d64762520d8bf793bf2c47e25a064785c17ee8561fd6eb86421088ba423d
MD5 8ef4a610de49f839ba989d7a1870d618
BLAKE2b-256 d2f68e50ea8092197bdbc130ecd3c0c605d9c01df3584e5442b9191dd554c683

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.12-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a04c835c20f5ef5e1869282e921e0eae7665d99c48d27dbe4cb78c0cda0a52cc
MD5 7d5b95f7eb46393c08b138c260558ef9
BLAKE2b-256 7b51e13a37a8d924feefb444d7eb42094750ba1bba756cbb8c1f9a523414c4fb

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ncrystal_core-4.2.12-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.12-py3-none-win32.whl
Algorithm Hash digest
SHA256 bfd738726240776c2bad82ec209f6f0db270029b37af81ef536ba3c35c174a5c
MD5 9e4a2f9f6502bf8576a665783df48446
BLAKE2b-256 711c44bcd33e49ccdc24f91fd9b038e48911d8a2dcb2c46e09cde9c38348d28f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.12-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a8d7b0d90a31dd2a17b1780c73171d511b5198a606e5ac6653845a6a5c3ada82
MD5 2c0ab698e1cb8ee900c8ba5d0cd53b9a
BLAKE2b-256 7f7fa07b5c531b243a76dba3b8374101768d57cdaaf540d0885450862e340cc3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.12-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a95c249db7ba8ec266534f552ae8c1a759bd010d81356a0a91ea7e7f88fa69f6
MD5 f33102c57ae81894226fcb7f98e9adff
BLAKE2b-256 294f99fa8faa81f2731e63f6fc58b1b8c34cddd1a7c09e155f36b04819dc4e85

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.12-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dd622af09c422973c7effc5bbb6f64d7ad5dc020010564362f6c9eebf99f00da
MD5 81904069cffca75e0bd94506a4c39ae8
BLAKE2b-256 e38b1f02771d91ceafec996cef7f92f6a24010fedc47fd9404f8e11772d8501c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.12-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 44381c2913ee643311e70c49d4bfae0fe665547aefd60d4c3dbf6aaf92f91abc
MD5 225bfa91d06ec47982277ff9642738e0
BLAKE2b-256 97207a120dbe84bab758373bead8b34b72086cd4568fc39439e384130a5d356a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.12-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 56240312e8d73fa9a81ff8ad6aac45066fc265741ebaceb1a92d8dcaf6ffeb47
MD5 825ce5a87b3f98c0a5a084b66e0383d8
BLAKE2b-256 a7930cde454b92ca1e697c16a688833e04a9ad3d0173a86fdc4fddd88102b7f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.12-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 c33f542657aa5a729088c86b2699bf92048fed867eb7ce69bd80590ee27d1b23
MD5 807965b670c17c92c63aab0c5476cae2
BLAKE2b-256 0bdc2dbca0a96df7dc25e36bb8863b50aa4e226f1824e3c8e14d78bab1d185bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.12-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d47a1dd3c3348bdc0b7cb8df19ad4c51eeb4befce1279f56a67ca1d773e5d84c
MD5 15f9a90eb84062274aa717703d921c4f
BLAKE2b-256 558d2b26572e909238bb114d50fb0d1b6b54eb6dafa2d83a7264f18146796b0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.12-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8ccf39338f5745334e88036f3df885008294ad1228e5b3ffc6ff4bfd1b01dd99
MD5 8ad7639287a5c5fc1f2926bdb578265a
BLAKE2b-256 abee0d9d9218d2081e56828194f83d0eac6292b7182708fd07a62756c66f7194

See more details on using hashes here.

Provenance

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