예제 #1
0
파일: Reg.py 프로젝트: KrisThielemans/SIRF
 def print_headers(to_print):
     """Print nifti header metadata of one or multiple nifti images."""
     if not all(isinstance(n, NiftiImageData) for n in to_print):
         raise AssertionError()
     vec = SIRF.DataHandleVector()
     for n in to_print:
         vec.push_back(n.handle)
     try_calling(pyreg.cReg_NiftiImageData_print_headers(vec.handle))
예제 #2
0
파일: Reg.py 프로젝트: KrisThielemans/SIRF
 def print_header(self):
     """Print nifti header metadata."""
     vec = SIRF.DataHandleVector()
     vec.push_back(self.handle)
     try_calling(pyreg.cReg_NiftiImageData_print_headers(vec.handle))