SequencePlugin.generate#
- SequencePlugin.generate()[source]#
Return what
design()writes for a protocol.The hook a subclass overrides to build the sequence. The default returns
app(system, **protocol.arguments).- Parameters:
system – The scanner limits the sequence is designed under.
protocol – The requested protocol, in the units of the sequence function’s arguments.
- Returns:
A sequence, or a chain of them, prescans first and the main sequence last.
- Return type: