SIVIC API
0.9.26
|
#include <svkPhaseSpec.h>
Public Member Functions | |
vtkTypeMacro (svkPhaseSpec, svkImageInPlaceFilter) | |
void | SetPhase0 (float phase0) |
float | GetPhase0 () |
void | SetLinearPhase (float phase0) |
float | GetLinearPhase () |
void | SetLinearPhasePivot (int linearPhasePivot) |
void | SetUpdateExtent (int *start, int *end) |
void | SetChannel (int channel) |
void | PhaseAllChannels () |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
Public Member Functions inherited from svkImageInPlaceFilter | |
vtkTypeMacro (svkImageInPlaceFilter, vtkImageInPlaceFilter) | |
svkImageData * | GetOutput () |
svkImageData * | GetOutput (int port) |
svkImageData * | GetImageDataInput (int port) |
Static Public Member Functions | |
static svkPhaseSpec * | New () |
static void | ZeroOrderPhase (float phi0, float *cmplxPt) |
static void | ZeroOrderPhase (float phi0, vtkFloatArray *spectrum) |
static void | FirstOrderPhase (float phi1, int pivotPoint, vtkFloatArray *spectrum) |
static void | FirstOrderPhase (float phi0, vtkImageComplex *linearPhaseArray, vtkFloatArray *spectrum) |
static void | FirstOrderPhase (float phi0, float phi1, int pivotPoint, vtkFloatArray *spectrum) |
Protected Member Functions | |
svkPhaseSpec () | |
~svkPhaseSpec () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Protected Member Functions inherited from svkImageInPlaceFilter | |
svkImageInPlaceFilter () | |
~svkImageInPlaceFilter () | |
virtual int | FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
virtual int | FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
Class to apply zero and (eventually) first order phase to spectra
|
protected |
|
protected |
|
protectedvirtual |
Port 0 is the required input port for the MRS data to be phased. Port 1 is the optional input port for a phase map of values to apply
|
static |
Applies first order phase to the complex spectrum. inputs: phi0, phase in radians phi1, phase in radians (pivot at center of spectrum (assume 0Hz spectrum
References svkSpecUtils::CreateLinearPhaseShiftArray().
Referenced by svkPhaseSpec::FirstOrderPhase(), and svkMRSFirstOrderPhase::FitPhase().
|
static |
Applies a zero and first order phase to the complex spectrum. inputs: phi0, phase in radians phi1, phase in radians (pivot at center of spectrum (assume 0Hz spectrum
|
static |
Applies a zero and first order phase to the complex spectrum. inputs: phi0, phase in radians phi1, phase in radians (pivot at center of spectrum (assume 0Hz spectrum
References svkSpecUtils::CreateLinearPhaseShiftArray(), and svkPhaseSpec::FirstOrderPhase().
float GetLinearPhase | ( | ) |
This returns the current data phase, which may differ from the value input to SetLinearPhase until the data has been updated.
float GetPhase0 | ( | ) |
This returns the current data phase, which may differ from the value input to SetPhase0 until the data has been updated.
|
static |
Referenced by svkMultiCoilPhase::RequestData(), and svkMultiCoilPhase::svkMultiCoilPhase().
void PhaseAllChannels | ( | ) |
|
virtual |
PrintSelf method calls parent class PrintSelf, then prints the dcos.
|
protectedvirtual |
Phase data, either using a phaseMap, or by applying a global phase
References svkImageInPlaceFilter::GetImageDataInput().
|
protectedvirtual |
void SetChannel | ( | int | channel | ) |
Referenced by svkMultiCoilPhase::RequestData().
void SetLinearPhase | ( | float | linearPhase | ) |
Sets the linear phase to apply to spectra.
void SetLinearPhasePivot | ( | int | linearPhasePivot | ) |
void SetPhase0 | ( | float | phase0 | ) |
Sets the zero order phase to apply to spectra. Phase is input in degrees.
Referenced by svkMultiCoilPhase::RequestData().
void SetUpdateExtent | ( | int * | start, |
int * | end | ||
) |
Sets the extent over which the phasing should be applied. Takes 2 sets of x,y,z indices that specify the extent range in 3D.
Referenced by svkMultiCoilPhase::RequestData().
vtkTypeMacro | ( | svkPhaseSpec | , |
svkImageInPlaceFilter | |||
) |
|
static |
Applies a zero order phase to the complex values input tuple, representing the re and im intensity at a given frequency point. inputs: phi0, phase in radians cmplxPt, complex float array with 2 elements: real, imaginary
Referenced by svkMRSZeroOrderPhase::FitPhase(), svkMRSFirstPointPhase::FitPhase(), svkMRSFirstPointPhaseCostFunction::GetFirstPointPhaseValue0(), svkMRSZeroOrderPhaseCostFunction::GetZeroOrderPhaseCost_2(), and svkPhaseSpec::ZeroOrderPhase().
|
static |
Applies a zero order phase to the complex spectrum. inputs: phi0, phase in radians spectrum
References svkPhaseSpec::ZeroOrderPhase().