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.16.tar.gz (34.2 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.16-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: barc4shadow-2026.7.16.tar.gz
  • Upload date:
  • Size: 34.2 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.16.tar.gz
Algorithm Hash digest
SHA256 7435b0bf8af31541bb49525aa176a5747cd9b4bb9331fc83d75fcf4781e00112
MD5 3739fdbe3c47a6e919c16d8e0e8347d5
BLAKE2b-256 925f2f0d947222a141f90a8db93ba638fd6acd22865492e1cc14eb0101dd9f14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for barc4shadow-2026.7.16-py3-none-any.whl
Algorithm Hash digest
SHA256 ae0ce25dd266c060464e98ecb10d3b3e334205bce13fb5977fec4686c24ed40e
MD5 cfe96d97f25e9e29d85d858f97131f83
BLAKE2b-256 f8ac5fceaca49a8b5e15de76ca3035fcc3263a18ab39f8d9e6395da3ff93958a

See more details on using hashes here.

Release history Release notifications | RSS feed

2026.7.22

2 files

This release

2026.7.16 This release

2 files

2026.7.9

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