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)
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)