镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
NSLS2Public

About

Importable tools for the HEX beamline

Resources

Stars

2 stars

Watchers

7 watching

Forks

Repository files navigation

hextools

CI PyPI - Version

Tools for the NSLS-II HEX beamline at Brookhaven National Laboratory.

Overview

hextools provides ophyd-async device definitions for motors and detectors used at the HEX beamline, including:

  • Motors — Filters, slits, monochromators, mirrors, and sample stages
  • Detectors — GeRM and Phantom camera support

The collection profile exposes a SampleSmall stage as sample_small, with ordinary ophyd-async motor components sample_small.x and sample_small.y. These replace the standalone sample_small_x and sample_small_y identifiers. Their motor records are XF:27IDF-OP:1{MC:3-Ax:SampleSX}Mtr and XF:27IDF-OP:1{MC:3-Ax:SampleSY}Mtr, respectively (from the legacy HEX MCF3 screen).

Installation

pip install hextools

Development

git clone https://github.com/NSLS2/hextools.git
cd hextools
uv sync

Run tests:

uv run pytest

License

BSD 3-Clause. See LICENSE for details.

About

Importable tools for the HEX beamline

Resources

Stars

2 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages