Scan/Chain Preset
Scan or Chain Presets
Hooks in tomo scans based on bliss preset objects (https://bliss.gitlab-pages.esrf.fr/bliss/master/scan_engine_preset.html)
Ebs-tomo offers a list of presets that you can import from presets module:
from tomo.presets import *
How to add your own presets
#In your bliss session setup file#
fastshutterpreset = MyFastShutterPreset()
flat_scan=your_tomo_sequence_object.get_runner('flat')
# If your preset is a scan preset
flat_scan.add_scan_preset(fastshutterpreset, fastshutterpresetname)
# If your preset is a chain preset
flat_scan.add_chain_preset(fastshutterpreset, fastshutterpresetname)