Пример #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)
Пример #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)
Пример #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)
Пример #4
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)