Skip to main content

Tool to read McStas NeXus data and export contained information

Project description

McStasToX

Python package to read McStas data and export as python objects in different formats or as other files.

This project is still at prototype stage

The current version of the code is supposed to be a starting point to figure out how such a package should be structured, especially with regards to the API for the user. The demo notebook shows how the package can be used.

Dependencies

The core package only depends on

  • h5py
  • numpy

The different export formats, such as scipp, should not be core dependencies but only used when exporting to that format.

To run the demo notebook one will need

  • Recent McStas through conda (>3.5.20)
  • mcstasscript
  • matplotlib
  • scipp
  • scippneutron

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

mcstastox-0.0.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcstastox-0.0.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file mcstastox-0.0.0.tar.gz.

File metadata

  • Download URL: mcstastox-0.0.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for mcstastox-0.0.0.tar.gz
Algorithm Hash digest
SHA256 015fa21d6428ec4be72d3f2ad210864f41b1034794facc93b6ca19b89aa98574
MD5 5575ae02c3c0deab6b5c936338cdeed2
BLAKE2b-256 4c5110a73f547740c6b0357ba1116c9fae48261ebe3a4d67349ace33302b80cf

See more details on using hashes here.

File details

Details for the file mcstastox-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: mcstastox-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for mcstastox-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 99caee9902f3b73fea8cad14b6048c88233e0cb2bdd40c69379956a6f5ac7aae
MD5 ce05604fa03c4ee4698b05549f7dd553
BLAKE2b-256 f30712fab02c3c62837d80d4c4ecb236dcccd8a9e63a84b8878254a3ad57c902

See more details on using hashes here.

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