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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: ncrystal_core-4.4.4.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.4.tar.gz
Algorithm Hash digest
SHA256 93d29723ccae1d2c859148aa326354fc6cca144514fd9aae70ed5708ea8e767e
MD5 510436754dc9bfcb71c160a654b1313a
BLAKE2b-256 376b994d45c8f299870ac32b6a29d4a0ff6265c615e8d27fbfad7db2033b5bff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.4-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d0f1cfdb4c5740abdf608ab206b9fcddaafb8f7ab22e04590e1259c464c5d030
MD5 40e4498b1817d3616067145230c404bd
BLAKE2b-256 06aa66cd2968ac9bbfef0759098be9170d219ea6b86370b1130d1bf4370694cb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 17d21eb6ff88a45bde8047ce96f19a33d79eddb39aa4358bce3d173d6f43c4de
MD5 3b9834ea3871efb1d27d534820ed45e3
BLAKE2b-256 2657461ce12106ab560d1214218a0df8f56dff66f8a9ef624d7c3273dca52167

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.4-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9ca684e3448fb6ed4abab685f965cc2bbaf2d5aab89226174fe85f638d570238
MD5 fae17844ae5f0ecc5c30d5cf0875ab02
BLAKE2b-256 d3b678d31e379ba517925984c080ee179a350846135c0e8df189505d488ce88a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.4-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f599c28651a9dafc52c4e485a462cfe46816e1b8196839674cdaa2074c5527f5
MD5 6ce964be8e54592016d780a8fee32bbf
BLAKE2b-256 036ec35201b7ad9e80867e63ab8aabce023bf4456275f491cbadddc946ef895b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.4-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c8faebc6ce7ba94b171ca75acd18d911c309a79b781a13e1da6cc3621bc93d8
MD5 01bf55c2c3a9090dd7b3c6542dce339c
BLAKE2b-256 a0fd45ea835eab3cbf7b9478e0848a4ffc8256e236bcd5af3392c628118900c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.4-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3ac4a9a1c7995cd54e3a9187710f687ad1076f101ca8e7c6fc66eb2f64be3de0
MD5 37ba30505017802f203d00d746816847
BLAKE2b-256 d3db080cdab9d810a58b1af0e3ffc8557405760f7c12d2fa74004b9688ebef16

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.4-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 f1050100bc9e33a3bf958e9aa7de420185552d3d67a0cd8b443f73539f2215de
MD5 7bc5e2434f0d317d1cca4fa01e3540d3
BLAKE2b-256 0360b66fe5e3414b17fd08867c8b8e5ce396f6febea5174bb810d9a8d51cfe98

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.4-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 fe5b9a1b435d2d755ff8d416c0957cf8ee89dc434ec289a8fe0ffa19ecd8ef7a
MD5 1d930d3d6242b29a7506d9f61c2275bf
BLAKE2b-256 9026dc7c3ec4b6aded86395fb3db4bbb47fbad6d0e2101221f4b716acbb5266a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5036b3b65a8594c4fecaa0942f799130b741fc047b172546beea92da10806b0a
MD5 9b8a198fc08f9522a6349eef7031b3de
BLAKE2b-256 7dd0284a564c6e33b6c65ee283c53527f8639302a806158290f43292d1575285

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ncrystal_core-4.4.4-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3c7999977e983b55f34c8f11fccbd49ac00f8f32ce3eb1065327bd2086a45cb7
MD5 5ded0fe53eb31c5867dde9633615f79f
BLAKE2b-256 aab793922f061b369c68a3fa3e2bffb3b85c9432d041c7f4d1fdb0123d0c370d

See more details on using hashes here.

Provenance

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