예제 #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
파일: siemens.py 프로젝트: garikoitz/data
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
파일: ge.py 프로젝트: GCV9HTD/scitran-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)
예제 #4
0
파일: ge.py 프로젝트: 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)