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.
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.22.tar.gz
(37.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file barc4shadow-2026.7.22.tar.gz.
File metadata
- Download URL: barc4shadow-2026.7.22.tar.gz
- Upload date:
- Size: 37.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46c685374e78d5398332f4f46b55fd28e9aca007737c026c121452f2251b9c87
|
|
| MD5 |
3fabc4da97ae79fc5cfc17c3bbc23313
|
|
| BLAKE2b-256 |
878f90feeb28769a925f14ff8d0f9860670ee7fa85ecccb0c341b97e267bef5f
|
File details
Details for the file barc4shadow-2026.7.22-py3-none-any.whl.
File metadata
- Download URL: barc4shadow-2026.7.22-py3-none-any.whl
- Upload date:
- Size: 38.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c028e9447207a2581658d9de0d1a52343ee4dbf84b32caefbae472211cf0361
|
|
| MD5 |
bc50a2bfb2a9d24f858c0f349b1f0316
|
|
| BLAKE2b-256 |
58fe7e9158b7a6637e2491530d5349a4194d1aaba31eea7fc08c603086babdae
|