Example #1
0
def convert(self):
    """
    Composer function, determines which convert function to use.

    Called by NIMSDicom load_data if dicom manufacturer is Siemens.

    """
    if self.is_non_image:
        mr.non_image_handler(self)
    elif self.is_localizer:
        mr.localizer_convert(self)
    else:
        mr.standard_convert(self)
Example #2
0
def convert(self):
    """
    Composer function, determines which convert function to use.

    Called by NIMSDicom load_data if dicom manufacturer is Siemens.

    """
    if self.is_non_image:
        mr.non_image_handler(self)
    elif self.is_localizer:
        mr.localizer_convert(self)
    else:
        mr.standard_convert(self)
Example #3
0
def convert(self):
    """
    Composer function, determines which convert function to use.

    Called by NIMSDicom load_data if dicom manufacturer is GE Medical Systems.

    """
    if self.is_non_image:
        mr.non_image_handler(self)
    elif self.is_localizer:
        mr.localizer_convert(self)
    elif self.is_multicoil:
        multicoil_convert(self)
    elif self.is_fastcard:
        fastcard_convert(self)
    else:
        mr.standard_convert(self)
Example #4
0
File: ge.py Project: garikoitz/data
def convert(self):
    """
    Composer function, determines which convert function to use.

    Called by NIMSDicom load_data if dicom manufacturer is GE Medical Systems.

    """
    if self.is_non_image:
        mr.non_image_handler(self)
    elif self.is_localizer:
        mr.localizer_convert(self)
    elif self.is_multicoil:
        multicoil_convert(self)
    elif self.is_fastcard:
        fastcard_convert(self)
    else:
        mr.standard_convert(self)