improve mechanism to determine aliases
- meanings from name guessing has sligthly lower importance then given meanings - then temperature meaning is missing, take temperature_regulation
This commit is contained in:
@ -19,32 +19,32 @@ devices = dict(
|
||||
# given by the SECoP standard (10: instrument, 20: cryostat, 30: insert)
|
||||
temperature = { # the SECoP meaning
|
||||
'alias': 'Ts', # the name(s) to be given to the alias
|
||||
'targets': # possible devices in addition with importance
|
||||
{'se_ts': 20, 'se_tt': 19, 'se_tm': 18},
|
||||
'targets': # possible devices in addition with importance (numbers assume its on the cryo)
|
||||
{'se_ts': 19, 'se_tt': 18, 'se_tm': 17},
|
||||
},
|
||||
temperature_regulation = {
|
||||
'alias': 'T',
|
||||
'targets': {'se_ts': 20, 'se_tt': 19, 'se_tm': 18, 'se_T_stat': 17},
|
||||
'targets': {'se_ts': 19, 'se_tt': 18, 'se_tm': 17, 'se_T_stat': 16},
|
||||
'drivable_only': True,
|
||||
},
|
||||
magneticfield = {
|
||||
'alias': 'B',
|
||||
'targets': {'se_mf': 20},
|
||||
'targets': {'se_mf': 19},
|
||||
},
|
||||
pressure = {
|
||||
'alias': 'p',
|
||||
'targets': {'se_pressure': 20},
|
||||
'targets': {'se_pressure': 19},
|
||||
},
|
||||
rotation_z={
|
||||
# possible names of the instruments main omega alias
|
||||
# only one of these must be an alias, and this is then used
|
||||
'predefined_alias': ['a3', 'om'],
|
||||
'targets': {'se_om': 20},
|
||||
'targets': {'se_om': 19},
|
||||
'envlist': False,
|
||||
},
|
||||
stick_rotation={
|
||||
'alias': 'dom',
|
||||
'targets': {'se_om': 20, 'se_stickrot': 19},
|
||||
'targets': {'se_om': 19, 'se_stickrot': 18},
|
||||
'envlist': False,
|
||||
}
|
||||
)
|
||||
|
Reference in New Issue
Block a user