Skip to content

barc4/barc4shadow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.


PyPI License: CeCILL-2.1 DOI

About

barc4shadow - barc library for Shadow utilities

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages