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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

ncrystal_core-4.4.2-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.1 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

ncrystal_core-4.4.2-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.9 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.4.2-py3-none-macosx_10_9_x86_64.whl (2.6 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file ncrystal_core-4.4.2.tar.gz.

File metadata

  • Download URL: ncrystal_core-4.4.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.13

File hashes

Hashes for ncrystal_core-4.4.2.tar.gz
Algorithm Hash digest
SHA256 0c25d18515209ce6e8778145d32f3b13f4071eeb35e290600386e2b05295e539
MD5 2c86834cd788b37fd4596794a9fe3744
BLAKE2b-256 d32de92015517d7b7af8a466384a35527be4899503d7004f0f2b0a9b649f5c75

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 b5fe1eec08fb65e7f8592b488025838c33ee90777f3c02eb8b54e71b9c6958eb
MD5 6f869e42e4c1eaa42cca034fe1aa4509
BLAKE2b-256 58d3d5ab5990757bc683b652dcf296ced6703760b6b62f907f74d40af14a58cb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9b28a90b63849e6a3a807a0a59f7c2ee57e4c64f5643b2dcb6a798ac8ccf666a
MD5 a82c90dda312b65076aa01d300f4f1bf
BLAKE2b-256 c76b6c02f55c2ce2f137ccca0986be7dd89bea31d5bee4346b4377fa3b8586df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 29a4b2933bb8be310e0055d2ce61854c1bbf21f4cbd240b0566c4b53c603a626
MD5 298cf3427dd88fd88c8fc33ce4f4300b
BLAKE2b-256 fc1dbb2440a37a6aade212d07b62a8ff4f9264b81c0a7009d37890b49996271a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.2-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6a2f11e6f8e7ffbf4467143fbfb08ebcbf4107e58adcae0cdf0cf7d53efd2b33
MD5 94d18b6532c74423d1a7de5dc37a4901
BLAKE2b-256 9c25bc1a2419e6dc97aa0ab6be7ad9353e10a0abc51fed10bc512823eba7e3d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.2-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d0d9c47cd017b7cefc52dde50546d7c151bfdd75d345e42e2b3e74ab5fe83c62
MD5 3a2cd77c33183c4b68cb589e54e94f07
BLAKE2b-256 f12c3850985d4c64048dec7b826f8a803e135b52b11b4c81c9cd4326b1ca15ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.2-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e8c8cfce567b6a6c0004f356f0d332bf6548f00f87f8f3b4e5fe18f04927e057
MD5 5a457ca0a1afefe703edfcc157fc5de6
BLAKE2b-256 9cb587f7e094d813349a3a17df601c14d33a300144c2e379b180201df7d5e879

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 746d20d1ee3bfa9a2ae6b7b776777b4b390afdedab4afb47972ff86aaf7d6826
MD5 c969624d983e4e35cb0f3d1f4961a095
BLAKE2b-256 e0ca40d033c309917181cda4d163e5115ac37b6ee3ca94da9aefedd9e7453a3e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 9febca0ed6d6981ecbf81371a098aa9279c0d9e59ab80fd8d12ba35cf2946c0e
MD5 52bba350e298e8fcb8288a672174b171
BLAKE2b-256 33a6560128af7960cfd518a58014bdf82bb4e169cfddeea86145afb3bac0112a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b7e6101a6850aa18cf441825214381614db444ffcba648de8266fe1c4d1024ce
MD5 1d9069e43ed838b3c126ff510827829c
BLAKE2b-256 c7ea7988934c8e3e3418aa043f70421817df28d06aef50bfd85f5ad3ec6e70f1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 648d1f7227fbd5a0e2b8b82695a23b243ed63b25ed2d6f3061e4c4e84186f21f
MD5 8f12ed2cc02b7ea530152ca2b0101c17
BLAKE2b-256 d6910cdf9e33be15c4437d2e5e00c43ec357deaab5bde911c3120927119aaac1

See more details on using hashes here.

Provenance

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