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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

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

Uploaded Python 3musllinux: musl 1.2+ i686

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.1.6-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.6.tar.gz.

File metadata

  • Download URL: ncrystal_core-4.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 2d777555caa0a6fb0e0342c97e51024300c92335d26cba0fc0897c1e639d56ad
MD5 2ec65d5fa25e8368caa50daf3d8c0736
BLAKE2b-256 7e9c6e7396c87c4a3ef1a577647249b180e50e7367bf8136416da122e1e442cb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.6-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 bd06c491041df965faa10b3c481df0606ef8e5f4562fc3247d2ce6aee36fdb88
MD5 c3f2e2912ad9f2163186d164e2edd7d4
BLAKE2b-256 76968548310774a5c2f6c9cc2395ed9dae2409327c473c9f41783c8b632b05e4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 cb30aca8a59d76f8d39b2315782f4713494080efc8cf07fccd44d3b47ac2bfe4
MD5 1e6eb1d91dfda3c9f2468b245397693e
BLAKE2b-256 3203d1caf0d4984026d6d68728233e8c2e25b141c9560a6aa4c9b1150bda8e2c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ncrystal_core-4.1.6-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.6-py3-none-win32.whl
Algorithm Hash digest
SHA256 05179ea74ed185dfb8f37d267be946ec330522b65c13e049d65d8445a166824e
MD5 e41e164d8c1f5277c1b238aeb3d7a8d2
BLAKE2b-256 d1624b39c3a276b927b18f22de996d3fb8e000ba059cf921c98354fde36f2671

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.6-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 83c1e08bd02dc0e0fc7e8ff4f78ea1530add92d3286c759dff521b19ea58df26
MD5 4a8267a7a17d9dec88e78ebaea070447
BLAKE2b-256 a2e2d0d7be70eceb134984d13ced962a72c490bd7cf8583bd3379cd9083fd4b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.6-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 4807299d0f84d0bf41145ce31eb43e53845dbf385e061c94a9efd4c0ea0d93de
MD5 482114c5ab4b7814ac95257862d44b9b
BLAKE2b-256 a63da195064261d0a5ac560bdbde1eeb5f10a59c3801c4798f41882abab270ef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.6-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8f36bacd9c072f3149d6962126aebfedf5265620538bd8a2226fe153ceeacf94
MD5 6728c2b531691eb27ddfb69eff5d24b7
BLAKE2b-256 625aaf80f3be4776f9ac3ffdd62b3fd1e194f863f7e685932d6f4d5b27edba49

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.6-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5daf3ee05aef43d2e61268156300ab4555d451d6e695507244ca5e9c5e4c19e9
MD5 9956bba8b5831e8efa0420869d5d2b03
BLAKE2b-256 5406c4c99259612a9afea422039abf572b5e1ab0ca4dcb1f51ff912b414b8170

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.6-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5b714d5648eb6aecaefafd7693e60c6031704393e0b38605df71986708c927bc
MD5 e0e9c3e6fa958952f123067d25648f7c
BLAKE2b-256 59d3d85e39f58026cc5788337b8a6886b2ceb32244e34c8dfbc27d67bc713861

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 838b1752776cd187891a1a88f25a32e2397ed818a6429da0346cc74e33fe9fc3
MD5 c3baba3097229afb997c463b6a059890
BLAKE2b-256 b7e506d154d700bc62b69faddfa7d621d06ff774dd691ed14efd30dfaa4e5f68

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 97e4a464a2130e996c9782b31568fc812af48d7692d6bca9cb006f654a2ab9f8
MD5 54ae40e5fcb5a5696ba4617ba46e6a63
BLAKE2b-256 28637b250c42c552f6b0bc34f9572be6f08482f5a396dcbc898997b45927d3dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3c68e185d7c0f7390dffe3ffc3c5e3289e3476a8c69130eed328ba81897b860d
MD5 e5431f62f77b9f8db63d4872388cfc86
BLAKE2b-256 dad66391cd9867811260be1227f1a8a5556a3e5871e22b40821f51d9ffce0732

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a8ab6744202d22de3d411fd04a220790c747377620d77736d931d56af115e2ef
MD5 2b5103310760795c4720f2a7deed57a3
BLAKE2b-256 340b2d30b368eac5fd397a9488023456ee89fba09f307275e1b98fb6b0fb1a31

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.1.6-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3a043171e46e5258e4c80e6e5e8ac4d02274ea46d62e0ea2706d309f514af1b7
MD5 96c70447287d41598f1e884ed129bc25
BLAKE2b-256 fcd399fffecb7a2ba54a0ee87d047b03956ad32aecc58c3bccaf676d92b89255

See more details on using hashes here.

Provenance

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