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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: ncrystal_core-4.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 01d423a8578b9fb29066151dc6029561edde5636d2a88a6d034d8a6c73d579ea
MD5 7e05a06f030b004e8f21e6cce16bb02f
BLAKE2b-256 2d6c23a1aeb62aecd5de18ed414a25b1dc89ddd63289a1eb1d11c7b0bd235522

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 b6119959b3ddefefc01afefdceed1e32e9a4e1be0b081aef6e0f3cce0b324853
MD5 d231e438cf990dadb6abca43075ef8f3
BLAKE2b-256 dc1f13233923edf3caa5f3fcc6c6f7d6a66dee3e6d6e656c0a07191ab0e429d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 653de2eb59ebfc4f2be1294624006ea2284f312ed4a0f4eb973444cf00440ad4
MD5 4b5ab891ab09b0edd7e01416f73e4ad9
BLAKE2b-256 02e2b0cb48c761c8497fbbf33cf7d9058fc989168f76cde46b91d1ffbfa0d310

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ncrystal_core-4.2.2-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.2-py3-none-win32.whl
Algorithm Hash digest
SHA256 8ca087a99567898b72a798bcd7f1333fba94bf2759be93f5c9f203b926aa520d
MD5 3ca48f28fc30ebf15ff4d93cbdf93d7d
BLAKE2b-256 60f5d478bf7a9a3f559c7d511a7954b9ae41e5ac4f158cfdd1d50b899ee4f024

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3f12cedc81d60e616b63efac99a1ba9be77a343409956b31ce6f43a66c114d95
MD5 5a1fabc5f4bce21fb21da453e5bb0958
BLAKE2b-256 5bea7f86a4221364f12f01055ed1ad75d5d56ce6c53540a2e3a82b31ec501a24

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.2-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8d5c04b070133dbe1d0214aa139b31e6646149b414a00d5e3f7d259eeef15f1e
MD5 c8d9aa610465e7c8cabfed302e718f37
BLAKE2b-256 467124b9606ffa71e9339be8b71f7962345754defb05c3a434d343e0b079848c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.2-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 73babce8484373d08e6d3af02b218f5144e78938c4e719574656277d8d8acbf4
MD5 8d4d827f505edbd8f2a72a84c738311d
BLAKE2b-256 8836099208e492ea9163af96765cf330892adc81c55bb575e83d75f3b0be66dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.2-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fa42c7d9b288f251c31e15e2dd8d41b67ed665a8ac693c1a0c66cc66ca46c9b0
MD5 9f5dbba53f5f2c422726a48226044a58
BLAKE2b-256 8e5cf543bb6df8ba68c6b9e2934f7b7a3b875bae0e049380afe827913e3f6c19

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 8ca8aecbc99b20cf61ee43fdbc0fb703d107a15c28dab54413f81908eb4c0fde
MD5 80a55726ef9315d7d4048223dbd88083
BLAKE2b-256 fb68198af603b1bbd017513f7aac249299388c4c1d95c6e3a250a3bae6663fa2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 f506fb2566f368df8a9e66672168d33c4ca2e889fd2bc93d0fc55711b4cb687f
MD5 cdeaaa7f76334ee21d5cf727ece40d99
BLAKE2b-256 49aea09ee907e509aec8792ce3bcbb1200161cd3becca30e90c4730ccd38b828

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4b176281e889642d0f77156f955937cc85e41ab1cf542ff5692e94c85e51fa16
MD5 cc655f322950dcc5ba8b5797ae110255
BLAKE2b-256 fd7a2e9b4a46404bb64f82a9b288774b0711fb8e23bb723f20101bdf3629c927

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9bc0e744133cb339d987a43f75e82a11b0e3b70744a0ca5013101a1c8ea8eb1f
MD5 aeb059a4af80b91f6512382f959d8d7d
BLAKE2b-256 fe297b820453e961678e32c97b070c9aef08574f423fd0fe1d4bd465bc749909

See more details on using hashes here.

Provenance

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