enrich_header#
- pulserver.proxy.enrich_header()[source]#
Write the table’s encoding spaces and sequence parameters into an MRD header, in place.
For every space, sets
reconSpacefrom the sequence’s matrix and field of view when defined, andencodedSpacefrom them with the readout of a Cartesian space widened to the samples of its full echo (TableSpace.readout_samples), the field of view along it growing in proportion, so that the ratio of the encoded to the reconstructed field of view is the readout oversampling.encodingLimitsare the extremes of the counters of its readouts, with the centre the sequence defines forkspace_encoding_step_1and_2and the middle of the range for the others, andtrajectoryisOTHERorCARTESIAN. Other fields of an existing encoding are kept; missing encodings are appended. Sequence parameters the table holds replace the header’s, and its diffusion table becomes thediffusion_tableuser parameter string, onex y z brow per volume (pulserver.mrd.diffusion_table()). Each recon parameter of the table becomes a user parameter string of its name.