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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

ncrystal_core-4.2.4-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.4.tar.gz.

File metadata

  • Download URL: ncrystal_core-4.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 7f15ca618988965ceb664a8130803ace872a7d0a5a51abf55ce5d0ce7f826a48
MD5 33a3e994439b7f0f5407655659f96fba
BLAKE2b-256 9851e809475819dd9975451201e4c8785a413eb5db2134e2cf72a0d3825db810

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.4-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 b83719731d667f2c2a3da17ceb2218bb58cbe3194f63a329484050660d332e5c
MD5 f1a13774837cba8156f872807c163493
BLAKE2b-256 f9c1ae8c4d0cdfdfeb8d64d720519c4dd7c1e8450b0d95b6023985179072afd3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5b9e145f7cc7e60b7b4882cc389f55dfafd5ae19cce0a0c3cd8abcade32a742b
MD5 38dfd1133c01ac1d8284911c4f27a952
BLAKE2b-256 425fedd93ce238ae2ac880f25ec583a5a3d2a0a0f1b048099ad30a2b412aadf4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ncrystal_core-4.2.4-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.4-py3-none-win32.whl
Algorithm Hash digest
SHA256 0a7e64aac9795615591a29a163740fe15c087c4a29f6fa3f2fddbff0779477ea
MD5 ed11b830fae33c05cfad71f6d1d44d1f
BLAKE2b-256 31ad155da35356fa479f5ba2923cd9eff004d02b83d3021d7deec6a648af3bf6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.4-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a026dc82059d5fb79fab66956adeae369de211543c7f32e5279cd60302441243
MD5 c831ea97bdc157a1a1ebc3acce84b2c5
BLAKE2b-256 670a20ed3ce48a57788f0f83ed9f8c157daf18406b8bee94dc9c3aded0116197

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.4-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e9add9b08d9c1bbf818804921b3d093a6f2a8cbb9fae44fa8f0681812328f886
MD5 8c4f7fe951d7fa7d1f9b20a16aabc957
BLAKE2b-256 386eec9f8f3427026a76d8f47624f5abf315abe3623ff9d1b17228ec2beb38be

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.4-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c28a3ce078a396b945a3e6f2015e2af4352c6b84f5f2557bf90e791b630448dd
MD5 dc74efb3876511cbd112495de50c0f4d
BLAKE2b-256 09f2f696b1043d50279a307150947aaaf0a48faa75737cdd7787457d27e9a1cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.4-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f59335f8c5eaac6b233c6c97de8487172e1564eae5e1a65420947a8f81793909
MD5 ee9715384cdc5d9db2d0a3fd0a695c94
BLAKE2b-256 7c426b28ea046373ce1fd515d98ae544d3d29a07c8fc92b6b078be1b40e151f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 0e2ebff08b85679237ae66de81649c0c2cc87a878dfd7991a0322c58e738d725
MD5 ff7a4b7dc42c6bd1fd9462947f80f81b
BLAKE2b-256 2f8304fac2405481df59bd05ddba8a13f9214f6c05618b455a6a7bbefead94c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.4-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 81b5957d6a094a6608577166bd0264d3dd89f4ac6e7689e702b4572e4a8fe02c
MD5 2dd017d74ab07fab6cbb50502f5269df
BLAKE2b-256 2268744c648e21589b98d8642522865e71d71859dcf847916fd70f905af111dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bb542d8fba768ed4dabf9abbc5374e5e0bbd8116e415d99000b3c7bb1c53839b
MD5 d3bc000450a76f0d43e076e6a892b733
BLAKE2b-256 0c1a2d3c0104f813c421a705ff955fded13fec67d4fb632b5b0e5b775a4d3bcc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.2.4-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a3b56b1b4acefbab5199bb87d36f9f77475e452d2585af991ac598ebcab3f17b
MD5 d70994d8cc8b081e15fa66846b44e79d
BLAKE2b-256 8a27c0d77a504a08285d034a809ce270151878ea7be019ddf572d439963f155f

See more details on using hashes here.

Provenance

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