Eidolon
Classes | Functions | Variables
eidolon.plugins.ParRecPlugin Namespace Reference

Classes

class  ParRecPlugin
 

Functions

def parseParFile (filename)
 
def getTransformFromInfo (offcenter, angulation, sliceorient, spacing, dimensions)
 

Variables

 genInfoFields
 
 imgInfoFields
 
 ImageTypes
 
 SliceOrientations
 

Function Documentation

◆ getTransformFromInfo()

def eidolon.plugins.ParRecPlugin.getTransformFromInfo (   offcenter,
  angulation,
  sliceorient,
  spacing,
  dimensions 
)
Returns a (vec3,rotator) pair for the position and orientation of an image given the ParRec parameters for
offcenter position, angulation in degrees, slice orientation value from SliceOrientations, pixel spacing,
and image dimensions.
Here is the caller graph for this function:

◆ parseParFile()

def eidolon.plugins.ParRecPlugin.parseParFile (   filename)
Here is the caller graph for this function:

Variable Documentation

◆ genInfoFields

genInfoFields

◆ ImageTypes

ImageTypes
Initial value:
1 = enum(
2  ('Magnitude',0),
3  ('Phase',3)
4 )

◆ imgInfoFields

imgInfoFields

◆ SliceOrientations

SliceOrientations
Initial value:
1 = enum(
2  ('Transverse',1),
3  ('Sagittal',2),
4  ('Coronal',3)
5 )