polar-bits#
Bluesky-based data acquisition for the POLAR beamline (4ID) at the Advanced Photon Source.
polar-bits is built on the BITS (Bluesky Instrument Toolkit Structure) framework and provides a shared device library, scan plans, and data output callbacks for three hutches and the Raman offline setup: 4IDB, 4IDG, 4IDH, and Raman.
Installation, first session, loading devices.
lup, ascan, grid_scan, qxscan, DM workflow submission.
Lookup tables: all core, 4IDB, 4IDG, and 4IDH devices.
experiment_setup, counters.plotselect, scans, data access.
Startup scripts, motor shortcuts, writing Bluesky plans.
Diffractometer setup, HKL navigation, reciprocal-space scans.
Magnet 9-1-1 field sweeps, XMCD spectroscopy, temperature series.
Common questions: plots, baseline, pause/resume, peak finding.
Advanced#
Multi-beamline structure, startup flow, station labels.
iconfig.yml and devices.yml explained.
PV-agnostic pattern, deferred connection, factory classes.
SPEC, NeXus/HDF5, and dichroism stream output.
Start/restart the QueueServer per beamline.
Full auto-generated API for all packages.