There is the question as to how to organize lattice element parameters. I propose a hierarchical structure (much like OpenPMD). At the top level there can be groups like MagMultipole, ElecMultipole, RF, Bend, Alignment, etc. All names should be case sensitive. My inclination is to use Upper camel case for top level names.
A dot . (alternatively this could be a slash /) can be used as a separator between levels. For example, Bend.angle, Bend.e1, RF.frequency, etc. My inclination is to use lower case for the second level names.
There may be parameters that are so unique that there are no other parameters to naturally group them with. In this case, these parameters can be left ungrouped. Examples may be the element length and the element name. The length could be represented by L, length or some such and the name by Name or name.
There is the question as to how to organize lattice element parameters. I propose a hierarchical structure (much like OpenPMD). At the top level there can be groups like
MagMultipole
,ElecMultipole
,RF
,Bend
,Alignment
, etc. All names should be case sensitive. My inclination is to use Upper camel case for top level names.A dot
.
(alternatively this could be a slash/
) can be used as a separator between levels. For example,Bend.angle
,Bend.e1
,RF.frequency
, etc. My inclination is to use lower case for the second level names.There may be parameters that are so unique that there are no other parameters to naturally group them with. In this case, these parameters can be left ungrouped. Examples may be the element length and the element name. The length could be represented by
L
,length
or some such and the name byName
orname
.Thoughts?