Skip to main content

Auxiliary functions for SHADOW4 beamlines

Project description

barc4shadow

Small helper package for SHADOW4 beamlines.

It converts SHADOW4 beamlines into a simple layout dictionary and provides Matplotlib plotting utilities for single or overlaid beamline configurations.

Install

pip install barc4shadow

For local development:

pip install -e .

Usage

from barc4shadow import s4_beamline_to_layout, plot_beamline

layout = s4_beamline_to_layout(beamline)
plot_beamline(layout)

Requirements

Python 3.10 or newer, with numpy, matplotlib, and shadow4.


License: CeCILL-2.1

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

barc4shadow-2026.6.17.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

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

barc4shadow-2026.6.17-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file barc4shadow-2026.6.17.tar.gz.

File metadata

  • Download URL: barc4shadow-2026.6.17.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for barc4shadow-2026.6.17.tar.gz
Algorithm Hash digest
SHA256 c253deb72a830104852df21c64e0c5ea9fa6194f12f62b9bf307a97859977588
MD5 8abd40fba651d9daaac81d538e5a5a49
BLAKE2b-256 23433bf44676a52524f760178602c4cb20a1bf8706cc90a4053acd13203cbd25

See more details on using hashes here.

File details

Details for the file barc4shadow-2026.6.17-py3-none-any.whl.

File metadata

File hashes

Hashes for barc4shadow-2026.6.17-py3-none-any.whl
Algorithm Hash digest
SHA256 b4653fda2e13c5719e217789d8355f41d6b3d4f36f8f83fec4d2b521bc3dcf0d
MD5 8b1dafa4608bee58590f53e8aee72cc7
BLAKE2b-256 ff04c98b297ebd930343b77260aa01e719f41a86ed40e277465d8f88292cc431

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