Sequence.get_definition#
- Sequence.get_definition()[source]#
Return the value recorded for
key, or''when it is not defined.- Parameters:
key (str) – The definition’s name.
- Returns:
The recorded value, or
''whenkeyis not defined.- Return type:
Examples
>>> import pypulseqpp as pp >>> seq = pp.Sequence() >>> seq.set_definition("FOV", [0.25, 0.25, 0.005]) >>> seq.get_definition("FOV"), seq.get_definition("Name") ([0.25, 0.25, 0.005], '')