Skip to main content

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, throw, plot_beamline

layout = s4_beamline_to_layout(beamline)
optical_path = throw(layout)
plot_beamline(layout)

Requirements

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


PyPI License: CeCILL-2.1 DOI

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.7.9.tar.gz (25.6 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.7.9-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for barc4shadow-2026.7.9.tar.gz
Algorithm Hash digest
SHA256 dd5c42cdb3d90975ebd8f42f48ea3fd9d08eb026e51093219ce846852225b670
MD5 aff8fcf7c7575c5f82544d5d31094f1b
BLAKE2b-256 e599fec845304afce74816c2477f2e91d226a4cefa58eb36cab972b337dc714d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: barc4shadow-2026.7.9-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for barc4shadow-2026.7.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4e55361a8c5a0d3bbbc700a9762939966f8a8afbddf5af5d5b3b657beb20aca7
MD5 2316e571a660b231b1b7d334c86bbabd
BLAKE2b-256 c2cdef5d27e6c8de3c10f2c96a68279d26df5505a8588dca164ce354276437ad

See more details on using hashes here.

Release history Release notifications | RSS feed

2026.7.22

2 files

2026.7.16

2 files

This release

2026.7.9 This release

2 files

2026.6.17

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page