recon_parameters#
- pulserver.design.recon_parameters()[source]#
State values for the reconstruction as definitions of
sequence.Each value becomes the definition of its name, and the name is added to the
ReconParametersdefinition. The proxy writes each listed definition into the MRD header as auserParameterStringof the same name, which a reconstruction reads withpulserver.mrd.user_parameter().- Parameters:
sequence (pypulseqpp.Sequence) – The sequence the scan plays.
**values (int, float or str) – The values, by name; a name is a Pulseq definition key, with no spaces.
- Raises:
ValueError – If a name contains white space.
Examples
>>> import pypulseqpp as pp >>> from pulserver.design import recon_parameters >>> seq = pp.Sequence() >>> recon_parameters(seq, QsmAnatomy=1) >>> seq.get_definition("ReconParameters"), seq.get_definition("QsmAnatomy") ('QsmAnatomy', [1.0])