@gubaidulinvadim
Concerning attachment of self created tool, i think it was already discussed and the idea would be to add a add() method to Accelerator that will automatically do attachment to each cs or simulator instance.
tune2 = Tune('ALTUNE', quad_array_name='QCORR', response_matrix='respmat.json', betatron_tune_name='BETATRON_TUNE2')
tune2.attach(sr.design)
tune2.attach(sr.live)
print(tune2.tune_monitor)
should be:
tune2 = Tune('ALTUNE', quad_array_name='QCORR', response_matrix='respmat.json', betatron_tune_name='BETATRON_TUNE2')
sr.add(tune2)
print(tune2.tune_monitor)
Originally posted by @JeanLucPons in #418 (comment)
@gubaidulinvadim
Concerning attachment of self created tool, i think it was already discussed and the idea would be to add a add() method to
Acceleratorthat will automatically do attachment to each cs or simulator instance.should be:
Originally posted by @JeanLucPons in #418 (comment)