Corrections#
- class pulserver.recon.Corrections[source]#
Bases:
objectThe corrections a shipped reconstruction makes to the images of one stream.
In order:
the Fermi filter of the k-space of each complex image the solve returns (
fermi_filtered()), historyFERMI;gradient nonlinearity correction (
gradient_unwarped()), historyGRADUNWARP, where the header states the coil’s table;the division of the magnitude images by the receive field (
IntensityCorrection), historyN4; real, imaginary and phase images are sent as reconstructed.
The header’s recon parameter
KSpaceFilter,GradientUnwarporIntensityCorrectionturns its step off where it is 0 or one of the off words ofSWITCH_WORDS, and on where it is any other number or an on word; where the header states none, or a value of neither kind, the argument decides. Which steps are on, and why any is off, is logged when the stream starts; each step is logged when it runs, atINFOfor the first image of the stream and atDEBUGafter. A step that fails leaves the image as it is, and the log says why. Make one per stream.- Parameters:
header (ismrmrd.xsd.ismrmrdHeader) – The stream’s header.
kspace_filter (bool, default=True) – Each step where the header states no recon parameter for it.
gradient_unwarp (bool, default=True) – Each step where the header states no recon parameter for it.
intensity_correction (bool, default=True) – Each step where the header states no recon parameter for it.
Methods
Return the history tags of the steps applied since the last call, in order, and forget them. |
|
Return |
|
Return |
|
Return |
|
Record a step a plugin made to the image itself, such as the EPI susceptibility correction. |
|
Return |