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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

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

Uploaded Python 3musllinux: musl 1.2+ i686

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

ncrystal_core-4.2.0-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.0-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.0-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.2.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (2.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.2.0-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.0.tar.gz.

File metadata

  • Download URL: ncrystal_core-4.2.0.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.2.0.tar.gz
Algorithm Hash digest
SHA256 9a6abbd31bc186924cbd280fa71b0df25bdb4d5da34e7405e44e0e7d7de8b75c
MD5 2459a9c8da8a0d493ed56e70d248abb9
BLAKE2b-256 85e524f452920668a02fc090773b495b6f9586fadfee18dd5c455a397f78fcdc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 07292b935d8ee3302bc8937b14735c9c59214bb1c4688d0dd10f6cc0a7b945b4
MD5 b86d0b4826cd79048ff57726891215f4
BLAKE2b-256 acd7179c5f49e48641f84821449b7c810638c97f4d6513121f9b9730863fe193

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1e7618ef8164ef1ddb038cd944022e12bae18fd69d31cbd7d98f90edfa011950
MD5 190c8687042c8e0ef8c78b83bcb02e37
BLAKE2b-256 45c74dc2e66e8d601b9486312ddefcba0d9fe6cb34f46fdbd2de1dca56eb70c6

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ncrystal_core-4.2.0-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.2.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 1e076acb11802a05e86b51312f131c44d72679e523b88909eca42065ad2e3c00
MD5 422d3fc2113bb41565e0b9fa07058793
BLAKE2b-256 84963db22f8a0ed2c80e855c68fae92cea0df361b820e193336ca65ac07ccac3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9da472efe9c3fb42cb3f3851225a322421154e7292bfbbc837eb1e9404a88aa7
MD5 accc9cdec85694b997c518b6a2b4f36b
BLAKE2b-256 5c79e086c39da3d6eb7abebcd03327a23b9d6d8e8ef3801e2f87c03417836403

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.0-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 4cda3d0a8e20e32be366aebdbb6c68ca3fe8e9df546b262ea40727b5aa94e94c
MD5 1ed1c8065662ad8fc6804f76f14dabf0
BLAKE2b-256 7290d23af322c8e919ee601a69508377b43472c3e89c9e3b26b5a80b2e3a349f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2121fa607fdd1749f625d75911351c1ea517eb001287504d3814b321c9f854db
MD5 e355c79108009c436f37c4a69165a9eb
BLAKE2b-256 b0b8054a7c801344b1811a0825b1b030be9b1304195a3147fd2a9f553b641165

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f9a7a94ab1f0a7d9bae5e93e01420c56bc878b292a1c817dbeb20dcac2abe2be
MD5 fcfd4df342360dba8047b68e31e34e66
BLAKE2b-256 d9ce01f6a4fde421ee945971f350820437092169d4114064d7719a7f1840a156

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fc14342f7066911abca46c6061380541b5103b2985b69656183c0956587d364d
MD5 bd0b394a171ecff3e96bb4502ff461f8
BLAKE2b-256 025c9878ccd439b07c3684731caf48d829d6563dc750992712a61bcb45c7c767

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d625e667e70b0fcbb0cbc7bbb82958b4537e100158a224b76a0911e71a5e84c8
MD5 31266c62c010288365ab0bed7d57b1e6
BLAKE2b-256 252da385acfd81170995b79e85208ed4339a64de7a92b632ff105a9ce6def3e3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 72f1c85cc3da95541c38ffa7e57bddd91cf21e2f3c1d98b656f0ee9b0b070fca
MD5 19fac6e32c8b455ecc6fd2780e247b48
BLAKE2b-256 86226c68ac83bffa00310e8115bb5cdcc8a648022b5038ca22c0f8a95852ba52

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1aff9b26d7f1cf80e3e10e98bf744b9398db4f5491519ba1114c76ad3f0742e8
MD5 fb9e41041c40a3ec7964ce35d2d0c498
BLAKE2b-256 269a3730d914bbbaf4d0251304414496b70dee8c4392f2311cc63002b59b414f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a5c0985c4cfcf28c086c9ffe67fd18300c1c5135936f5dbbb7c830691d1d17d9
MD5 b03aab0c32e6863693f7bd2212cbf3a8
BLAKE2b-256 950a0220387712bd79a8c3aa29b4d2f62d2d13b62366a4dad944d8732971505f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 406f661625c09f91e0c906ee64152aae1914b537aebc67533205cfdd4fe2a3d1
MD5 3930a7ccdac28d766197f497a7749dc5
BLAKE2b-256 5f9de2af3a5687237051d0fc2666a4b54f48115d5b0678e726fc5770b1e5e243

See more details on using hashes here.

Provenance

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