# This file was created automatically by SWIG. # Don't modify this file, modify the SWIG interface instead. # This file is compatible with both classic and new-style classes. """ This module provide the all functions and datatypes implemented in the low-level C library libniftiio and the NIfTI-1 header. At the moment no additional documentation is provided here. Please see the intensively documented source code of the nifti C libs to learn about the capabilities of the library. """ import _nifticlib def _swig_setattr_nondynamic(self,class_type,name,value,static=1): if (name == "this"): if isinstance(value, class_type): self.__dict__[name] = value.this if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown del value.thisown return method = class_type.__swig_setmethods__.get(name,None) if method: return method(self,value) if (not static) or hasattr(self,name) or (name == "thisown"): self.__dict__[name] = value else: raise AttributeError("You cannot add attributes to %s" % self) def _swig_setattr(self,class_type,name,value): return _swig_setattr_nondynamic(self,class_type,name,value,0) def _swig_getattr(self,class_type,name): method = class_type.__swig_getmethods__.get(name,None) if method: return method(self) raise AttributeError,name import types try: _object = types.ObjectType _newclass = 1 except AttributeError: class _object : pass _newclass = 0 del types nifti_mat44_to_quatern = _nifticlib.nifti_mat44_to_quatern nifti_mat44_to_orientation = _nifticlib.nifti_mat44_to_orientation class znzptr(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, znzptr, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, znzptr, name) def __repr__(self): return "<%s.%s; proxy of C znzptr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) __swig_setmethods__["withz"] = _nifticlib.znzptr_withz_set __swig_getmethods__["withz"] = _nifticlib.znzptr_withz_get if _newclass:withz = property(_nifticlib.znzptr_withz_get, _nifticlib.znzptr_withz_set) __swig_setmethods__["nzfptr"] = _nifticlib.znzptr_nzfptr_set __swig_getmethods__["nzfptr"] = _nifticlib.znzptr_nzfptr_get if _newclass:nzfptr = property(_nifticlib.znzptr_nzfptr_get, _nifticlib.znzptr_nzfptr_set) def __init__(self, *args): _swig_setattr(self, znzptr, 'this', _nifticlib.new_znzptr(*args)) _swig_setattr(self, znzptr, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_znzptr): try: if self.thisown: destroy(self) except: pass class znzptrPtr(znzptr): def __init__(self, this): _swig_setattr(self, znzptr, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, znzptr, 'thisown', 0) _swig_setattr(self, znzptr,self.__class__,znzptr) _nifticlib.znzptr_swigregister(znzptrPtr) znzopen = _nifticlib.znzopen znzdopen = _nifticlib.znzdopen Xznzclose = _nifticlib.Xznzclose znzread = _nifticlib.znzread znzwrite = _nifticlib.znzwrite znzseek = _nifticlib.znzseek znzrewind = _nifticlib.znzrewind znztell = _nifticlib.znztell znzputs = _nifticlib.znzputs znzgets = _nifticlib.znzgets znzputc = _nifticlib.znzputc znzgetc = _nifticlib.znzgetc znzprintf = _nifticlib.znzprintf class nifti_1_header(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, nifti_1_header, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, nifti_1_header, name) def __repr__(self): return "<%s.%s; proxy of C nifti_1_header instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) __swig_setmethods__["sizeof_hdr"] = _nifticlib.nifti_1_header_sizeof_hdr_set __swig_getmethods__["sizeof_hdr"] = _nifticlib.nifti_1_header_sizeof_hdr_get if _newclass:sizeof_hdr = property(_nifticlib.nifti_1_header_sizeof_hdr_get, _nifticlib.nifti_1_header_sizeof_hdr_set) __swig_setmethods__["data_type"] = _nifticlib.nifti_1_header_data_type_set __swig_getmethods__["data_type"] = _nifticlib.nifti_1_header_data_type_get if _newclass:data_type = property(_nifticlib.nifti_1_header_data_type_get, _nifticlib.nifti_1_header_data_type_set) __swig_setmethods__["db_name"] = _nifticlib.nifti_1_header_db_name_set __swig_getmethods__["db_name"] = _nifticlib.nifti_1_header_db_name_get if _newclass:db_name = property(_nifticlib.nifti_1_header_db_name_get, _nifticlib.nifti_1_header_db_name_set) __swig_setmethods__["extents"] = _nifticlib.nifti_1_header_extents_set __swig_getmethods__["extents"] = _nifticlib.nifti_1_header_extents_get if _newclass:extents = property(_nifticlib.nifti_1_header_extents_get, _nifticlib.nifti_1_header_extents_set) __swig_setmethods__["session_error"] = _nifticlib.nifti_1_header_session_error_set __swig_getmethods__["session_error"] = _nifticlib.nifti_1_header_session_error_get if _newclass:session_error = property(_nifticlib.nifti_1_header_session_error_get, _nifticlib.nifti_1_header_session_error_set) __swig_setmethods__["regular"] = _nifticlib.nifti_1_header_regular_set __swig_getmethods__["regular"] = _nifticlib.nifti_1_header_regular_get if _newclass:regular = property(_nifticlib.nifti_1_header_regular_get, _nifticlib.nifti_1_header_regular_set) __swig_setmethods__["dim_info"] = _nifticlib.nifti_1_header_dim_info_set __swig_getmethods__["dim_info"] = _nifticlib.nifti_1_header_dim_info_get if _newclass:dim_info = property(_nifticlib.nifti_1_header_dim_info_get, _nifticlib.nifti_1_header_dim_info_set) __swig_setmethods__["dim"] = _nifticlib.nifti_1_header_dim_set __swig_getmethods__["dim"] = _nifticlib.nifti_1_header_dim_get if _newclass:dim = property(_nifticlib.nifti_1_header_dim_get, _nifticlib.nifti_1_header_dim_set) __swig_setmethods__["intent_p1"] = _nifticlib.nifti_1_header_intent_p1_set __swig_getmethods__["intent_p1"] = _nifticlib.nifti_1_header_intent_p1_get if _newclass:intent_p1 = property(_nifticlib.nifti_1_header_intent_p1_get, _nifticlib.nifti_1_header_intent_p1_set) __swig_setmethods__["intent_p2"] = _nifticlib.nifti_1_header_intent_p2_set __swig_getmethods__["intent_p2"] = _nifticlib.nifti_1_header_intent_p2_get if _newclass:intent_p2 = property(_nifticlib.nifti_1_header_intent_p2_get, _nifticlib.nifti_1_header_intent_p2_set) __swig_setmethods__["intent_p3"] = _nifticlib.nifti_1_header_intent_p3_set __swig_getmethods__["intent_p3"] = _nifticlib.nifti_1_header_intent_p3_get if _newclass:intent_p3 = property(_nifticlib.nifti_1_header_intent_p3_get, _nifticlib.nifti_1_header_intent_p3_set) __swig_setmethods__["intent_code"] = _nifticlib.nifti_1_header_intent_code_set __swig_getmethods__["intent_code"] = _nifticlib.nifti_1_header_intent_code_get if _newclass:intent_code = property(_nifticlib.nifti_1_header_intent_code_get, _nifticlib.nifti_1_header_intent_code_set) __swig_setmethods__["datatype"] = _nifticlib.nifti_1_header_datatype_set __swig_getmethods__["datatype"] = _nifticlib.nifti_1_header_datatype_get if _newclass:datatype = property(_nifticlib.nifti_1_header_datatype_get, _nifticlib.nifti_1_header_datatype_set) __swig_setmethods__["bitpix"] = _nifticlib.nifti_1_header_bitpix_set __swig_getmethods__["bitpix"] = _nifticlib.nifti_1_header_bitpix_get if _newclass:bitpix = property(_nifticlib.nifti_1_header_bitpix_get, _nifticlib.nifti_1_header_bitpix_set) __swig_setmethods__["slice_start"] = _nifticlib.nifti_1_header_slice_start_set __swig_getmethods__["slice_start"] = _nifticlib.nifti_1_header_slice_start_get if _newclass:slice_start = property(_nifticlib.nifti_1_header_slice_start_get, _nifticlib.nifti_1_header_slice_start_set) __swig_setmethods__["pixdim"] = _nifticlib.nifti_1_header_pixdim_set __swig_getmethods__["pixdim"] = _nifticlib.nifti_1_header_pixdim_get if _newclass:pixdim = property(_nifticlib.nifti_1_header_pixdim_get, _nifticlib.nifti_1_header_pixdim_set) __swig_setmethods__["vox_offset"] = _nifticlib.nifti_1_header_vox_offset_set __swig_getmethods__["vox_offset"] = _nifticlib.nifti_1_header_vox_offset_get if _newclass:vox_offset = property(_nifticlib.nifti_1_header_vox_offset_get, _nifticlib.nifti_1_header_vox_offset_set) __swig_setmethods__["scl_slope"] = _nifticlib.nifti_1_header_scl_slope_set __swig_getmethods__["scl_slope"] = _nifticlib.nifti_1_header_scl_slope_get if _newclass:scl_slope = property(_nifticlib.nifti_1_header_scl_slope_get, _nifticlib.nifti_1_header_scl_slope_set) __swig_setmethods__["scl_inter"] = _nifticlib.nifti_1_header_scl_inter_set __swig_getmethods__["scl_inter"] = _nifticlib.nifti_1_header_scl_inter_get if _newclass:scl_inter = property(_nifticlib.nifti_1_header_scl_inter_get, _nifticlib.nifti_1_header_scl_inter_set) __swig_setmethods__["slice_end"] = _nifticlib.nifti_1_header_slice_end_set __swig_getmethods__["slice_end"] = _nifticlib.nifti_1_header_slice_end_get if _newclass:slice_end = property(_nifticlib.nifti_1_header_slice_end_get, _nifticlib.nifti_1_header_slice_end_set) __swig_setmethods__["slice_code"] = _nifticlib.nifti_1_header_slice_code_set __swig_getmethods__["slice_code"] = _nifticlib.nifti_1_header_slice_code_get if _newclass:slice_code = property(_nifticlib.nifti_1_header_slice_code_get, _nifticlib.nifti_1_header_slice_code_set) __swig_setmethods__["xyzt_units"] = _nifticlib.nifti_1_header_xyzt_units_set __swig_getmethods__["xyzt_units"] = _nifticlib.nifti_1_header_xyzt_units_get if _newclass:xyzt_units = property(_nifticlib.nifti_1_header_xyzt_units_get, _nifticlib.nifti_1_header_xyzt_units_set) __swig_setmethods__["cal_max"] = _nifticlib.nifti_1_header_cal_max_set __swig_getmethods__["cal_max"] = _nifticlib.nifti_1_header_cal_max_get if _newclass:cal_max = property(_nifticlib.nifti_1_header_cal_max_get, _nifticlib.nifti_1_header_cal_max_set) __swig_setmethods__["cal_min"] = _nifticlib.nifti_1_header_cal_min_set __swig_getmethods__["cal_min"] = _nifticlib.nifti_1_header_cal_min_get if _newclass:cal_min = property(_nifticlib.nifti_1_header_cal_min_get, _nifticlib.nifti_1_header_cal_min_set) __swig_setmethods__["slice_duration"] = _nifticlib.nifti_1_header_slice_duration_set __swig_getmethods__["slice_duration"] = _nifticlib.nifti_1_header_slice_duration_get if _newclass:slice_duration = property(_nifticlib.nifti_1_header_slice_duration_get, _nifticlib.nifti_1_header_slice_duration_set) __swig_setmethods__["toffset"] = _nifticlib.nifti_1_header_toffset_set __swig_getmethods__["toffset"] = _nifticlib.nifti_1_header_toffset_get if _newclass:toffset = property(_nifticlib.nifti_1_header_toffset_get, _nifticlib.nifti_1_header_toffset_set) __swig_setmethods__["glmax"] = _nifticlib.nifti_1_header_glmax_set __swig_getmethods__["glmax"] = _nifticlib.nifti_1_header_glmax_get if _newclass:glmax = property(_nifticlib.nifti_1_header_glmax_get, _nifticlib.nifti_1_header_glmax_set) __swig_setmethods__["glmin"] = _nifticlib.nifti_1_header_glmin_set __swig_getmethods__["glmin"] = _nifticlib.nifti_1_header_glmin_get if _newclass:glmin = property(_nifticlib.nifti_1_header_glmin_get, _nifticlib.nifti_1_header_glmin_set) __swig_setmethods__["descrip"] = _nifticlib.nifti_1_header_descrip_set __swig_getmethods__["descrip"] = _nifticlib.nifti_1_header_descrip_get if _newclass:descrip = property(_nifticlib.nifti_1_header_descrip_get, _nifticlib.nifti_1_header_descrip_set) __swig_setmethods__["aux_file"] = _nifticlib.nifti_1_header_aux_file_set __swig_getmethods__["aux_file"] = _nifticlib.nifti_1_header_aux_file_get if _newclass:aux_file = property(_nifticlib.nifti_1_header_aux_file_get, _nifticlib.nifti_1_header_aux_file_set) __swig_setmethods__["qform_code"] = _nifticlib.nifti_1_header_qform_code_set __swig_getmethods__["qform_code"] = _nifticlib.nifti_1_header_qform_code_get if _newclass:qform_code = property(_nifticlib.nifti_1_header_qform_code_get, _nifticlib.nifti_1_header_qform_code_set) __swig_setmethods__["sform_code"] = _nifticlib.nifti_1_header_sform_code_set __swig_getmethods__["sform_code"] = _nifticlib.nifti_1_header_sform_code_get if _newclass:sform_code = property(_nifticlib.nifti_1_header_sform_code_get, _nifticlib.nifti_1_header_sform_code_set) __swig_setmethods__["quatern_b"] = _nifticlib.nifti_1_header_quatern_b_set __swig_getmethods__["quatern_b"] = _nifticlib.nifti_1_header_quatern_b_get if _newclass:quatern_b = property(_nifticlib.nifti_1_header_quatern_b_get, _nifticlib.nifti_1_header_quatern_b_set) __swig_setmethods__["quatern_c"] = _nifticlib.nifti_1_header_quatern_c_set __swig_getmethods__["quatern_c"] = _nifticlib.nifti_1_header_quatern_c_get if _newclass:quatern_c = property(_nifticlib.nifti_1_header_quatern_c_get, _nifticlib.nifti_1_header_quatern_c_set) __swig_setmethods__["quatern_d"] = _nifticlib.nifti_1_header_quatern_d_set __swig_getmethods__["quatern_d"] = _nifticlib.nifti_1_header_quatern_d_get if _newclass:quatern_d = property(_nifticlib.nifti_1_header_quatern_d_get, _nifticlib.nifti_1_header_quatern_d_set) __swig_setmethods__["qoffset_x"] = _nifticlib.nifti_1_header_qoffset_x_set __swig_getmethods__["qoffset_x"] = _nifticlib.nifti_1_header_qoffset_x_get if _newclass:qoffset_x = property(_nifticlib.nifti_1_header_qoffset_x_get, _nifticlib.nifti_1_header_qoffset_x_set) __swig_setmethods__["qoffset_y"] = _nifticlib.nifti_1_header_qoffset_y_set __swig_getmethods__["qoffset_y"] = _nifticlib.nifti_1_header_qoffset_y_get if _newclass:qoffset_y = property(_nifticlib.nifti_1_header_qoffset_y_get, _nifticlib.nifti_1_header_qoffset_y_set) __swig_setmethods__["qoffset_z"] = _nifticlib.nifti_1_header_qoffset_z_set __swig_getmethods__["qoffset_z"] = _nifticlib.nifti_1_header_qoffset_z_get if _newclass:qoffset_z = property(_nifticlib.nifti_1_header_qoffset_z_get, _nifticlib.nifti_1_header_qoffset_z_set) __swig_setmethods__["srow_x"] = _nifticlib.nifti_1_header_srow_x_set __swig_getmethods__["srow_x"] = _nifticlib.nifti_1_header_srow_x_get if _newclass:srow_x = property(_nifticlib.nifti_1_header_srow_x_get, _nifticlib.nifti_1_header_srow_x_set) __swig_setmethods__["srow_y"] = _nifticlib.nifti_1_header_srow_y_set __swig_getmethods__["srow_y"] = _nifticlib.nifti_1_header_srow_y_get if _newclass:srow_y = property(_nifticlib.nifti_1_header_srow_y_get, _nifticlib.nifti_1_header_srow_y_set) __swig_setmethods__["srow_z"] = _nifticlib.nifti_1_header_srow_z_set __swig_getmethods__["srow_z"] = _nifticlib.nifti_1_header_srow_z_get if _newclass:srow_z = property(_nifticlib.nifti_1_header_srow_z_get, _nifticlib.nifti_1_header_srow_z_set) __swig_setmethods__["intent_name"] = _nifticlib.nifti_1_header_intent_name_set __swig_getmethods__["intent_name"] = _nifticlib.nifti_1_header_intent_name_get if _newclass:intent_name = property(_nifticlib.nifti_1_header_intent_name_get, _nifticlib.nifti_1_header_intent_name_set) __swig_setmethods__["magic"] = _nifticlib.nifti_1_header_magic_set __swig_getmethods__["magic"] = _nifticlib.nifti_1_header_magic_get if _newclass:magic = property(_nifticlib.nifti_1_header_magic_get, _nifticlib.nifti_1_header_magic_set) def __init__(self, *args): _swig_setattr(self, nifti_1_header, 'this', _nifticlib.new_nifti_1_header(*args)) _swig_setattr(self, nifti_1_header, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_nifti_1_header): try: if self.thisown: destroy(self) except: pass class nifti_1_headerPtr(nifti_1_header): def __init__(self, this): _swig_setattr(self, nifti_1_header, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, nifti_1_header, 'thisown', 0) _swig_setattr(self, nifti_1_header,self.__class__,nifti_1_header) _nifticlib.nifti_1_header_swigregister(nifti_1_headerPtr) class nifti1_extender(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, nifti1_extender, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, nifti1_extender, name) def __repr__(self): return "<%s.%s; proxy of C nifti1_extender instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) __swig_setmethods__["extension"] = _nifticlib.nifti1_extender_extension_set __swig_getmethods__["extension"] = _nifticlib.nifti1_extender_extension_get if _newclass:extension = property(_nifticlib.nifti1_extender_extension_get, _nifticlib.nifti1_extender_extension_set) def __init__(self, *args): _swig_setattr(self, nifti1_extender, 'this', _nifticlib.new_nifti1_extender(*args)) _swig_setattr(self, nifti1_extender, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_nifti1_extender): try: if self.thisown: destroy(self) except: pass class nifti1_extenderPtr(nifti1_extender): def __init__(self, this): _swig_setattr(self, nifti1_extender, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, nifti1_extender, 'thisown', 0) _swig_setattr(self, nifti1_extender,self.__class__,nifti1_extender) _nifticlib.nifti1_extender_swigregister(nifti1_extenderPtr) class nifti1_extension(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, nifti1_extension, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, nifti1_extension, name) def __repr__(self): return "<%s.%s; proxy of C nifti1_extension instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) __swig_setmethods__["esize"] = _nifticlib.nifti1_extension_esize_set __swig_getmethods__["esize"] = _nifticlib.nifti1_extension_esize_get if _newclass:esize = property(_nifticlib.nifti1_extension_esize_get, _nifticlib.nifti1_extension_esize_set) __swig_setmethods__["ecode"] = _nifticlib.nifti1_extension_ecode_set __swig_getmethods__["ecode"] = _nifticlib.nifti1_extension_ecode_get if _newclass:ecode = property(_nifticlib.nifti1_extension_ecode_get, _nifticlib.nifti1_extension_ecode_set) __swig_setmethods__["edata"] = _nifticlib.nifti1_extension_edata_set __swig_getmethods__["edata"] = _nifticlib.nifti1_extension_edata_get if _newclass:edata = property(_nifticlib.nifti1_extension_edata_get, _nifticlib.nifti1_extension_edata_set) def __init__(self, *args): _swig_setattr(self, nifti1_extension, 'this', _nifticlib.new_nifti1_extension(*args)) _swig_setattr(self, nifti1_extension, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_nifti1_extension): try: if self.thisown: destroy(self) except: pass class nifti1_extensionPtr(nifti1_extension): def __init__(self, this): _swig_setattr(self, nifti1_extension, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, nifti1_extension, 'thisown', 0) _swig_setattr(self, nifti1_extension,self.__class__,nifti1_extension) _nifticlib.nifti1_extension_swigregister(nifti1_extensionPtr) DT_NONE = _nifticlib.DT_NONE DT_UNKNOWN = _nifticlib.DT_UNKNOWN DT_BINARY = _nifticlib.DT_BINARY DT_UNSIGNED_CHAR = _nifticlib.DT_UNSIGNED_CHAR DT_SIGNED_SHORT = _nifticlib.DT_SIGNED_SHORT DT_SIGNED_INT = _nifticlib.DT_SIGNED_INT DT_FLOAT = _nifticlib.DT_FLOAT DT_COMPLEX = _nifticlib.DT_COMPLEX DT_DOUBLE = _nifticlib.DT_DOUBLE DT_RGB = _nifticlib.DT_RGB DT_ALL = _nifticlib.DT_ALL DT_UINT8 = _nifticlib.DT_UINT8 DT_INT16 = _nifticlib.DT_INT16 DT_INT32 = _nifticlib.DT_INT32 DT_FLOAT32 = _nifticlib.DT_FLOAT32 DT_COMPLEX64 = _nifticlib.DT_COMPLEX64 DT_FLOAT64 = _nifticlib.DT_FLOAT64 DT_RGB24 = _nifticlib.DT_RGB24 DT_INT8 = _nifticlib.DT_INT8 DT_UINT16 = _nifticlib.DT_UINT16 DT_UINT32 = _nifticlib.DT_UINT32 DT_INT64 = _nifticlib.DT_INT64 DT_UINT64 = _nifticlib.DT_UINT64 DT_FLOAT128 = _nifticlib.DT_FLOAT128 DT_COMPLEX128 = _nifticlib.DT_COMPLEX128 DT_COMPLEX256 = _nifticlib.DT_COMPLEX256 DT_RGBA32 = _nifticlib.DT_RGBA32 NIFTI_TYPE_UINT8 = _nifticlib.NIFTI_TYPE_UINT8 NIFTI_TYPE_INT16 = _nifticlib.NIFTI_TYPE_INT16 NIFTI_TYPE_INT32 = _nifticlib.NIFTI_TYPE_INT32 NIFTI_TYPE_FLOAT32 = _nifticlib.NIFTI_TYPE_FLOAT32 NIFTI_TYPE_COMPLEX64 = _nifticlib.NIFTI_TYPE_COMPLEX64 NIFTI_TYPE_FLOAT64 = _nifticlib.NIFTI_TYPE_FLOAT64 NIFTI_TYPE_RGB24 = _nifticlib.NIFTI_TYPE_RGB24 NIFTI_TYPE_INT8 = _nifticlib.NIFTI_TYPE_INT8 NIFTI_TYPE_UINT16 = _nifticlib.NIFTI_TYPE_UINT16 NIFTI_TYPE_UINT32 = _nifticlib.NIFTI_TYPE_UINT32 NIFTI_TYPE_INT64 = _nifticlib.NIFTI_TYPE_INT64 NIFTI_TYPE_UINT64 = _nifticlib.NIFTI_TYPE_UINT64 NIFTI_TYPE_FLOAT128 = _nifticlib.NIFTI_TYPE_FLOAT128 NIFTI_TYPE_COMPLEX128 = _nifticlib.NIFTI_TYPE_COMPLEX128 NIFTI_TYPE_COMPLEX256 = _nifticlib.NIFTI_TYPE_COMPLEX256 NIFTI_TYPE_RGBA32 = _nifticlib.NIFTI_TYPE_RGBA32 NIFTI_INTENT_NONE = _nifticlib.NIFTI_INTENT_NONE NIFTI_INTENT_CORREL = _nifticlib.NIFTI_INTENT_CORREL NIFTI_INTENT_TTEST = _nifticlib.NIFTI_INTENT_TTEST NIFTI_INTENT_FTEST = _nifticlib.NIFTI_INTENT_FTEST NIFTI_INTENT_ZSCORE = _nifticlib.NIFTI_INTENT_ZSCORE NIFTI_INTENT_CHISQ = _nifticlib.NIFTI_INTENT_CHISQ NIFTI_INTENT_BETA = _nifticlib.NIFTI_INTENT_BETA NIFTI_INTENT_BINOM = _nifticlib.NIFTI_INTENT_BINOM NIFTI_INTENT_GAMMA = _nifticlib.NIFTI_INTENT_GAMMA NIFTI_INTENT_POISSON = _nifticlib.NIFTI_INTENT_POISSON NIFTI_INTENT_NORMAL = _nifticlib.NIFTI_INTENT_NORMAL NIFTI_INTENT_FTEST_NONC = _nifticlib.NIFTI_INTENT_FTEST_NONC NIFTI_INTENT_CHISQ_NONC = _nifticlib.NIFTI_INTENT_CHISQ_NONC NIFTI_INTENT_LOGISTIC = _nifticlib.NIFTI_INTENT_LOGISTIC NIFTI_INTENT_LAPLACE = _nifticlib.NIFTI_INTENT_LAPLACE NIFTI_INTENT_UNIFORM = _nifticlib.NIFTI_INTENT_UNIFORM NIFTI_INTENT_TTEST_NONC = _nifticlib.NIFTI_INTENT_TTEST_NONC NIFTI_INTENT_WEIBULL = _nifticlib.NIFTI_INTENT_WEIBULL NIFTI_INTENT_CHI = _nifticlib.NIFTI_INTENT_CHI NIFTI_INTENT_INVGAUSS = _nifticlib.NIFTI_INTENT_INVGAUSS NIFTI_INTENT_EXTVAL = _nifticlib.NIFTI_INTENT_EXTVAL NIFTI_INTENT_PVAL = _nifticlib.NIFTI_INTENT_PVAL NIFTI_INTENT_LOGPVAL = _nifticlib.NIFTI_INTENT_LOGPVAL NIFTI_INTENT_LOG10PVAL = _nifticlib.NIFTI_INTENT_LOG10PVAL NIFTI_FIRST_STATCODE = _nifticlib.NIFTI_FIRST_STATCODE NIFTI_LAST_STATCODE = _nifticlib.NIFTI_LAST_STATCODE NIFTI_INTENT_ESTIMATE = _nifticlib.NIFTI_INTENT_ESTIMATE NIFTI_INTENT_LABEL = _nifticlib.NIFTI_INTENT_LABEL NIFTI_INTENT_NEURONAME = _nifticlib.NIFTI_INTENT_NEURONAME NIFTI_INTENT_GENMATRIX = _nifticlib.NIFTI_INTENT_GENMATRIX NIFTI_INTENT_SYMMATRIX = _nifticlib.NIFTI_INTENT_SYMMATRIX NIFTI_INTENT_DISPVECT = _nifticlib.NIFTI_INTENT_DISPVECT NIFTI_INTENT_VECTOR = _nifticlib.NIFTI_INTENT_VECTOR NIFTI_INTENT_POINTSET = _nifticlib.NIFTI_INTENT_POINTSET NIFTI_INTENT_TRIANGLE = _nifticlib.NIFTI_INTENT_TRIANGLE NIFTI_INTENT_QUATERNION = _nifticlib.NIFTI_INTENT_QUATERNION NIFTI_INTENT_DIMLESS = _nifticlib.NIFTI_INTENT_DIMLESS NIFTI_INTENT_TIME_SERIES = _nifticlib.NIFTI_INTENT_TIME_SERIES NIFTI_INTENT_NODE_INDEX = _nifticlib.NIFTI_INTENT_NODE_INDEX NIFTI_INTENT_RGB_VECTOR = _nifticlib.NIFTI_INTENT_RGB_VECTOR NIFTI_INTENT_RGBA_VECTOR = _nifticlib.NIFTI_INTENT_RGBA_VECTOR NIFTI_INTENT_SHAPE = _nifticlib.NIFTI_INTENT_SHAPE NIFTI_XFORM_UNKNOWN = _nifticlib.NIFTI_XFORM_UNKNOWN NIFTI_XFORM_SCANNER_ANAT = _nifticlib.NIFTI_XFORM_SCANNER_ANAT NIFTI_XFORM_ALIGNED_ANAT = _nifticlib.NIFTI_XFORM_ALIGNED_ANAT NIFTI_XFORM_TALAIRACH = _nifticlib.NIFTI_XFORM_TALAIRACH NIFTI_XFORM_MNI_152 = _nifticlib.NIFTI_XFORM_MNI_152 NIFTI_UNITS_UNKNOWN = _nifticlib.NIFTI_UNITS_UNKNOWN NIFTI_UNITS_METER = _nifticlib.NIFTI_UNITS_METER NIFTI_UNITS_MM = _nifticlib.NIFTI_UNITS_MM NIFTI_UNITS_MICRON = _nifticlib.NIFTI_UNITS_MICRON NIFTI_UNITS_SEC = _nifticlib.NIFTI_UNITS_SEC NIFTI_UNITS_MSEC = _nifticlib.NIFTI_UNITS_MSEC NIFTI_UNITS_USEC = _nifticlib.NIFTI_UNITS_USEC NIFTI_UNITS_HZ = _nifticlib.NIFTI_UNITS_HZ NIFTI_UNITS_PPM = _nifticlib.NIFTI_UNITS_PPM NIFTI_UNITS_RADS = _nifticlib.NIFTI_UNITS_RADS NIFTI_SLICE_UNKNOWN = _nifticlib.NIFTI_SLICE_UNKNOWN NIFTI_SLICE_SEQ_INC = _nifticlib.NIFTI_SLICE_SEQ_INC NIFTI_SLICE_SEQ_DEC = _nifticlib.NIFTI_SLICE_SEQ_DEC NIFTI_SLICE_ALT_INC = _nifticlib.NIFTI_SLICE_ALT_INC NIFTI_SLICE_ALT_DEC = _nifticlib.NIFTI_SLICE_ALT_DEC NIFTI_SLICE_ALT_INC2 = _nifticlib.NIFTI_SLICE_ALT_INC2 NIFTI_SLICE_ALT_DEC2 = _nifticlib.NIFTI_SLICE_ALT_DEC2 class mat44(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, mat44, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, mat44, name) def __repr__(self): return "<%s.%s; proxy of C mat44 instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) __swig_setmethods__["m"] = _nifticlib.mat44_m_set __swig_getmethods__["m"] = _nifticlib.mat44_m_get if _newclass:m = property(_nifticlib.mat44_m_get, _nifticlib.mat44_m_set) def __init__(self, *args): _swig_setattr(self, mat44, 'this', _nifticlib.new_mat44(*args)) _swig_setattr(self, mat44, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_mat44): try: if self.thisown: destroy(self) except: pass class mat44Ptr(mat44): def __init__(self, this): _swig_setattr(self, mat44, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, mat44, 'thisown', 0) _swig_setattr(self, mat44,self.__class__,mat44) _nifticlib.mat44_swigregister(mat44Ptr) class mat33(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, mat33, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, mat33, name) def __repr__(self): return "<%s.%s; proxy of C mat33 instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) __swig_setmethods__["m"] = _nifticlib.mat33_m_set __swig_getmethods__["m"] = _nifticlib.mat33_m_get if _newclass:m = property(_nifticlib.mat33_m_get, _nifticlib.mat33_m_set) def __init__(self, *args): _swig_setattr(self, mat33, 'this', _nifticlib.new_mat33(*args)) _swig_setattr(self, mat33, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_mat33): try: if self.thisown: destroy(self) except: pass class mat33Ptr(mat33): def __init__(self, this): _swig_setattr(self, mat33, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, mat33, 'thisown', 0) _swig_setattr(self, mat33,self.__class__,mat33) _nifticlib.mat33_swigregister(mat33Ptr) a75_transverse_unflipped = _nifticlib.a75_transverse_unflipped a75_coronal_unflipped = _nifticlib.a75_coronal_unflipped a75_sagittal_unflipped = _nifticlib.a75_sagittal_unflipped a75_transverse_flipped = _nifticlib.a75_transverse_flipped a75_coronal_flipped = _nifticlib.a75_coronal_flipped a75_sagittal_flipped = _nifticlib.a75_sagittal_flipped a75_orient_unknown = _nifticlib.a75_orient_unknown class nifti_image(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, nifti_image, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, nifti_image, name) def __repr__(self): return "<%s.%s; proxy of C nifti_image instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) __swig_setmethods__["ndim"] = _nifticlib.nifti_image_ndim_set __swig_getmethods__["ndim"] = _nifticlib.nifti_image_ndim_get if _newclass:ndim = property(_nifticlib.nifti_image_ndim_get, _nifticlib.nifti_image_ndim_set) __swig_setmethods__["nx"] = _nifticlib.nifti_image_nx_set __swig_getmethods__["nx"] = _nifticlib.nifti_image_nx_get if _newclass:nx = property(_nifticlib.nifti_image_nx_get, _nifticlib.nifti_image_nx_set) __swig_setmethods__["ny"] = _nifticlib.nifti_image_ny_set __swig_getmethods__["ny"] = _nifticlib.nifti_image_ny_get if _newclass:ny = property(_nifticlib.nifti_image_ny_get, _nifticlib.nifti_image_ny_set) __swig_setmethods__["nz"] = _nifticlib.nifti_image_nz_set __swig_getmethods__["nz"] = _nifticlib.nifti_image_nz_get if _newclass:nz = property(_nifticlib.nifti_image_nz_get, _nifticlib.nifti_image_nz_set) __swig_setmethods__["nt"] = _nifticlib.nifti_image_nt_set __swig_getmethods__["nt"] = _nifticlib.nifti_image_nt_get if _newclass:nt = property(_nifticlib.nifti_image_nt_get, _nifticlib.nifti_image_nt_set) __swig_setmethods__["nu"] = _nifticlib.nifti_image_nu_set __swig_getmethods__["nu"] = _nifticlib.nifti_image_nu_get if _newclass:nu = property(_nifticlib.nifti_image_nu_get, _nifticlib.nifti_image_nu_set) __swig_setmethods__["nv"] = _nifticlib.nifti_image_nv_set __swig_getmethods__["nv"] = _nifticlib.nifti_image_nv_get if _newclass:nv = property(_nifticlib.nifti_image_nv_get, _nifticlib.nifti_image_nv_set) __swig_setmethods__["nw"] = _nifticlib.nifti_image_nw_set __swig_getmethods__["nw"] = _nifticlib.nifti_image_nw_get if _newclass:nw = property(_nifticlib.nifti_image_nw_get, _nifticlib.nifti_image_nw_set) __swig_setmethods__["dim"] = _nifticlib.nifti_image_dim_set __swig_getmethods__["dim"] = _nifticlib.nifti_image_dim_get if _newclass:dim = property(_nifticlib.nifti_image_dim_get, _nifticlib.nifti_image_dim_set) __swig_setmethods__["nvox"] = _nifticlib.nifti_image_nvox_set __swig_getmethods__["nvox"] = _nifticlib.nifti_image_nvox_get if _newclass:nvox = property(_nifticlib.nifti_image_nvox_get, _nifticlib.nifti_image_nvox_set) __swig_setmethods__["nbyper"] = _nifticlib.nifti_image_nbyper_set __swig_getmethods__["nbyper"] = _nifticlib.nifti_image_nbyper_get if _newclass:nbyper = property(_nifticlib.nifti_image_nbyper_get, _nifticlib.nifti_image_nbyper_set) __swig_setmethods__["datatype"] = _nifticlib.nifti_image_datatype_set __swig_getmethods__["datatype"] = _nifticlib.nifti_image_datatype_get if _newclass:datatype = property(_nifticlib.nifti_image_datatype_get, _nifticlib.nifti_image_datatype_set) __swig_setmethods__["dx"] = _nifticlib.nifti_image_dx_set __swig_getmethods__["dx"] = _nifticlib.nifti_image_dx_get if _newclass:dx = property(_nifticlib.nifti_image_dx_get, _nifticlib.nifti_image_dx_set) __swig_setmethods__["dy"] = _nifticlib.nifti_image_dy_set __swig_getmethods__["dy"] = _nifticlib.nifti_image_dy_get if _newclass:dy = property(_nifticlib.nifti_image_dy_get, _nifticlib.nifti_image_dy_set) __swig_setmethods__["dz"] = _nifticlib.nifti_image_dz_set __swig_getmethods__["dz"] = _nifticlib.nifti_image_dz_get if _newclass:dz = property(_nifticlib.nifti_image_dz_get, _nifticlib.nifti_image_dz_set) __swig_setmethods__["dt"] = _nifticlib.nifti_image_dt_set __swig_getmethods__["dt"] = _nifticlib.nifti_image_dt_get if _newclass:dt = property(_nifticlib.nifti_image_dt_get, _nifticlib.nifti_image_dt_set) __swig_setmethods__["du"] = _nifticlib.nifti_image_du_set __swig_getmethods__["du"] = _nifticlib.nifti_image_du_get if _newclass:du = property(_nifticlib.nifti_image_du_get, _nifticlib.nifti_image_du_set) __swig_setmethods__["dv"] = _nifticlib.nifti_image_dv_set __swig_getmethods__["dv"] = _nifticlib.nifti_image_dv_get if _newclass:dv = property(_nifticlib.nifti_image_dv_get, _nifticlib.nifti_image_dv_set) __swig_setmethods__["dw"] = _nifticlib.nifti_image_dw_set __swig_getmethods__["dw"] = _nifticlib.nifti_image_dw_get if _newclass:dw = property(_nifticlib.nifti_image_dw_get, _nifticlib.nifti_image_dw_set) __swig_setmethods__["pixdim"] = _nifticlib.nifti_image_pixdim_set __swig_getmethods__["pixdim"] = _nifticlib.nifti_image_pixdim_get if _newclass:pixdim = property(_nifticlib.nifti_image_pixdim_get, _nifticlib.nifti_image_pixdim_set) __swig_setmethods__["scl_slope"] = _nifticlib.nifti_image_scl_slope_set __swig_getmethods__["scl_slope"] = _nifticlib.nifti_image_scl_slope_get if _newclass:scl_slope = property(_nifticlib.nifti_image_scl_slope_get, _nifticlib.nifti_image_scl_slope_set) __swig_setmethods__["scl_inter"] = _nifticlib.nifti_image_scl_inter_set __swig_getmethods__["scl_inter"] = _nifticlib.nifti_image_scl_inter_get if _newclass:scl_inter = property(_nifticlib.nifti_image_scl_inter_get, _nifticlib.nifti_image_scl_inter_set) __swig_setmethods__["cal_min"] = _nifticlib.nifti_image_cal_min_set __swig_getmethods__["cal_min"] = _nifticlib.nifti_image_cal_min_get if _newclass:cal_min = property(_nifticlib.nifti_image_cal_min_get, _nifticlib.nifti_image_cal_min_set) __swig_setmethods__["cal_max"] = _nifticlib.nifti_image_cal_max_set __swig_getmethods__["cal_max"] = _nifticlib.nifti_image_cal_max_get if _newclass:cal_max = property(_nifticlib.nifti_image_cal_max_get, _nifticlib.nifti_image_cal_max_set) __swig_setmethods__["qform_code"] = _nifticlib.nifti_image_qform_code_set __swig_getmethods__["qform_code"] = _nifticlib.nifti_image_qform_code_get if _newclass:qform_code = property(_nifticlib.nifti_image_qform_code_get, _nifticlib.nifti_image_qform_code_set) __swig_setmethods__["sform_code"] = _nifticlib.nifti_image_sform_code_set __swig_getmethods__["sform_code"] = _nifticlib.nifti_image_sform_code_get if _newclass:sform_code = property(_nifticlib.nifti_image_sform_code_get, _nifticlib.nifti_image_sform_code_set) __swig_setmethods__["freq_dim"] = _nifticlib.nifti_image_freq_dim_set __swig_getmethods__["freq_dim"] = _nifticlib.nifti_image_freq_dim_get if _newclass:freq_dim = property(_nifticlib.nifti_image_freq_dim_get, _nifticlib.nifti_image_freq_dim_set) __swig_setmethods__["phase_dim"] = _nifticlib.nifti_image_phase_dim_set __swig_getmethods__["phase_dim"] = _nifticlib.nifti_image_phase_dim_get if _newclass:phase_dim = property(_nifticlib.nifti_image_phase_dim_get, _nifticlib.nifti_image_phase_dim_set) __swig_setmethods__["slice_dim"] = _nifticlib.nifti_image_slice_dim_set __swig_getmethods__["slice_dim"] = _nifticlib.nifti_image_slice_dim_get if _newclass:slice_dim = property(_nifticlib.nifti_image_slice_dim_get, _nifticlib.nifti_image_slice_dim_set) __swig_setmethods__["slice_code"] = _nifticlib.nifti_image_slice_code_set __swig_getmethods__["slice_code"] = _nifticlib.nifti_image_slice_code_get if _newclass:slice_code = property(_nifticlib.nifti_image_slice_code_get, _nifticlib.nifti_image_slice_code_set) __swig_setmethods__["slice_start"] = _nifticlib.nifti_image_slice_start_set __swig_getmethods__["slice_start"] = _nifticlib.nifti_image_slice_start_get if _newclass:slice_start = property(_nifticlib.nifti_image_slice_start_get, _nifticlib.nifti_image_slice_start_set) __swig_setmethods__["slice_end"] = _nifticlib.nifti_image_slice_end_set __swig_getmethods__["slice_end"] = _nifticlib.nifti_image_slice_end_get if _newclass:slice_end = property(_nifticlib.nifti_image_slice_end_get, _nifticlib.nifti_image_slice_end_set) __swig_setmethods__["slice_duration"] = _nifticlib.nifti_image_slice_duration_set __swig_getmethods__["slice_duration"] = _nifticlib.nifti_image_slice_duration_get if _newclass:slice_duration = property(_nifticlib.nifti_image_slice_duration_get, _nifticlib.nifti_image_slice_duration_set) __swig_setmethods__["quatern_b"] = _nifticlib.nifti_image_quatern_b_set __swig_getmethods__["quatern_b"] = _nifticlib.nifti_image_quatern_b_get if _newclass:quatern_b = property(_nifticlib.nifti_image_quatern_b_get, _nifticlib.nifti_image_quatern_b_set) __swig_setmethods__["quatern_c"] = _nifticlib.nifti_image_quatern_c_set __swig_getmethods__["quatern_c"] = _nifticlib.nifti_image_quatern_c_get if _newclass:quatern_c = property(_nifticlib.nifti_image_quatern_c_get, _nifticlib.nifti_image_quatern_c_set) __swig_setmethods__["quatern_d"] = _nifticlib.nifti_image_quatern_d_set __swig_getmethods__["quatern_d"] = _nifticlib.nifti_image_quatern_d_get if _newclass:quatern_d = property(_nifticlib.nifti_image_quatern_d_get, _nifticlib.nifti_image_quatern_d_set) __swig_setmethods__["qoffset_x"] = _nifticlib.nifti_image_qoffset_x_set __swig_getmethods__["qoffset_x"] = _nifticlib.nifti_image_qoffset_x_get if _newclass:qoffset_x = property(_nifticlib.nifti_image_qoffset_x_get, _nifticlib.nifti_image_qoffset_x_set) __swig_setmethods__["qoffset_y"] = _nifticlib.nifti_image_qoffset_y_set __swig_getmethods__["qoffset_y"] = _nifticlib.nifti_image_qoffset_y_get if _newclass:qoffset_y = property(_nifticlib.nifti_image_qoffset_y_get, _nifticlib.nifti_image_qoffset_y_set) __swig_setmethods__["qoffset_z"] = _nifticlib.nifti_image_qoffset_z_set __swig_getmethods__["qoffset_z"] = _nifticlib.nifti_image_qoffset_z_get if _newclass:qoffset_z = property(_nifticlib.nifti_image_qoffset_z_get, _nifticlib.nifti_image_qoffset_z_set) __swig_setmethods__["qfac"] = _nifticlib.nifti_image_qfac_set __swig_getmethods__["qfac"] = _nifticlib.nifti_image_qfac_get if _newclass:qfac = property(_nifticlib.nifti_image_qfac_get, _nifticlib.nifti_image_qfac_set) __swig_setmethods__["qto_xyz"] = _nifticlib.nifti_image_qto_xyz_set __swig_getmethods__["qto_xyz"] = _nifticlib.nifti_image_qto_xyz_get if _newclass:qto_xyz = property(_nifticlib.nifti_image_qto_xyz_get, _nifticlib.nifti_image_qto_xyz_set) __swig_setmethods__["qto_ijk"] = _nifticlib.nifti_image_qto_ijk_set __swig_getmethods__["qto_ijk"] = _nifticlib.nifti_image_qto_ijk_get if _newclass:qto_ijk = property(_nifticlib.nifti_image_qto_ijk_get, _nifticlib.nifti_image_qto_ijk_set) __swig_setmethods__["sto_xyz"] = _nifticlib.nifti_image_sto_xyz_set __swig_getmethods__["sto_xyz"] = _nifticlib.nifti_image_sto_xyz_get if _newclass:sto_xyz = property(_nifticlib.nifti_image_sto_xyz_get, _nifticlib.nifti_image_sto_xyz_set) __swig_setmethods__["sto_ijk"] = _nifticlib.nifti_image_sto_ijk_set __swig_getmethods__["sto_ijk"] = _nifticlib.nifti_image_sto_ijk_get if _newclass:sto_ijk = property(_nifticlib.nifti_image_sto_ijk_get, _nifticlib.nifti_image_sto_ijk_set) __swig_setmethods__["toffset"] = _nifticlib.nifti_image_toffset_set __swig_getmethods__["toffset"] = _nifticlib.nifti_image_toffset_get if _newclass:toffset = property(_nifticlib.nifti_image_toffset_get, _nifticlib.nifti_image_toffset_set) __swig_setmethods__["xyz_units"] = _nifticlib.nifti_image_xyz_units_set __swig_getmethods__["xyz_units"] = _nifticlib.nifti_image_xyz_units_get if _newclass:xyz_units = property(_nifticlib.nifti_image_xyz_units_get, _nifticlib.nifti_image_xyz_units_set) __swig_setmethods__["time_units"] = _nifticlib.nifti_image_time_units_set __swig_getmethods__["time_units"] = _nifticlib.nifti_image_time_units_get if _newclass:time_units = property(_nifticlib.nifti_image_time_units_get, _nifticlib.nifti_image_time_units_set) __swig_setmethods__["nifti_type"] = _nifticlib.nifti_image_nifti_type_set __swig_getmethods__["nifti_type"] = _nifticlib.nifti_image_nifti_type_get if _newclass:nifti_type = property(_nifticlib.nifti_image_nifti_type_get, _nifticlib.nifti_image_nifti_type_set) __swig_setmethods__["intent_code"] = _nifticlib.nifti_image_intent_code_set __swig_getmethods__["intent_code"] = _nifticlib.nifti_image_intent_code_get if _newclass:intent_code = property(_nifticlib.nifti_image_intent_code_get, _nifticlib.nifti_image_intent_code_set) __swig_setmethods__["intent_p1"] = _nifticlib.nifti_image_intent_p1_set __swig_getmethods__["intent_p1"] = _nifticlib.nifti_image_intent_p1_get if _newclass:intent_p1 = property(_nifticlib.nifti_image_intent_p1_get, _nifticlib.nifti_image_intent_p1_set) __swig_setmethods__["intent_p2"] = _nifticlib.nifti_image_intent_p2_set __swig_getmethods__["intent_p2"] = _nifticlib.nifti_image_intent_p2_get if _newclass:intent_p2 = property(_nifticlib.nifti_image_intent_p2_get, _nifticlib.nifti_image_intent_p2_set) __swig_setmethods__["intent_p3"] = _nifticlib.nifti_image_intent_p3_set __swig_getmethods__["intent_p3"] = _nifticlib.nifti_image_intent_p3_get if _newclass:intent_p3 = property(_nifticlib.nifti_image_intent_p3_get, _nifticlib.nifti_image_intent_p3_set) __swig_setmethods__["intent_name"] = _nifticlib.nifti_image_intent_name_set __swig_getmethods__["intent_name"] = _nifticlib.nifti_image_intent_name_get if _newclass:intent_name = property(_nifticlib.nifti_image_intent_name_get, _nifticlib.nifti_image_intent_name_set) __swig_setmethods__["descrip"] = _nifticlib.nifti_image_descrip_set __swig_getmethods__["descrip"] = _nifticlib.nifti_image_descrip_get if _newclass:descrip = property(_nifticlib.nifti_image_descrip_get, _nifticlib.nifti_image_descrip_set) __swig_setmethods__["aux_file"] = _nifticlib.nifti_image_aux_file_set __swig_getmethods__["aux_file"] = _nifticlib.nifti_image_aux_file_get if _newclass:aux_file = property(_nifticlib.nifti_image_aux_file_get, _nifticlib.nifti_image_aux_file_set) __swig_setmethods__["fname"] = _nifticlib.nifti_image_fname_set __swig_getmethods__["fname"] = _nifticlib.nifti_image_fname_get if _newclass:fname = property(_nifticlib.nifti_image_fname_get, _nifticlib.nifti_image_fname_set) __swig_setmethods__["iname"] = _nifticlib.nifti_image_iname_set __swig_getmethods__["iname"] = _nifticlib.nifti_image_iname_get if _newclass:iname = property(_nifticlib.nifti_image_iname_get, _nifticlib.nifti_image_iname_set) __swig_setmethods__["iname_offset"] = _nifticlib.nifti_image_iname_offset_set __swig_getmethods__["iname_offset"] = _nifticlib.nifti_image_iname_offset_get if _newclass:iname_offset = property(_nifticlib.nifti_image_iname_offset_get, _nifticlib.nifti_image_iname_offset_set) __swig_setmethods__["swapsize"] = _nifticlib.nifti_image_swapsize_set __swig_getmethods__["swapsize"] = _nifticlib.nifti_image_swapsize_get if _newclass:swapsize = property(_nifticlib.nifti_image_swapsize_get, _nifticlib.nifti_image_swapsize_set) __swig_setmethods__["byteorder"] = _nifticlib.nifti_image_byteorder_set __swig_getmethods__["byteorder"] = _nifticlib.nifti_image_byteorder_get if _newclass:byteorder = property(_nifticlib.nifti_image_byteorder_get, _nifticlib.nifti_image_byteorder_set) __swig_setmethods__["data"] = _nifticlib.nifti_image_data_set __swig_getmethods__["data"] = _nifticlib.nifti_image_data_get if _newclass:data = property(_nifticlib.nifti_image_data_get, _nifticlib.nifti_image_data_set) __swig_setmethods__["num_ext"] = _nifticlib.nifti_image_num_ext_set __swig_getmethods__["num_ext"] = _nifticlib.nifti_image_num_ext_get if _newclass:num_ext = property(_nifticlib.nifti_image_num_ext_get, _nifticlib.nifti_image_num_ext_set) __swig_setmethods__["ext_list"] = _nifticlib.nifti_image_ext_list_set __swig_getmethods__["ext_list"] = _nifticlib.nifti_image_ext_list_get if _newclass:ext_list = property(_nifticlib.nifti_image_ext_list_get, _nifticlib.nifti_image_ext_list_set) __swig_setmethods__["analyze75_orient"] = _nifticlib.nifti_image_analyze75_orient_set __swig_getmethods__["analyze75_orient"] = _nifticlib.nifti_image_analyze75_orient_get if _newclass:analyze75_orient = property(_nifticlib.nifti_image_analyze75_orient_get, _nifticlib.nifti_image_analyze75_orient_set) def __init__(self, *args): _swig_setattr(self, nifti_image, 'this', _nifticlib.new_nifti_image(*args)) _swig_setattr(self, nifti_image, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_nifti_image): try: if self.thisown: destroy(self) except: pass class nifti_imagePtr(nifti_image): def __init__(self, this): _swig_setattr(self, nifti_image, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, nifti_image, 'thisown', 0) _swig_setattr(self, nifti_image,self.__class__,nifti_image) _nifticlib.nifti_image_swigregister(nifti_imagePtr) class nifti_brick_list(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, nifti_brick_list, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, nifti_brick_list, name) def __repr__(self): return "<%s.%s; proxy of C nifti_brick_list instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) __swig_setmethods__["nbricks"] = _nifticlib.nifti_brick_list_nbricks_set __swig_getmethods__["nbricks"] = _nifticlib.nifti_brick_list_nbricks_get if _newclass:nbricks = property(_nifticlib.nifti_brick_list_nbricks_get, _nifticlib.nifti_brick_list_nbricks_set) __swig_setmethods__["bsize"] = _nifticlib.nifti_brick_list_bsize_set __swig_getmethods__["bsize"] = _nifticlib.nifti_brick_list_bsize_get if _newclass:bsize = property(_nifticlib.nifti_brick_list_bsize_get, _nifticlib.nifti_brick_list_bsize_set) __swig_setmethods__["bricks"] = _nifticlib.nifti_brick_list_bricks_set __swig_getmethods__["bricks"] = _nifticlib.nifti_brick_list_bricks_get if _newclass:bricks = property(_nifticlib.nifti_brick_list_bricks_get, _nifticlib.nifti_brick_list_bricks_set) def __init__(self, *args): _swig_setattr(self, nifti_brick_list, 'this', _nifticlib.new_nifti_brick_list(*args)) _swig_setattr(self, nifti_brick_list, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_nifti_brick_list): try: if self.thisown: destroy(self) except: pass class nifti_brick_listPtr(nifti_brick_list): def __init__(self, this): _swig_setattr(self, nifti_brick_list, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, nifti_brick_list, 'thisown', 0) _swig_setattr(self, nifti_brick_list,self.__class__,nifti_brick_list) _nifticlib.nifti_brick_list_swigregister(nifti_brick_listPtr) nifti_datatype_string = _nifticlib.nifti_datatype_string nifti_units_string = _nifticlib.nifti_units_string nifti_intent_string = _nifticlib.nifti_intent_string nifti_xform_string = _nifticlib.nifti_xform_string nifti_slice_string = _nifticlib.nifti_slice_string nifti_orientation_string = _nifticlib.nifti_orientation_string nifti_is_inttype = _nifticlib.nifti_is_inttype nifti_mat44_inverse = _nifticlib.nifti_mat44_inverse nifti_mat33_inverse = _nifticlib.nifti_mat33_inverse nifti_mat33_polar = _nifticlib.nifti_mat33_polar nifti_mat33_rownorm = _nifticlib.nifti_mat33_rownorm nifti_mat33_colnorm = _nifticlib.nifti_mat33_colnorm nifti_mat33_determ = _nifticlib.nifti_mat33_determ nifti_mat33_mul = _nifticlib.nifti_mat33_mul nifti_swap_2bytes = _nifticlib.nifti_swap_2bytes nifti_swap_4bytes = _nifticlib.nifti_swap_4bytes nifti_swap_8bytes = _nifticlib.nifti_swap_8bytes nifti_swap_16bytes = _nifticlib.nifti_swap_16bytes nifti_swap_Nbytes = _nifticlib.nifti_swap_Nbytes nifti_datatype_is_valid = _nifticlib.nifti_datatype_is_valid nifti_datatype_from_string = _nifticlib.nifti_datatype_from_string nifti_datatype_to_string = _nifticlib.nifti_datatype_to_string swap_nifti_header = _nifticlib.swap_nifti_header nifti_get_filesize = _nifticlib.nifti_get_filesize nifti_image_read_bricks = _nifticlib.nifti_image_read_bricks nifti_image_load_bricks = _nifticlib.nifti_image_load_bricks nifti_free_NBL = _nifticlib.nifti_free_NBL nifti_image_read = _nifticlib.nifti_image_read nifti_image_load = _nifticlib.nifti_image_load nifti_image_unload = _nifticlib.nifti_image_unload nifti_image_free = _nifticlib.nifti_image_free nifti_read_collapsed_image = _nifticlib.nifti_read_collapsed_image nifti_read_subregion_image = _nifticlib.nifti_read_subregion_image nifti_image_write = _nifticlib.nifti_image_write nifti_image_write_bricks = _nifticlib.nifti_image_write_bricks nifti_image_infodump = _nifticlib.nifti_image_infodump nifti_disp_lib_hist = _nifticlib.nifti_disp_lib_hist nifti_disp_lib_version = _nifticlib.nifti_disp_lib_version nifti_disp_matrix_orient = _nifticlib.nifti_disp_matrix_orient nifti_disp_type_list = _nifticlib.nifti_disp_type_list nifti_image_to_ascii = _nifticlib.nifti_image_to_ascii nifti_image_from_ascii = _nifticlib.nifti_image_from_ascii nifti_get_volsize = _nifticlib.nifti_get_volsize nifti_set_filenames = _nifticlib.nifti_set_filenames nifti_makehdrname = _nifticlib.nifti_makehdrname nifti_makeimgname = _nifticlib.nifti_makeimgname is_nifti_file = _nifticlib.is_nifti_file nifti_find_file_extension = _nifticlib.nifti_find_file_extension nifti_is_complete_filename = _nifticlib.nifti_is_complete_filename nifti_validfilename = _nifticlib.nifti_validfilename disp_nifti_1_header = _nifticlib.disp_nifti_1_header nifti_set_debug_level = _nifticlib.nifti_set_debug_level nifti_set_skip_blank_ext = _nifticlib.nifti_set_skip_blank_ext valid_nifti_brick_list = _nifticlib.valid_nifti_brick_list nifti_image_open = _nifticlib.nifti_image_open nifti_image_write_hdr_img = _nifticlib.nifti_image_write_hdr_img nifti_image_write_hdr_img2 = _nifticlib.nifti_image_write_hdr_img2 nifti_read_buffer = _nifticlib.nifti_read_buffer nifti_write_all_data = _nifticlib.nifti_write_all_data nifti_write_buffer = _nifticlib.nifti_write_buffer nifti_read_ascii_image = _nifticlib.nifti_read_ascii_image nifti_write_ascii_image = _nifticlib.nifti_write_ascii_image nifti_datatype_sizes = _nifticlib.nifti_datatype_sizes nifti_quatern_to_mat44 = _nifticlib.nifti_quatern_to_mat44 nifti_make_orthog_mat44 = _nifticlib.nifti_make_orthog_mat44 nifti_short_order = _nifticlib.nifti_short_order NIFTI_L2R = _nifticlib.NIFTI_L2R NIFTI_R2L = _nifticlib.NIFTI_R2L NIFTI_P2A = _nifticlib.NIFTI_P2A NIFTI_A2P = _nifticlib.NIFTI_A2P NIFTI_I2S = _nifticlib.NIFTI_I2S NIFTI_S2I = _nifticlib.NIFTI_S2I nifti_findhdrname = _nifticlib.nifti_findhdrname nifti_findimgname = _nifticlib.nifti_findimgname nifti_is_gzfile = _nifticlib.nifti_is_gzfile nifti_makebasename = _nifticlib.nifti_makebasename nifti_convert_nim2nhdr = _nifticlib.nifti_convert_nim2nhdr nifti_make_new_header = _nifticlib.nifti_make_new_header nifti_read_header = _nifticlib.nifti_read_header nifti_copy_nim_info = _nifticlib.nifti_copy_nim_info nifti_make_new_nim = _nifticlib.nifti_make_new_nim nifti_simple_init_nim = _nifticlib.nifti_simple_init_nim nifti_convert_nhdr2nim = _nifticlib.nifti_convert_nhdr2nim nifti_hdr_looks_good = _nifticlib.nifti_hdr_looks_good nifti_is_valid_datatype = _nifticlib.nifti_is_valid_datatype nifti_is_valid_ecode = _nifticlib.nifti_is_valid_ecode nifti_nim_is_valid = _nifticlib.nifti_nim_is_valid nifti_nim_has_valid_dims = _nifticlib.nifti_nim_has_valid_dims is_valid_nifti_type = _nifticlib.is_valid_nifti_type nifti_test_datatype_sizes = _nifticlib.nifti_test_datatype_sizes nifti_type_and_names_match = _nifticlib.nifti_type_and_names_match nifti_update_dims_from_array = _nifticlib.nifti_update_dims_from_array nifti_set_iname_offset = _nifticlib.nifti_set_iname_offset nifti_set_type_from_names = _nifticlib.nifti_set_type_from_names nifti_add_extension = _nifticlib.nifti_add_extension nifti_compiled_with_zlib = _nifticlib.nifti_compiled_with_zlib nifti_copy_extensions = _nifticlib.nifti_copy_extensions nifti_free_extensions = _nifticlib.nifti_free_extensions nifti_get_intlist = _nifticlib.nifti_get_intlist nifti_strdup = _nifticlib.nifti_strdup valid_nifti_extensions = _nifticlib.valid_nifti_extensions NIFTI_ECODE_IGNORE = _nifticlib.NIFTI_ECODE_IGNORE NIFTI_ECODE_DICOM = _nifticlib.NIFTI_ECODE_DICOM NIFTI_ECODE_AFNI = _nifticlib.NIFTI_ECODE_AFNI NIFTI_ECODE_COMMENT = _nifticlib.NIFTI_ECODE_COMMENT NIFTI_ECODE_XCEDE = _nifticlib.NIFTI_ECODE_XCEDE NIFTI_ECODE_JIMDIMINFO = _nifticlib.NIFTI_ECODE_JIMDIMINFO NIFTI_ECODE_WORKFLOW_FWDS = _nifticlib.NIFTI_ECODE_WORKFLOW_FWDS NIFTI_ECODE_FREESURFER = _nifticlib.NIFTI_ECODE_FREESURFER NIFTI_MAX_ECODE = _nifticlib.NIFTI_MAX_ECODE NIFTI_FTYPE_ANALYZE = _nifticlib.NIFTI_FTYPE_ANALYZE NIFTI_FTYPE_NIFTI1_1 = _nifticlib.NIFTI_FTYPE_NIFTI1_1 NIFTI_FTYPE_NIFTI1_2 = _nifticlib.NIFTI_FTYPE_NIFTI1_2 NIFTI_FTYPE_ASCII = _nifticlib.NIFTI_FTYPE_ASCII NIFTI_MAX_FTYPE = _nifticlib.NIFTI_MAX_FTYPE wrapImageDataWithArray = _nifticlib.wrapImageDataWithArray allocateImageMemory = _nifticlib.allocateImageMemory mat442array = _nifticlib.mat442array set_mat44 = _nifticlib.set_mat44 new_shortp = _nifticlib.new_shortp copy_shortp = _nifticlib.copy_shortp delete_shortp = _nifticlib.delete_shortp shortp_assign = _nifticlib.shortp_assign shortp_value = _nifticlib.shortp_value new_intp = _nifticlib.new_intp copy_intp = _nifticlib.copy_intp delete_intp = _nifticlib.delete_intp intp_assign = _nifticlib.intp_assign intp_value = _nifticlib.intp_value new_uintp = _nifticlib.new_uintp copy_uintp = _nifticlib.copy_uintp delete_uintp = _nifticlib.delete_uintp uintp_assign = _nifticlib.uintp_assign uintp_value = _nifticlib.uintp_value new_floatp = _nifticlib.new_floatp copy_floatp = _nifticlib.copy_floatp delete_floatp = _nifticlib.delete_floatp floatp_assign = _nifticlib.floatp_assign floatp_value = _nifticlib.floatp_value new_doublep = _nifticlib.new_doublep copy_doublep = _nifticlib.copy_doublep delete_doublep = _nifticlib.delete_doublep doublep_assign = _nifticlib.doublep_assign doublep_value = _nifticlib.doublep_value new_charp = _nifticlib.new_charp copy_charp = _nifticlib.copy_charp delete_charp = _nifticlib.delete_charp charp_assign = _nifticlib.charp_assign charp_value = _nifticlib.charp_value class shortArray(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, shortArray, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, shortArray, name) def __repr__(self): return "<%s.%s; proxy of C shortArray instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): _swig_setattr(self, shortArray, 'this', _nifticlib.new_shortArray(*args)) _swig_setattr(self, shortArray, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_shortArray): try: if self.thisown: destroy(self) except: pass def __getitem__(*args): return _nifticlib.shortArray___getitem__(*args) def __setitem__(*args): return _nifticlib.shortArray___setitem__(*args) def cast(*args): return _nifticlib.shortArray_cast(*args) __swig_getmethods__["frompointer"] = lambda x: _nifticlib.shortArray_frompointer if _newclass:frompointer = staticmethod(_nifticlib.shortArray_frompointer) class shortArrayPtr(shortArray): def __init__(self, this): _swig_setattr(self, shortArray, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, shortArray, 'thisown', 0) _swig_setattr(self, shortArray,self.__class__,shortArray) _nifticlib.shortArray_swigregister(shortArrayPtr) shortArray_frompointer = _nifticlib.shortArray_frompointer class intArray(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, intArray, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, intArray, name) def __repr__(self): return "<%s.%s; proxy of C intArray instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): _swig_setattr(self, intArray, 'this', _nifticlib.new_intArray(*args)) _swig_setattr(self, intArray, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_intArray): try: if self.thisown: destroy(self) except: pass def __getitem__(*args): return _nifticlib.intArray___getitem__(*args) def __setitem__(*args): return _nifticlib.intArray___setitem__(*args) def cast(*args): return _nifticlib.intArray_cast(*args) __swig_getmethods__["frompointer"] = lambda x: _nifticlib.intArray_frompointer if _newclass:frompointer = staticmethod(_nifticlib.intArray_frompointer) class intArrayPtr(intArray): def __init__(self, this): _swig_setattr(self, intArray, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, intArray, 'thisown', 0) _swig_setattr(self, intArray,self.__class__,intArray) _nifticlib.intArray_swigregister(intArrayPtr) intArray_frompointer = _nifticlib.intArray_frompointer class uintArray(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, uintArray, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, uintArray, name) def __repr__(self): return "<%s.%s; proxy of C uintArray instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): _swig_setattr(self, uintArray, 'this', _nifticlib.new_uintArray(*args)) _swig_setattr(self, uintArray, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_uintArray): try: if self.thisown: destroy(self) except: pass def __getitem__(*args): return _nifticlib.uintArray___getitem__(*args) def __setitem__(*args): return _nifticlib.uintArray___setitem__(*args) def cast(*args): return _nifticlib.uintArray_cast(*args) __swig_getmethods__["frompointer"] = lambda x: _nifticlib.uintArray_frompointer if _newclass:frompointer = staticmethod(_nifticlib.uintArray_frompointer) class uintArrayPtr(uintArray): def __init__(self, this): _swig_setattr(self, uintArray, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, uintArray, 'thisown', 0) _swig_setattr(self, uintArray,self.__class__,uintArray) _nifticlib.uintArray_swigregister(uintArrayPtr) uintArray_frompointer = _nifticlib.uintArray_frompointer class floatArray(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, floatArray, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, floatArray, name) def __repr__(self): return "<%s.%s; proxy of C floatArray instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): _swig_setattr(self, floatArray, 'this', _nifticlib.new_floatArray(*args)) _swig_setattr(self, floatArray, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_floatArray): try: if self.thisown: destroy(self) except: pass def __getitem__(*args): return _nifticlib.floatArray___getitem__(*args) def __setitem__(*args): return _nifticlib.floatArray___setitem__(*args) def cast(*args): return _nifticlib.floatArray_cast(*args) __swig_getmethods__["frompointer"] = lambda x: _nifticlib.floatArray_frompointer if _newclass:frompointer = staticmethod(_nifticlib.floatArray_frompointer) class floatArrayPtr(floatArray): def __init__(self, this): _swig_setattr(self, floatArray, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, floatArray, 'thisown', 0) _swig_setattr(self, floatArray,self.__class__,floatArray) _nifticlib.floatArray_swigregister(floatArrayPtr) floatArray_frompointer = _nifticlib.floatArray_frompointer class doubleArray(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, doubleArray, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, doubleArray, name) def __repr__(self): return "<%s.%s; proxy of C doubleArray instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args): _swig_setattr(self, doubleArray, 'this', _nifticlib.new_doubleArray(*args)) _swig_setattr(self, doubleArray, 'thisown', 1) def __del__(self, destroy=_nifticlib.delete_doubleArray): try: if self.thisown: destroy(self) except: pass def __getitem__(*args): return _nifticlib.doubleArray___getitem__(*args) def __setitem__(*args): return _nifticlib.doubleArray___setitem__(*args) def cast(*args): return _nifticlib.doubleArray_cast(*args) __swig_getmethods__["frompointer"] = lambda x: _nifticlib.doubleArray_frompointer if _newclass:frompointer = staticmethod(_nifticlib.doubleArray_frompointer) class doubleArrayPtr(doubleArray): def __init__(self, this): _swig_setattr(self, doubleArray, 'this', this) if not hasattr(self,"thisown"): _swig_setattr(self, doubleArray, 'thisown', 0) _swig_setattr(self, doubleArray,self.__class__,doubleArray) _nifticlib.doubleArray_swigregister(doubleArrayPtr) doubleArray_frompointer = _nifticlib.doubleArray_frompointer