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

Uploaded Python 3Windows ARM64

ncrystal_core-4.4.6-py3-none-win_amd64.whl (4.8 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: ncrystal_core-4.4.6.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.6.tar.gz
Algorithm Hash digest
SHA256 4482c5bcb2d2b38cff3b0abf7df71cebd79fb167eb4d5e736e1cb5c49e45c9f0
MD5 be6aaa371701408e74d3ecde63201aca
BLAKE2b-256 f1727662793e2ce2e9f64b87b8d5a64678e2787544346093ece40ebd61096cc7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.6-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 1ca80d41fc25f6aa60d43301c6a0d90e99cca6f534e7a2d6476813cf39f47432
MD5 16195fce9d37b2820b31b9ef72a3b071
BLAKE2b-256 1ff2e2d0c2dffff17f87d0764fc24c55084f07917d0ab7a6ea3c8fa597b2b286

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c1b7432431c34a2158570385c0980374266145748d21ba2dfc3cbdc217a0427c
MD5 15efd412025f86f30eacb9eede9dd6c9
BLAKE2b-256 33457e5b4f83444f9f6c31b98683c4a16e2af03000a453a1016a2c45d0196b9f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.6-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9ae15a235ca25082bb2a769ca1f2fa8a7371f43dc692d84322c2b7242ac61799
MD5 cbe37dcc0421e3329eeaa51b5a0772c9
BLAKE2b-256 2b3bb833c8e2dd087eaab437b6092e0cc188ca19929ac5b311ef2dd858fbaed6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.6-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 49e1bc18d9bf648e848997c65a6f6558c6ab2f23a7fc8e4efe49e6dd4d8cc8a7
MD5 b5e0203ecd71a93110e67df883952b18
BLAKE2b-256 6ab66676984a4d6d37aefb5f1f03da8b8414187abec31ef2f6bcddf8ae00a07f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.6-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 20e6acc7f1eeca432d139608d1a83ac3f00cda200c2b1fe1dfb2e7dc34f2ab88
MD5 1a54737645c318914cec3a0d6f08535d
BLAKE2b-256 2e541d007cd44415367d0799c270ba288fa0638eea1cf3312e8d603773685832

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.6-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 20326fd672c97e8e4f08119d5353c72d4589f575c6bf60324e3a4e23670576df
MD5 f59fae476cc71241aa75862450c012f1
BLAKE2b-256 3b15c59db773c4360e47e7b51817f9fbff1cd8c7c22651bdf62ab62b64df83fc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 648b66677b5c5c10004315625558c175f34a5fad92a8fec8888674fd26f248fa
MD5 2a084b20aec24783cf2cfb9a75d37d0e
BLAKE2b-256 c708aacd179da27cee70f9a7c62350b6e6b5e186bbceb5858a331e20c66610fc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.6-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 9d9422b7a9f572ff9fb271f8d8b098cc34a7df1f71c265f9580f282abaa7dc4c
MD5 6a2a67022dca58935f283e095da2a2cc
BLAKE2b-256 a88bbc883b5c485f09b547da0b95ca4fd3d4ef76d590bced38800e75495ac8a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7caa5197dc6492f0e0cbc417516f400ba1ed9928114ce86cc430373b8549ff9c
MD5 72d1ced92169c996af5ea878c164ab90
BLAKE2b-256 9ca542839260983a25fb0f04e429842a6577198f35be75f29a660bae76764077

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.6-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c86e87b13212075250281a86814955f2afcfc7b9b55fa33424aee993e05526d3
MD5 5bf18de47c37ad222c79336b4855a209
BLAKE2b-256 1297c8071ea186530ce8448ccdaaa0dbc39aca36f447d4420ecd4825d3f8e111

See more details on using hashes here.

Provenance

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