Features
-
Add
pcdscalc.xray
to the calc namespace. -
Add top-level shortcuts to some of the most used calcs,
E2lam
,lam2E
,bragg_angle
,darwin_width
, andtransmission
.E2lam
is an alias forenergy_to_wavelength
andlam2E
is an alias forwavelength_to_energy
to match scientist expectations. -
Added ability to ignore specific upstream devices when loading hutch-python.
UPSTREAM
: The hutch's devices, and devices upstream from the requested hutch. If there are multiple paths to the requested hutch, all paths devices are loaded.STANDARD
: Devices gathered viaUPSTREAM
, plus devices that share the "beamline" field in happi with theUPSTREAM
devices. (The current standard)ALL
: All devices in the happi database. Use this option at your own risk.
Bugfixes
- Make test_create_arg agnostic to where pytest was invoked from
- Fix an issue where the user could clobber their own
elog
object in a way that would allow theElogPoster
utility to load and then fail at scan time.
Maintenance
- Updates documentation formatting for device load_level, and adds an ascii beamline map to the test suite
Contributors
- janeliu-slac
- tangkong
- vespos
- zllentz
Full Changelog: v1.21.0...v1.22.0