pcdshub / lightpath

LCLS Lightpath Module
https://pcdshub.github.io/lightpath
Other
4 stars 9 forks source link

Make LCLS-Specific Assumptions Configurable #109

Closed ZLLentz closed 1 year ago

ZLLentz commented 4 years ago

Expected Behavior

Any light source should be able to use lightpath, provided they know how their devices should be ordered and they satisfy the API

Current Behavior

Required to use happi that sorts on z, beamline

Possible Solution

Lightpath config file that picks which happi parameter to use for sorting sections, and which happi parameter to use for deciding what each section is

Context

It's not simple to use this outside of LCLS for collaborative efforts

klauer commented 4 years ago

(Based on Slack discussions) - we noted that while a directed, acyclic graph makes sense for LCLS, it absolutely does not make sense for a synchrotron facility. At best, we can say just a "directed graph".

Appropriate data structures and utilities to navigate them are a must here.

tangkong commented 2 years ago

To add onto this, we should probably allow users to configure: