Dt pv descriptions - #75
bhardwaj-gopika wants to merge 4 commits into
Conversation
|
@roussel-ryan @pluflou Are we okay with description for each element? |
For context for Ryan, the idea is that generic element descriptions would be in the VA, and then at the DT layer we append a deployment description such as I like this especially if it's helpful, but I don't think these machine PVs even have descriptions as it is. I would almost prefer a generic description for everything in the model that focuses on the model itself e.g. bmad vs impact, and at the DT later we can append specific deployment specs like model and end element. |
|
This all looks fine to me, I would add similar descriptions for impact and cheetah actions. Eventually we will make this process more consistent across backend simulation types, but hardcoding it is a fine intermediate solution |
Sets a description class attribute on each Bmad action variable class in virtual_accelerator/bmad/actions.py. Variable.description (introduced upstream in lume-base) is already inherited by every action class; each concrete class now just declares one line stating what kind of PV it represents (e.g. "Quadrupole magnet field integral setpoint (BDES)").
`>>> val = ctxt.get('BPMS:IN20:631:X_LUME_SM1')