Hutch Python¶
hutch-python is the launcher and config reader for LCLS interactive IPython
sessions. The documentation is hosted at
https://pcdshub.github.io/hutch-python.
Requirements¶
This module is intended to be run using the latest pcds release in the pcds-envs package.
This module requires Python 3.6+ and the following utilities:
ipython, for improved interactive sessionspcdsdaq for using the daq in scans
pcdsdevices for our Device abstraction layers
elog for posting to the LCLS experiment elogs
happi to enable device loading from a happi database
psdm_qs_cli as an optional happi dependency for loading from the experiment questionnaire
lightpath organizes devices to provide a summarized state of the beamline as a whole
pyyaml, for reading config filescoloredlogs, for colored loggingpyfigletfor hutch banners (think bigxpppythonon startup)cookiecutter for starting new hutch repos
To connect to the LCLS DAQ, your environment must have access to
pydaqfor connecting to and running the daqpycdbfor changing daq object configurationspyamifor viewing data from the daq
These are not available outside of the slac intranet, and in some cases must be sync’d with the active DAQ versions, independent of all other packages.
To automatically select the current experiment, you must run with access to the LCLS NFS directories.