class th2th(Macro):
"""th2th - scan:
Relative scan around current position in del and th with d_th=2*d_delta
"""
param_def = [
['rel_start_pos', Type.Float, -999, 'Scan start position'],
['rel_final_pos', Type.Float, -999, 'Scan final position'],
['nr_interv', Type.Integer, -999, 'Number of scan intervals'],
['integ_time', Type.Float, -999, 'Integration time']
]
p09/door/haso107d1.01 [35]: th2th -0.1 0.1 11 0.1 An error occurred while running Macro 'th2th(-0.1, 0.1, 11, 0.1)': 'NoneType' object has no attribute 'getPosition'