1
2
3
4
5
6
7 """
8
9 This module provide the all functions and datatypes implemented
10 in the low-level C library libniftiio and the NIfTI-1 header.
11
12 At the moment no additional documentation is provided here. Please see the
13 intensively documented source code of the nifti C libs to learn about the
14 capabilities of the library.
15
16 """
17
18 import _nifticlib
19 import new
20 new_instancemethod = new.instancemethod
21 try:
22 _swig_property = property
23 except NameError:
24 pass
26 if (name == "thisown"): return self.this.own(value)
27 if (name == "this"):
28 if type(value).__name__ == 'PySwigObject':
29 self.__dict__[name] = value
30 return
31 method = class_type.__swig_setmethods__.get(name,None)
32 if method: return method(self,value)
33 if (not static) or hasattr(self,name):
34 self.__dict__[name] = value
35 else:
36 raise AttributeError("You cannot add attributes to %s" % self)
37
40
42 if (name == "thisown"): return self.this.own()
43 method = class_type.__swig_getmethods__.get(name,None)
44 if method: return method(self)
45 raise AttributeError,name
46
48 try: strthis = "proxy of " + self.this.__repr__()
49 except: strthis = ""
50 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
51
52 import types
53 try:
54 _object = types.ObjectType
55 _newclass = 1
56 except AttributeError:
58 _newclass = 0
59 del types
60
61
62 nifti_mat44_to_quatern = _nifticlib.nifti_mat44_to_quatern
63 nifti_mat44_to_orientation = _nifticlib.nifti_mat44_to_orientation
65 __swig_setmethods__ = {}
66 __setattr__ = lambda self, name, value: _swig_setattr(self, znzptr, name, value)
67 __swig_getmethods__ = {}
68 __getattr__ = lambda self, name: _swig_getattr(self, znzptr, name)
69 __repr__ = _swig_repr
70 __swig_setmethods__["withz"] = _nifticlib.znzptr_withz_set
71 __swig_getmethods__["withz"] = _nifticlib.znzptr_withz_get
72 if _newclass:withz = _swig_property(_nifticlib.znzptr_withz_get, _nifticlib.znzptr_withz_set)
73 __swig_setmethods__["nzfptr"] = _nifticlib.znzptr_nzfptr_set
74 __swig_getmethods__["nzfptr"] = _nifticlib.znzptr_nzfptr_get
75 if _newclass:nzfptr = _swig_property(_nifticlib.znzptr_nzfptr_get, _nifticlib.znzptr_nzfptr_set)
77 this = _nifticlib.new_znzptr(*args)
78 try: self.this.append(this)
79 except: self.this = this
80 __swig_destroy__ = _nifticlib.delete_znzptr
81 __del__ = lambda self : None;
82 znzptr_swigregister = _nifticlib.znzptr_swigregister
83 znzptr_swigregister(znzptr)
84
85 znzopen = _nifticlib.znzopen
86 znzdopen = _nifticlib.znzdopen
87 Xznzclose = _nifticlib.Xznzclose
88 znzread = _nifticlib.znzread
89 znzwrite = _nifticlib.znzwrite
90 znzseek = _nifticlib.znzseek
91 znzrewind = _nifticlib.znzrewind
92 znztell = _nifticlib.znztell
93 znzputs = _nifticlib.znzputs
94 znzgets = _nifticlib.znzgets
95 znzputc = _nifticlib.znzputc
96 znzgetc = _nifticlib.znzgetc
97 znzprintf = _nifticlib.znzprintf
99 __swig_setmethods__ = {}
100 __setattr__ = lambda self, name, value: _swig_setattr(self, nifti_1_header, name, value)
101 __swig_getmethods__ = {}
102 __getattr__ = lambda self, name: _swig_getattr(self, nifti_1_header, name)
103 __repr__ = _swig_repr
104 __swig_setmethods__["sizeof_hdr"] = _nifticlib.nifti_1_header_sizeof_hdr_set
105 __swig_getmethods__["sizeof_hdr"] = _nifticlib.nifti_1_header_sizeof_hdr_get
106 if _newclass:sizeof_hdr = _swig_property(_nifticlib.nifti_1_header_sizeof_hdr_get, _nifticlib.nifti_1_header_sizeof_hdr_set)
107 __swig_setmethods__["data_type"] = _nifticlib.nifti_1_header_data_type_set
108 __swig_getmethods__["data_type"] = _nifticlib.nifti_1_header_data_type_get
109 if _newclass:data_type = _swig_property(_nifticlib.nifti_1_header_data_type_get, _nifticlib.nifti_1_header_data_type_set)
110 __swig_setmethods__["db_name"] = _nifticlib.nifti_1_header_db_name_set
111 __swig_getmethods__["db_name"] = _nifticlib.nifti_1_header_db_name_get
112 if _newclass:db_name = _swig_property(_nifticlib.nifti_1_header_db_name_get, _nifticlib.nifti_1_header_db_name_set)
113 __swig_setmethods__["extents"] = _nifticlib.nifti_1_header_extents_set
114 __swig_getmethods__["extents"] = _nifticlib.nifti_1_header_extents_get
115 if _newclass:extents = _swig_property(_nifticlib.nifti_1_header_extents_get, _nifticlib.nifti_1_header_extents_set)
116 __swig_setmethods__["session_error"] = _nifticlib.nifti_1_header_session_error_set
117 __swig_getmethods__["session_error"] = _nifticlib.nifti_1_header_session_error_get
118 if _newclass:session_error = _swig_property(_nifticlib.nifti_1_header_session_error_get, _nifticlib.nifti_1_header_session_error_set)
119 __swig_setmethods__["regular"] = _nifticlib.nifti_1_header_regular_set
120 __swig_getmethods__["regular"] = _nifticlib.nifti_1_header_regular_get
121 if _newclass:regular = _swig_property(_nifticlib.nifti_1_header_regular_get, _nifticlib.nifti_1_header_regular_set)
122 __swig_setmethods__["dim_info"] = _nifticlib.nifti_1_header_dim_info_set
123 __swig_getmethods__["dim_info"] = _nifticlib.nifti_1_header_dim_info_get
124 if _newclass:dim_info = _swig_property(_nifticlib.nifti_1_header_dim_info_get, _nifticlib.nifti_1_header_dim_info_set)
125 __swig_setmethods__["dim"] = _nifticlib.nifti_1_header_dim_set
126 __swig_getmethods__["dim"] = _nifticlib.nifti_1_header_dim_get
127 if _newclass:dim = _swig_property(_nifticlib.nifti_1_header_dim_get, _nifticlib.nifti_1_header_dim_set)
128 __swig_setmethods__["intent_p1"] = _nifticlib.nifti_1_header_intent_p1_set
129 __swig_getmethods__["intent_p1"] = _nifticlib.nifti_1_header_intent_p1_get
130 if _newclass:intent_p1 = _swig_property(_nifticlib.nifti_1_header_intent_p1_get, _nifticlib.nifti_1_header_intent_p1_set)
131 __swig_setmethods__["intent_p2"] = _nifticlib.nifti_1_header_intent_p2_set
132 __swig_getmethods__["intent_p2"] = _nifticlib.nifti_1_header_intent_p2_get
133 if _newclass:intent_p2 = _swig_property(_nifticlib.nifti_1_header_intent_p2_get, _nifticlib.nifti_1_header_intent_p2_set)
134 __swig_setmethods__["intent_p3"] = _nifticlib.nifti_1_header_intent_p3_set
135 __swig_getmethods__["intent_p3"] = _nifticlib.nifti_1_header_intent_p3_get
136 if _newclass:intent_p3 = _swig_property(_nifticlib.nifti_1_header_intent_p3_get, _nifticlib.nifti_1_header_intent_p3_set)
137 __swig_setmethods__["intent_code"] = _nifticlib.nifti_1_header_intent_code_set
138 __swig_getmethods__["intent_code"] = _nifticlib.nifti_1_header_intent_code_get
139 if _newclass:intent_code = _swig_property(_nifticlib.nifti_1_header_intent_code_get, _nifticlib.nifti_1_header_intent_code_set)
140 __swig_setmethods__["datatype"] = _nifticlib.nifti_1_header_datatype_set
141 __swig_getmethods__["datatype"] = _nifticlib.nifti_1_header_datatype_get
142 if _newclass:datatype = _swig_property(_nifticlib.nifti_1_header_datatype_get, _nifticlib.nifti_1_header_datatype_set)
143 __swig_setmethods__["bitpix"] = _nifticlib.nifti_1_header_bitpix_set
144 __swig_getmethods__["bitpix"] = _nifticlib.nifti_1_header_bitpix_get
145 if _newclass:bitpix = _swig_property(_nifticlib.nifti_1_header_bitpix_get, _nifticlib.nifti_1_header_bitpix_set)
146 __swig_setmethods__["slice_start"] = _nifticlib.nifti_1_header_slice_start_set
147 __swig_getmethods__["slice_start"] = _nifticlib.nifti_1_header_slice_start_get
148 if _newclass:slice_start = _swig_property(_nifticlib.nifti_1_header_slice_start_get, _nifticlib.nifti_1_header_slice_start_set)
149 __swig_setmethods__["pixdim"] = _nifticlib.nifti_1_header_pixdim_set
150 __swig_getmethods__["pixdim"] = _nifticlib.nifti_1_header_pixdim_get
151 if _newclass:pixdim = _swig_property(_nifticlib.nifti_1_header_pixdim_get, _nifticlib.nifti_1_header_pixdim_set)
152 __swig_setmethods__["vox_offset"] = _nifticlib.nifti_1_header_vox_offset_set
153 __swig_getmethods__["vox_offset"] = _nifticlib.nifti_1_header_vox_offset_get
154 if _newclass:vox_offset = _swig_property(_nifticlib.nifti_1_header_vox_offset_get, _nifticlib.nifti_1_header_vox_offset_set)
155 __swig_setmethods__["scl_slope"] = _nifticlib.nifti_1_header_scl_slope_set
156 __swig_getmethods__["scl_slope"] = _nifticlib.nifti_1_header_scl_slope_get
157 if _newclass:scl_slope = _swig_property(_nifticlib.nifti_1_header_scl_slope_get, _nifticlib.nifti_1_header_scl_slope_set)
158 __swig_setmethods__["scl_inter"] = _nifticlib.nifti_1_header_scl_inter_set
159 __swig_getmethods__["scl_inter"] = _nifticlib.nifti_1_header_scl_inter_get
160 if _newclass:scl_inter = _swig_property(_nifticlib.nifti_1_header_scl_inter_get, _nifticlib.nifti_1_header_scl_inter_set)
161 __swig_setmethods__["slice_end"] = _nifticlib.nifti_1_header_slice_end_set
162 __swig_getmethods__["slice_end"] = _nifticlib.nifti_1_header_slice_end_get
163 if _newclass:slice_end = _swig_property(_nifticlib.nifti_1_header_slice_end_get, _nifticlib.nifti_1_header_slice_end_set)
164 __swig_setmethods__["slice_code"] = _nifticlib.nifti_1_header_slice_code_set
165 __swig_getmethods__["slice_code"] = _nifticlib.nifti_1_header_slice_code_get
166 if _newclass:slice_code = _swig_property(_nifticlib.nifti_1_header_slice_code_get, _nifticlib.nifti_1_header_slice_code_set)
167 __swig_setmethods__["xyzt_units"] = _nifticlib.nifti_1_header_xyzt_units_set
168 __swig_getmethods__["xyzt_units"] = _nifticlib.nifti_1_header_xyzt_units_get
169 if _newclass:xyzt_units = _swig_property(_nifticlib.nifti_1_header_xyzt_units_get, _nifticlib.nifti_1_header_xyzt_units_set)
170 __swig_setmethods__["cal_max"] = _nifticlib.nifti_1_header_cal_max_set
171 __swig_getmethods__["cal_max"] = _nifticlib.nifti_1_header_cal_max_get
172 if _newclass:cal_max = _swig_property(_nifticlib.nifti_1_header_cal_max_get, _nifticlib.nifti_1_header_cal_max_set)
173 __swig_setmethods__["cal_min"] = _nifticlib.nifti_1_header_cal_min_set
174 __swig_getmethods__["cal_min"] = _nifticlib.nifti_1_header_cal_min_get
175 if _newclass:cal_min = _swig_property(_nifticlib.nifti_1_header_cal_min_get, _nifticlib.nifti_1_header_cal_min_set)
176 __swig_setmethods__["slice_duration"] = _nifticlib.nifti_1_header_slice_duration_set
177 __swig_getmethods__["slice_duration"] = _nifticlib.nifti_1_header_slice_duration_get
178 if _newclass:slice_duration = _swig_property(_nifticlib.nifti_1_header_slice_duration_get, _nifticlib.nifti_1_header_slice_duration_set)
179 __swig_setmethods__["toffset"] = _nifticlib.nifti_1_header_toffset_set
180 __swig_getmethods__["toffset"] = _nifticlib.nifti_1_header_toffset_get
181 if _newclass:toffset = _swig_property(_nifticlib.nifti_1_header_toffset_get, _nifticlib.nifti_1_header_toffset_set)
182 __swig_setmethods__["glmax"] = _nifticlib.nifti_1_header_glmax_set
183 __swig_getmethods__["glmax"] = _nifticlib.nifti_1_header_glmax_get
184 if _newclass:glmax = _swig_property(_nifticlib.nifti_1_header_glmax_get, _nifticlib.nifti_1_header_glmax_set)
185 __swig_setmethods__["glmin"] = _nifticlib.nifti_1_header_glmin_set
186 __swig_getmethods__["glmin"] = _nifticlib.nifti_1_header_glmin_get
187 if _newclass:glmin = _swig_property(_nifticlib.nifti_1_header_glmin_get, _nifticlib.nifti_1_header_glmin_set)
188 __swig_setmethods__["descrip"] = _nifticlib.nifti_1_header_descrip_set
189 __swig_getmethods__["descrip"] = _nifticlib.nifti_1_header_descrip_get
190 if _newclass:descrip = _swig_property(_nifticlib.nifti_1_header_descrip_get, _nifticlib.nifti_1_header_descrip_set)
191 __swig_setmethods__["aux_file"] = _nifticlib.nifti_1_header_aux_file_set
192 __swig_getmethods__["aux_file"] = _nifticlib.nifti_1_header_aux_file_get
193 if _newclass:aux_file = _swig_property(_nifticlib.nifti_1_header_aux_file_get, _nifticlib.nifti_1_header_aux_file_set)
194 __swig_setmethods__["qform_code"] = _nifticlib.nifti_1_header_qform_code_set
195 __swig_getmethods__["qform_code"] = _nifticlib.nifti_1_header_qform_code_get
196 if _newclass:qform_code = _swig_property(_nifticlib.nifti_1_header_qform_code_get, _nifticlib.nifti_1_header_qform_code_set)
197 __swig_setmethods__["sform_code"] = _nifticlib.nifti_1_header_sform_code_set
198 __swig_getmethods__["sform_code"] = _nifticlib.nifti_1_header_sform_code_get
199 if _newclass:sform_code = _swig_property(_nifticlib.nifti_1_header_sform_code_get, _nifticlib.nifti_1_header_sform_code_set)
200 __swig_setmethods__["quatern_b"] = _nifticlib.nifti_1_header_quatern_b_set
201 __swig_getmethods__["quatern_b"] = _nifticlib.nifti_1_header_quatern_b_get
202 if _newclass:quatern_b = _swig_property(_nifticlib.nifti_1_header_quatern_b_get, _nifticlib.nifti_1_header_quatern_b_set)
203 __swig_setmethods__["quatern_c"] = _nifticlib.nifti_1_header_quatern_c_set
204 __swig_getmethods__["quatern_c"] = _nifticlib.nifti_1_header_quatern_c_get
205 if _newclass:quatern_c = _swig_property(_nifticlib.nifti_1_header_quatern_c_get, _nifticlib.nifti_1_header_quatern_c_set)
206 __swig_setmethods__["quatern_d"] = _nifticlib.nifti_1_header_quatern_d_set
207 __swig_getmethods__["quatern_d"] = _nifticlib.nifti_1_header_quatern_d_get
208 if _newclass:quatern_d = _swig_property(_nifticlib.nifti_1_header_quatern_d_get, _nifticlib.nifti_1_header_quatern_d_set)
209 __swig_setmethods__["qoffset_x"] = _nifticlib.nifti_1_header_qoffset_x_set
210 __swig_getmethods__["qoffset_x"] = _nifticlib.nifti_1_header_qoffset_x_get
211 if _newclass:qoffset_x = _swig_property(_nifticlib.nifti_1_header_qoffset_x_get, _nifticlib.nifti_1_header_qoffset_x_set)
212 __swig_setmethods__["qoffset_y"] = _nifticlib.nifti_1_header_qoffset_y_set
213 __swig_getmethods__["qoffset_y"] = _nifticlib.nifti_1_header_qoffset_y_get
214 if _newclass:qoffset_y = _swig_property(_nifticlib.nifti_1_header_qoffset_y_get, _nifticlib.nifti_1_header_qoffset_y_set)
215 __swig_setmethods__["qoffset_z"] = _nifticlib.nifti_1_header_qoffset_z_set
216 __swig_getmethods__["qoffset_z"] = _nifticlib.nifti_1_header_qoffset_z_get
217 if _newclass:qoffset_z = _swig_property(_nifticlib.nifti_1_header_qoffset_z_get, _nifticlib.nifti_1_header_qoffset_z_set)
218 __swig_setmethods__["srow_x"] = _nifticlib.nifti_1_header_srow_x_set
219 __swig_getmethods__["srow_x"] = _nifticlib.nifti_1_header_srow_x_get
220 if _newclass:srow_x = _swig_property(_nifticlib.nifti_1_header_srow_x_get, _nifticlib.nifti_1_header_srow_x_set)
221 __swig_setmethods__["srow_y"] = _nifticlib.nifti_1_header_srow_y_set
222 __swig_getmethods__["srow_y"] = _nifticlib.nifti_1_header_srow_y_get
223 if _newclass:srow_y = _swig_property(_nifticlib.nifti_1_header_srow_y_get, _nifticlib.nifti_1_header_srow_y_set)
224 __swig_setmethods__["srow_z"] = _nifticlib.nifti_1_header_srow_z_set
225 __swig_getmethods__["srow_z"] = _nifticlib.nifti_1_header_srow_z_get
226 if _newclass:srow_z = _swig_property(_nifticlib.nifti_1_header_srow_z_get, _nifticlib.nifti_1_header_srow_z_set)
227 __swig_setmethods__["intent_name"] = _nifticlib.nifti_1_header_intent_name_set
228 __swig_getmethods__["intent_name"] = _nifticlib.nifti_1_header_intent_name_get
229 if _newclass:intent_name = _swig_property(_nifticlib.nifti_1_header_intent_name_get, _nifticlib.nifti_1_header_intent_name_set)
230 __swig_setmethods__["magic"] = _nifticlib.nifti_1_header_magic_set
231 __swig_getmethods__["magic"] = _nifticlib.nifti_1_header_magic_get
232 if _newclass:magic = _swig_property(_nifticlib.nifti_1_header_magic_get, _nifticlib.nifti_1_header_magic_set)
234 this = _nifticlib.new_nifti_1_header(*args)
235 try: self.this.append(this)
236 except: self.this = this
237 __swig_destroy__ = _nifticlib.delete_nifti_1_header
238 __del__ = lambda self : None;
239 nifti_1_header_swigregister = _nifticlib.nifti_1_header_swigregister
240 nifti_1_header_swigregister(nifti_1_header)
241
255 __swig_destroy__ = _nifticlib.delete_nifti1_extender
256 __del__ = lambda self : None;
257 nifti1_extender_swigregister = _nifticlib.nifti1_extender_swigregister
258 nifti1_extender_swigregister(nifti1_extender)
259
261 __swig_setmethods__ = {}
262 __setattr__ = lambda self, name, value: _swig_setattr(self, nifti1_extension, name, value)
263 __swig_getmethods__ = {}
264 __getattr__ = lambda self, name: _swig_getattr(self, nifti1_extension, name)
265 __repr__ = _swig_repr
266 __swig_setmethods__["esize"] = _nifticlib.nifti1_extension_esize_set
267 __swig_getmethods__["esize"] = _nifticlib.nifti1_extension_esize_get
268 if _newclass:esize = _swig_property(_nifticlib.nifti1_extension_esize_get, _nifticlib.nifti1_extension_esize_set)
269 __swig_setmethods__["ecode"] = _nifticlib.nifti1_extension_ecode_set
270 __swig_getmethods__["ecode"] = _nifticlib.nifti1_extension_ecode_get
271 if _newclass:ecode = _swig_property(_nifticlib.nifti1_extension_ecode_get, _nifticlib.nifti1_extension_ecode_set)
272 __swig_setmethods__["edata"] = _nifticlib.nifti1_extension_edata_set
273 __swig_getmethods__["edata"] = _nifticlib.nifti1_extension_edata_get
274 if _newclass:edata = _swig_property(_nifticlib.nifti1_extension_edata_get, _nifticlib.nifti1_extension_edata_set)
276 this = _nifticlib.new_nifti1_extension(*args)
277 try: self.this.append(this)
278 except: self.this = this
279 __swig_destroy__ = _nifticlib.delete_nifti1_extension
280 __del__ = lambda self : None;
281 nifti1_extension_swigregister = _nifticlib.nifti1_extension_swigregister
282 nifti1_extension_swigregister(nifti1_extension)
283
284 DT_NONE = _nifticlib.DT_NONE
285 DT_UNKNOWN = _nifticlib.DT_UNKNOWN
286 DT_BINARY = _nifticlib.DT_BINARY
287 DT_UNSIGNED_CHAR = _nifticlib.DT_UNSIGNED_CHAR
288 DT_SIGNED_SHORT = _nifticlib.DT_SIGNED_SHORT
289 DT_SIGNED_INT = _nifticlib.DT_SIGNED_INT
290 DT_FLOAT = _nifticlib.DT_FLOAT
291 DT_COMPLEX = _nifticlib.DT_COMPLEX
292 DT_DOUBLE = _nifticlib.DT_DOUBLE
293 DT_RGB = _nifticlib.DT_RGB
294 DT_ALL = _nifticlib.DT_ALL
295 DT_UINT8 = _nifticlib.DT_UINT8
296 DT_INT16 = _nifticlib.DT_INT16
297 DT_INT32 = _nifticlib.DT_INT32
298 DT_FLOAT32 = _nifticlib.DT_FLOAT32
299 DT_COMPLEX64 = _nifticlib.DT_COMPLEX64
300 DT_FLOAT64 = _nifticlib.DT_FLOAT64
301 DT_RGB24 = _nifticlib.DT_RGB24
302 DT_INT8 = _nifticlib.DT_INT8
303 DT_UINT16 = _nifticlib.DT_UINT16
304 DT_UINT32 = _nifticlib.DT_UINT32
305 DT_INT64 = _nifticlib.DT_INT64
306 DT_UINT64 = _nifticlib.DT_UINT64
307 DT_FLOAT128 = _nifticlib.DT_FLOAT128
308 DT_COMPLEX128 = _nifticlib.DT_COMPLEX128
309 DT_COMPLEX256 = _nifticlib.DT_COMPLEX256
310 DT_RGBA32 = _nifticlib.DT_RGBA32
311 NIFTI_TYPE_UINT8 = _nifticlib.NIFTI_TYPE_UINT8
312 NIFTI_TYPE_INT16 = _nifticlib.NIFTI_TYPE_INT16
313 NIFTI_TYPE_INT32 = _nifticlib.NIFTI_TYPE_INT32
314 NIFTI_TYPE_FLOAT32 = _nifticlib.NIFTI_TYPE_FLOAT32
315 NIFTI_TYPE_COMPLEX64 = _nifticlib.NIFTI_TYPE_COMPLEX64
316 NIFTI_TYPE_FLOAT64 = _nifticlib.NIFTI_TYPE_FLOAT64
317 NIFTI_TYPE_RGB24 = _nifticlib.NIFTI_TYPE_RGB24
318 NIFTI_TYPE_INT8 = _nifticlib.NIFTI_TYPE_INT8
319 NIFTI_TYPE_UINT16 = _nifticlib.NIFTI_TYPE_UINT16
320 NIFTI_TYPE_UINT32 = _nifticlib.NIFTI_TYPE_UINT32
321 NIFTI_TYPE_INT64 = _nifticlib.NIFTI_TYPE_INT64
322 NIFTI_TYPE_UINT64 = _nifticlib.NIFTI_TYPE_UINT64
323 NIFTI_TYPE_FLOAT128 = _nifticlib.NIFTI_TYPE_FLOAT128
324 NIFTI_TYPE_COMPLEX128 = _nifticlib.NIFTI_TYPE_COMPLEX128
325 NIFTI_TYPE_COMPLEX256 = _nifticlib.NIFTI_TYPE_COMPLEX256
326 NIFTI_TYPE_RGBA32 = _nifticlib.NIFTI_TYPE_RGBA32
327 NIFTI_INTENT_NONE = _nifticlib.NIFTI_INTENT_NONE
328 NIFTI_INTENT_CORREL = _nifticlib.NIFTI_INTENT_CORREL
329 NIFTI_INTENT_TTEST = _nifticlib.NIFTI_INTENT_TTEST
330 NIFTI_INTENT_FTEST = _nifticlib.NIFTI_INTENT_FTEST
331 NIFTI_INTENT_ZSCORE = _nifticlib.NIFTI_INTENT_ZSCORE
332 NIFTI_INTENT_CHISQ = _nifticlib.NIFTI_INTENT_CHISQ
333 NIFTI_INTENT_BETA = _nifticlib.NIFTI_INTENT_BETA
334 NIFTI_INTENT_BINOM = _nifticlib.NIFTI_INTENT_BINOM
335 NIFTI_INTENT_GAMMA = _nifticlib.NIFTI_INTENT_GAMMA
336 NIFTI_INTENT_POISSON = _nifticlib.NIFTI_INTENT_POISSON
337 NIFTI_INTENT_NORMAL = _nifticlib.NIFTI_INTENT_NORMAL
338 NIFTI_INTENT_FTEST_NONC = _nifticlib.NIFTI_INTENT_FTEST_NONC
339 NIFTI_INTENT_CHISQ_NONC = _nifticlib.NIFTI_INTENT_CHISQ_NONC
340 NIFTI_INTENT_LOGISTIC = _nifticlib.NIFTI_INTENT_LOGISTIC
341 NIFTI_INTENT_LAPLACE = _nifticlib.NIFTI_INTENT_LAPLACE
342 NIFTI_INTENT_UNIFORM = _nifticlib.NIFTI_INTENT_UNIFORM
343 NIFTI_INTENT_TTEST_NONC = _nifticlib.NIFTI_INTENT_TTEST_NONC
344 NIFTI_INTENT_WEIBULL = _nifticlib.NIFTI_INTENT_WEIBULL
345 NIFTI_INTENT_CHI = _nifticlib.NIFTI_INTENT_CHI
346 NIFTI_INTENT_INVGAUSS = _nifticlib.NIFTI_INTENT_INVGAUSS
347 NIFTI_INTENT_EXTVAL = _nifticlib.NIFTI_INTENT_EXTVAL
348 NIFTI_INTENT_PVAL = _nifticlib.NIFTI_INTENT_PVAL
349 NIFTI_INTENT_LOGPVAL = _nifticlib.NIFTI_INTENT_LOGPVAL
350 NIFTI_INTENT_LOG10PVAL = _nifticlib.NIFTI_INTENT_LOG10PVAL
351 NIFTI_FIRST_STATCODE = _nifticlib.NIFTI_FIRST_STATCODE
352 NIFTI_LAST_STATCODE = _nifticlib.NIFTI_LAST_STATCODE
353 NIFTI_INTENT_ESTIMATE = _nifticlib.NIFTI_INTENT_ESTIMATE
354 NIFTI_INTENT_LABEL = _nifticlib.NIFTI_INTENT_LABEL
355 NIFTI_INTENT_NEURONAME = _nifticlib.NIFTI_INTENT_NEURONAME
356 NIFTI_INTENT_GENMATRIX = _nifticlib.NIFTI_INTENT_GENMATRIX
357 NIFTI_INTENT_SYMMATRIX = _nifticlib.NIFTI_INTENT_SYMMATRIX
358 NIFTI_INTENT_DISPVECT = _nifticlib.NIFTI_INTENT_DISPVECT
359 NIFTI_INTENT_VECTOR = _nifticlib.NIFTI_INTENT_VECTOR
360 NIFTI_INTENT_POINTSET = _nifticlib.NIFTI_INTENT_POINTSET
361 NIFTI_INTENT_TRIANGLE = _nifticlib.NIFTI_INTENT_TRIANGLE
362 NIFTI_INTENT_QUATERNION = _nifticlib.NIFTI_INTENT_QUATERNION
363 NIFTI_INTENT_DIMLESS = _nifticlib.NIFTI_INTENT_DIMLESS
364 NIFTI_INTENT_TIME_SERIES = _nifticlib.NIFTI_INTENT_TIME_SERIES
365 NIFTI_INTENT_NODE_INDEX = _nifticlib.NIFTI_INTENT_NODE_INDEX
366 NIFTI_INTENT_RGB_VECTOR = _nifticlib.NIFTI_INTENT_RGB_VECTOR
367 NIFTI_INTENT_RGBA_VECTOR = _nifticlib.NIFTI_INTENT_RGBA_VECTOR
368 NIFTI_INTENT_SHAPE = _nifticlib.NIFTI_INTENT_SHAPE
369 NIFTI_XFORM_UNKNOWN = _nifticlib.NIFTI_XFORM_UNKNOWN
370 NIFTI_XFORM_SCANNER_ANAT = _nifticlib.NIFTI_XFORM_SCANNER_ANAT
371 NIFTI_XFORM_ALIGNED_ANAT = _nifticlib.NIFTI_XFORM_ALIGNED_ANAT
372 NIFTI_XFORM_TALAIRACH = _nifticlib.NIFTI_XFORM_TALAIRACH
373 NIFTI_XFORM_MNI_152 = _nifticlib.NIFTI_XFORM_MNI_152
374 NIFTI_UNITS_UNKNOWN = _nifticlib.NIFTI_UNITS_UNKNOWN
375 NIFTI_UNITS_METER = _nifticlib.NIFTI_UNITS_METER
376 NIFTI_UNITS_MM = _nifticlib.NIFTI_UNITS_MM
377 NIFTI_UNITS_MICRON = _nifticlib.NIFTI_UNITS_MICRON
378 NIFTI_UNITS_SEC = _nifticlib.NIFTI_UNITS_SEC
379 NIFTI_UNITS_MSEC = _nifticlib.NIFTI_UNITS_MSEC
380 NIFTI_UNITS_USEC = _nifticlib.NIFTI_UNITS_USEC
381 NIFTI_UNITS_HZ = _nifticlib.NIFTI_UNITS_HZ
382 NIFTI_UNITS_PPM = _nifticlib.NIFTI_UNITS_PPM
383 NIFTI_UNITS_RADS = _nifticlib.NIFTI_UNITS_RADS
384 NIFTI_SLICE_UNKNOWN = _nifticlib.NIFTI_SLICE_UNKNOWN
385 NIFTI_SLICE_SEQ_INC = _nifticlib.NIFTI_SLICE_SEQ_INC
386 NIFTI_SLICE_SEQ_DEC = _nifticlib.NIFTI_SLICE_SEQ_DEC
387 NIFTI_SLICE_ALT_INC = _nifticlib.NIFTI_SLICE_ALT_INC
388 NIFTI_SLICE_ALT_DEC = _nifticlib.NIFTI_SLICE_ALT_DEC
389 NIFTI_SLICE_ALT_INC2 = _nifticlib.NIFTI_SLICE_ALT_INC2
390 NIFTI_SLICE_ALT_DEC2 = _nifticlib.NIFTI_SLICE_ALT_DEC2
404 __swig_destroy__ = _nifticlib.delete_mat44
405 __del__ = lambda self : None;
406 mat44_swigregister = _nifticlib.mat44_swigregister
407 mat44_swigregister(mat44)
408
422 __swig_destroy__ = _nifticlib.delete_mat33
423 __del__ = lambda self : None;
424 mat33_swigregister = _nifticlib.mat33_swigregister
425 mat33_swigregister(mat33)
426
427 a75_transverse_unflipped = _nifticlib.a75_transverse_unflipped
428 a75_coronal_unflipped = _nifticlib.a75_coronal_unflipped
429 a75_sagittal_unflipped = _nifticlib.a75_sagittal_unflipped
430 a75_transverse_flipped = _nifticlib.a75_transverse_flipped
431 a75_coronal_flipped = _nifticlib.a75_coronal_flipped
432 a75_sagittal_flipped = _nifticlib.a75_sagittal_flipped
433 a75_orient_unknown = _nifticlib.a75_orient_unknown
435 __swig_setmethods__ = {}
436 __setattr__ = lambda self, name, value: _swig_setattr(self, nifti_image, name, value)
437 __swig_getmethods__ = {}
438 __getattr__ = lambda self, name: _swig_getattr(self, nifti_image, name)
439 __repr__ = _swig_repr
440 __swig_setmethods__["ndim"] = _nifticlib.nifti_image_ndim_set
441 __swig_getmethods__["ndim"] = _nifticlib.nifti_image_ndim_get
442 if _newclass:ndim = _swig_property(_nifticlib.nifti_image_ndim_get, _nifticlib.nifti_image_ndim_set)
443 __swig_setmethods__["nx"] = _nifticlib.nifti_image_nx_set
444 __swig_getmethods__["nx"] = _nifticlib.nifti_image_nx_get
445 if _newclass:nx = _swig_property(_nifticlib.nifti_image_nx_get, _nifticlib.nifti_image_nx_set)
446 __swig_setmethods__["ny"] = _nifticlib.nifti_image_ny_set
447 __swig_getmethods__["ny"] = _nifticlib.nifti_image_ny_get
448 if _newclass:ny = _swig_property(_nifticlib.nifti_image_ny_get, _nifticlib.nifti_image_ny_set)
449 __swig_setmethods__["nz"] = _nifticlib.nifti_image_nz_set
450 __swig_getmethods__["nz"] = _nifticlib.nifti_image_nz_get
451 if _newclass:nz = _swig_property(_nifticlib.nifti_image_nz_get, _nifticlib.nifti_image_nz_set)
452 __swig_setmethods__["nt"] = _nifticlib.nifti_image_nt_set
453 __swig_getmethods__["nt"] = _nifticlib.nifti_image_nt_get
454 if _newclass:nt = _swig_property(_nifticlib.nifti_image_nt_get, _nifticlib.nifti_image_nt_set)
455 __swig_setmethods__["nu"] = _nifticlib.nifti_image_nu_set
456 __swig_getmethods__["nu"] = _nifticlib.nifti_image_nu_get
457 if _newclass:nu = _swig_property(_nifticlib.nifti_image_nu_get, _nifticlib.nifti_image_nu_set)
458 __swig_setmethods__["nv"] = _nifticlib.nifti_image_nv_set
459 __swig_getmethods__["nv"] = _nifticlib.nifti_image_nv_get
460 if _newclass:nv = _swig_property(_nifticlib.nifti_image_nv_get, _nifticlib.nifti_image_nv_set)
461 __swig_setmethods__["nw"] = _nifticlib.nifti_image_nw_set
462 __swig_getmethods__["nw"] = _nifticlib.nifti_image_nw_get
463 if _newclass:nw = _swig_property(_nifticlib.nifti_image_nw_get, _nifticlib.nifti_image_nw_set)
464 __swig_setmethods__["dim"] = _nifticlib.nifti_image_dim_set
465 __swig_getmethods__["dim"] = _nifticlib.nifti_image_dim_get
466 if _newclass:dim = _swig_property(_nifticlib.nifti_image_dim_get, _nifticlib.nifti_image_dim_set)
467 __swig_setmethods__["nvox"] = _nifticlib.nifti_image_nvox_set
468 __swig_getmethods__["nvox"] = _nifticlib.nifti_image_nvox_get
469 if _newclass:nvox = _swig_property(_nifticlib.nifti_image_nvox_get, _nifticlib.nifti_image_nvox_set)
470 __swig_setmethods__["nbyper"] = _nifticlib.nifti_image_nbyper_set
471 __swig_getmethods__["nbyper"] = _nifticlib.nifti_image_nbyper_get
472 if _newclass:nbyper = _swig_property(_nifticlib.nifti_image_nbyper_get, _nifticlib.nifti_image_nbyper_set)
473 __swig_setmethods__["datatype"] = _nifticlib.nifti_image_datatype_set
474 __swig_getmethods__["datatype"] = _nifticlib.nifti_image_datatype_get
475 if _newclass:datatype = _swig_property(_nifticlib.nifti_image_datatype_get, _nifticlib.nifti_image_datatype_set)
476 __swig_setmethods__["dx"] = _nifticlib.nifti_image_dx_set
477 __swig_getmethods__["dx"] = _nifticlib.nifti_image_dx_get
478 if _newclass:dx = _swig_property(_nifticlib.nifti_image_dx_get, _nifticlib.nifti_image_dx_set)
479 __swig_setmethods__["dy"] = _nifticlib.nifti_image_dy_set
480 __swig_getmethods__["dy"] = _nifticlib.nifti_image_dy_get
481 if _newclass:dy = _swig_property(_nifticlib.nifti_image_dy_get, _nifticlib.nifti_image_dy_set)
482 __swig_setmethods__["dz"] = _nifticlib.nifti_image_dz_set
483 __swig_getmethods__["dz"] = _nifticlib.nifti_image_dz_get
484 if _newclass:dz = _swig_property(_nifticlib.nifti_image_dz_get, _nifticlib.nifti_image_dz_set)
485 __swig_setmethods__["dt"] = _nifticlib.nifti_image_dt_set
486 __swig_getmethods__["dt"] = _nifticlib.nifti_image_dt_get
487 if _newclass:dt = _swig_property(_nifticlib.nifti_image_dt_get, _nifticlib.nifti_image_dt_set)
488 __swig_setmethods__["du"] = _nifticlib.nifti_image_du_set
489 __swig_getmethods__["du"] = _nifticlib.nifti_image_du_get
490 if _newclass:du = _swig_property(_nifticlib.nifti_image_du_get, _nifticlib.nifti_image_du_set)
491 __swig_setmethods__["dv"] = _nifticlib.nifti_image_dv_set
492 __swig_getmethods__["dv"] = _nifticlib.nifti_image_dv_get
493 if _newclass:dv = _swig_property(_nifticlib.nifti_image_dv_get, _nifticlib.nifti_image_dv_set)
494 __swig_setmethods__["dw"] = _nifticlib.nifti_image_dw_set
495 __swig_getmethods__["dw"] = _nifticlib.nifti_image_dw_get
496 if _newclass:dw = _swig_property(_nifticlib.nifti_image_dw_get, _nifticlib.nifti_image_dw_set)
497 __swig_setmethods__["pixdim"] = _nifticlib.nifti_image_pixdim_set
498 __swig_getmethods__["pixdim"] = _nifticlib.nifti_image_pixdim_get
499 if _newclass:pixdim = _swig_property(_nifticlib.nifti_image_pixdim_get, _nifticlib.nifti_image_pixdim_set)
500 __swig_setmethods__["scl_slope"] = _nifticlib.nifti_image_scl_slope_set
501 __swig_getmethods__["scl_slope"] = _nifticlib.nifti_image_scl_slope_get
502 if _newclass:scl_slope = _swig_property(_nifticlib.nifti_image_scl_slope_get, _nifticlib.nifti_image_scl_slope_set)
503 __swig_setmethods__["scl_inter"] = _nifticlib.nifti_image_scl_inter_set
504 __swig_getmethods__["scl_inter"] = _nifticlib.nifti_image_scl_inter_get
505 if _newclass:scl_inter = _swig_property(_nifticlib.nifti_image_scl_inter_get, _nifticlib.nifti_image_scl_inter_set)
506 __swig_setmethods__["cal_min"] = _nifticlib.nifti_image_cal_min_set
507 __swig_getmethods__["cal_min"] = _nifticlib.nifti_image_cal_min_get
508 if _newclass:cal_min = _swig_property(_nifticlib.nifti_image_cal_min_get, _nifticlib.nifti_image_cal_min_set)
509 __swig_setmethods__["cal_max"] = _nifticlib.nifti_image_cal_max_set
510 __swig_getmethods__["cal_max"] = _nifticlib.nifti_image_cal_max_get
511 if _newclass:cal_max = _swig_property(_nifticlib.nifti_image_cal_max_get, _nifticlib.nifti_image_cal_max_set)
512 __swig_setmethods__["qform_code"] = _nifticlib.nifti_image_qform_code_set
513 __swig_getmethods__["qform_code"] = _nifticlib.nifti_image_qform_code_get
514 if _newclass:qform_code = _swig_property(_nifticlib.nifti_image_qform_code_get, _nifticlib.nifti_image_qform_code_set)
515 __swig_setmethods__["sform_code"] = _nifticlib.nifti_image_sform_code_set
516 __swig_getmethods__["sform_code"] = _nifticlib.nifti_image_sform_code_get
517 if _newclass:sform_code = _swig_property(_nifticlib.nifti_image_sform_code_get, _nifticlib.nifti_image_sform_code_set)
518 __swig_setmethods__["freq_dim"] = _nifticlib.nifti_image_freq_dim_set
519 __swig_getmethods__["freq_dim"] = _nifticlib.nifti_image_freq_dim_get
520 if _newclass:freq_dim = _swig_property(_nifticlib.nifti_image_freq_dim_get, _nifticlib.nifti_image_freq_dim_set)
521 __swig_setmethods__["phase_dim"] = _nifticlib.nifti_image_phase_dim_set
522 __swig_getmethods__["phase_dim"] = _nifticlib.nifti_image_phase_dim_get
523 if _newclass:phase_dim = _swig_property(_nifticlib.nifti_image_phase_dim_get, _nifticlib.nifti_image_phase_dim_set)
524 __swig_setmethods__["slice_dim"] = _nifticlib.nifti_image_slice_dim_set
525 __swig_getmethods__["slice_dim"] = _nifticlib.nifti_image_slice_dim_get
526 if _newclass:slice_dim = _swig_property(_nifticlib.nifti_image_slice_dim_get, _nifticlib.nifti_image_slice_dim_set)
527 __swig_setmethods__["slice_code"] = _nifticlib.nifti_image_slice_code_set
528 __swig_getmethods__["slice_code"] = _nifticlib.nifti_image_slice_code_get
529 if _newclass:slice_code = _swig_property(_nifticlib.nifti_image_slice_code_get, _nifticlib.nifti_image_slice_code_set)
530 __swig_setmethods__["slice_start"] = _nifticlib.nifti_image_slice_start_set
531 __swig_getmethods__["slice_start"] = _nifticlib.nifti_image_slice_start_get
532 if _newclass:slice_start = _swig_property(_nifticlib.nifti_image_slice_start_get, _nifticlib.nifti_image_slice_start_set)
533 __swig_setmethods__["slice_end"] = _nifticlib.nifti_image_slice_end_set
534 __swig_getmethods__["slice_end"] = _nifticlib.nifti_image_slice_end_get
535 if _newclass:slice_end = _swig_property(_nifticlib.nifti_image_slice_end_get, _nifticlib.nifti_image_slice_end_set)
536 __swig_setmethods__["slice_duration"] = _nifticlib.nifti_image_slice_duration_set
537 __swig_getmethods__["slice_duration"] = _nifticlib.nifti_image_slice_duration_get
538 if _newclass:slice_duration = _swig_property(_nifticlib.nifti_image_slice_duration_get, _nifticlib.nifti_image_slice_duration_set)
539 __swig_setmethods__["quatern_b"] = _nifticlib.nifti_image_quatern_b_set
540 __swig_getmethods__["quatern_b"] = _nifticlib.nifti_image_quatern_b_get
541 if _newclass:quatern_b = _swig_property(_nifticlib.nifti_image_quatern_b_get, _nifticlib.nifti_image_quatern_b_set)
542 __swig_setmethods__["quatern_c"] = _nifticlib.nifti_image_quatern_c_set
543 __swig_getmethods__["quatern_c"] = _nifticlib.nifti_image_quatern_c_get
544 if _newclass:quatern_c = _swig_property(_nifticlib.nifti_image_quatern_c_get, _nifticlib.nifti_image_quatern_c_set)
545 __swig_setmethods__["quatern_d"] = _nifticlib.nifti_image_quatern_d_set
546 __swig_getmethods__["quatern_d"] = _nifticlib.nifti_image_quatern_d_get
547 if _newclass:quatern_d = _swig_property(_nifticlib.nifti_image_quatern_d_get, _nifticlib.nifti_image_quatern_d_set)
548 __swig_setmethods__["qoffset_x"] = _nifticlib.nifti_image_qoffset_x_set
549 __swig_getmethods__["qoffset_x"] = _nifticlib.nifti_image_qoffset_x_get
550 if _newclass:qoffset_x = _swig_property(_nifticlib.nifti_image_qoffset_x_get, _nifticlib.nifti_image_qoffset_x_set)
551 __swig_setmethods__["qoffset_y"] = _nifticlib.nifti_image_qoffset_y_set
552 __swig_getmethods__["qoffset_y"] = _nifticlib.nifti_image_qoffset_y_get
553 if _newclass:qoffset_y = _swig_property(_nifticlib.nifti_image_qoffset_y_get, _nifticlib.nifti_image_qoffset_y_set)
554 __swig_setmethods__["qoffset_z"] = _nifticlib.nifti_image_qoffset_z_set
555 __swig_getmethods__["qoffset_z"] = _nifticlib.nifti_image_qoffset_z_get
556 if _newclass:qoffset_z = _swig_property(_nifticlib.nifti_image_qoffset_z_get, _nifticlib.nifti_image_qoffset_z_set)
557 __swig_setmethods__["qfac"] = _nifticlib.nifti_image_qfac_set
558 __swig_getmethods__["qfac"] = _nifticlib.nifti_image_qfac_get
559 if _newclass:qfac = _swig_property(_nifticlib.nifti_image_qfac_get, _nifticlib.nifti_image_qfac_set)
560 __swig_setmethods__["qto_xyz"] = _nifticlib.nifti_image_qto_xyz_set
561 __swig_getmethods__["qto_xyz"] = _nifticlib.nifti_image_qto_xyz_get
562 if _newclass:qto_xyz = _swig_property(_nifticlib.nifti_image_qto_xyz_get, _nifticlib.nifti_image_qto_xyz_set)
563 __swig_setmethods__["qto_ijk"] = _nifticlib.nifti_image_qto_ijk_set
564 __swig_getmethods__["qto_ijk"] = _nifticlib.nifti_image_qto_ijk_get
565 if _newclass:qto_ijk = _swig_property(_nifticlib.nifti_image_qto_ijk_get, _nifticlib.nifti_image_qto_ijk_set)
566 __swig_setmethods__["sto_xyz"] = _nifticlib.nifti_image_sto_xyz_set
567 __swig_getmethods__["sto_xyz"] = _nifticlib.nifti_image_sto_xyz_get
568 if _newclass:sto_xyz = _swig_property(_nifticlib.nifti_image_sto_xyz_get, _nifticlib.nifti_image_sto_xyz_set)
569 __swig_setmethods__["sto_ijk"] = _nifticlib.nifti_image_sto_ijk_set
570 __swig_getmethods__["sto_ijk"] = _nifticlib.nifti_image_sto_ijk_get
571 if _newclass:sto_ijk = _swig_property(_nifticlib.nifti_image_sto_ijk_get, _nifticlib.nifti_image_sto_ijk_set)
572 __swig_setmethods__["toffset"] = _nifticlib.nifti_image_toffset_set
573 __swig_getmethods__["toffset"] = _nifticlib.nifti_image_toffset_get
574 if _newclass:toffset = _swig_property(_nifticlib.nifti_image_toffset_get, _nifticlib.nifti_image_toffset_set)
575 __swig_setmethods__["xyz_units"] = _nifticlib.nifti_image_xyz_units_set
576 __swig_getmethods__["xyz_units"] = _nifticlib.nifti_image_xyz_units_get
577 if _newclass:xyz_units = _swig_property(_nifticlib.nifti_image_xyz_units_get, _nifticlib.nifti_image_xyz_units_set)
578 __swig_setmethods__["time_units"] = _nifticlib.nifti_image_time_units_set
579 __swig_getmethods__["time_units"] = _nifticlib.nifti_image_time_units_get
580 if _newclass:time_units = _swig_property(_nifticlib.nifti_image_time_units_get, _nifticlib.nifti_image_time_units_set)
581 __swig_setmethods__["nifti_type"] = _nifticlib.nifti_image_nifti_type_set
582 __swig_getmethods__["nifti_type"] = _nifticlib.nifti_image_nifti_type_get
583 if _newclass:nifti_type = _swig_property(_nifticlib.nifti_image_nifti_type_get, _nifticlib.nifti_image_nifti_type_set)
584 __swig_setmethods__["intent_code"] = _nifticlib.nifti_image_intent_code_set
585 __swig_getmethods__["intent_code"] = _nifticlib.nifti_image_intent_code_get
586 if _newclass:intent_code = _swig_property(_nifticlib.nifti_image_intent_code_get, _nifticlib.nifti_image_intent_code_set)
587 __swig_setmethods__["intent_p1"] = _nifticlib.nifti_image_intent_p1_set
588 __swig_getmethods__["intent_p1"] = _nifticlib.nifti_image_intent_p1_get
589 if _newclass:intent_p1 = _swig_property(_nifticlib.nifti_image_intent_p1_get, _nifticlib.nifti_image_intent_p1_set)
590 __swig_setmethods__["intent_p2"] = _nifticlib.nifti_image_intent_p2_set
591 __swig_getmethods__["intent_p2"] = _nifticlib.nifti_image_intent_p2_get
592 if _newclass:intent_p2 = _swig_property(_nifticlib.nifti_image_intent_p2_get, _nifticlib.nifti_image_intent_p2_set)
593 __swig_setmethods__["intent_p3"] = _nifticlib.nifti_image_intent_p3_set
594 __swig_getmethods__["intent_p3"] = _nifticlib.nifti_image_intent_p3_get
595 if _newclass:intent_p3 = _swig_property(_nifticlib.nifti_image_intent_p3_get, _nifticlib.nifti_image_intent_p3_set)
596 __swig_setmethods__["intent_name"] = _nifticlib.nifti_image_intent_name_set
597 __swig_getmethods__["intent_name"] = _nifticlib.nifti_image_intent_name_get
598 if _newclass:intent_name = _swig_property(_nifticlib.nifti_image_intent_name_get, _nifticlib.nifti_image_intent_name_set)
599 __swig_setmethods__["descrip"] = _nifticlib.nifti_image_descrip_set
600 __swig_getmethods__["descrip"] = _nifticlib.nifti_image_descrip_get
601 if _newclass:descrip = _swig_property(_nifticlib.nifti_image_descrip_get, _nifticlib.nifti_image_descrip_set)
602 __swig_setmethods__["aux_file"] = _nifticlib.nifti_image_aux_file_set
603 __swig_getmethods__["aux_file"] = _nifticlib.nifti_image_aux_file_get
604 if _newclass:aux_file = _swig_property(_nifticlib.nifti_image_aux_file_get, _nifticlib.nifti_image_aux_file_set)
605 __swig_setmethods__["fname"] = _nifticlib.nifti_image_fname_set
606 __swig_getmethods__["fname"] = _nifticlib.nifti_image_fname_get
607 if _newclass:fname = _swig_property(_nifticlib.nifti_image_fname_get, _nifticlib.nifti_image_fname_set)
608 __swig_setmethods__["iname"] = _nifticlib.nifti_image_iname_set
609 __swig_getmethods__["iname"] = _nifticlib.nifti_image_iname_get
610 if _newclass:iname = _swig_property(_nifticlib.nifti_image_iname_get, _nifticlib.nifti_image_iname_set)
611 __swig_setmethods__["iname_offset"] = _nifticlib.nifti_image_iname_offset_set
612 __swig_getmethods__["iname_offset"] = _nifticlib.nifti_image_iname_offset_get
613 if _newclass:iname_offset = _swig_property(_nifticlib.nifti_image_iname_offset_get, _nifticlib.nifti_image_iname_offset_set)
614 __swig_setmethods__["swapsize"] = _nifticlib.nifti_image_swapsize_set
615 __swig_getmethods__["swapsize"] = _nifticlib.nifti_image_swapsize_get
616 if _newclass:swapsize = _swig_property(_nifticlib.nifti_image_swapsize_get, _nifticlib.nifti_image_swapsize_set)
617 __swig_setmethods__["byteorder"] = _nifticlib.nifti_image_byteorder_set
618 __swig_getmethods__["byteorder"] = _nifticlib.nifti_image_byteorder_get
619 if _newclass:byteorder = _swig_property(_nifticlib.nifti_image_byteorder_get, _nifticlib.nifti_image_byteorder_set)
620 __swig_setmethods__["data"] = _nifticlib.nifti_image_data_set
621 __swig_getmethods__["data"] = _nifticlib.nifti_image_data_get
622 if _newclass:data = _swig_property(_nifticlib.nifti_image_data_get, _nifticlib.nifti_image_data_set)
623 __swig_setmethods__["num_ext"] = _nifticlib.nifti_image_num_ext_set
624 __swig_getmethods__["num_ext"] = _nifticlib.nifti_image_num_ext_get
625 if _newclass:num_ext = _swig_property(_nifticlib.nifti_image_num_ext_get, _nifticlib.nifti_image_num_ext_set)
626 __swig_setmethods__["ext_list"] = _nifticlib.nifti_image_ext_list_set
627 __swig_getmethods__["ext_list"] = _nifticlib.nifti_image_ext_list_get
628 if _newclass:ext_list = _swig_property(_nifticlib.nifti_image_ext_list_get, _nifticlib.nifti_image_ext_list_set)
629 __swig_setmethods__["analyze75_orient"] = _nifticlib.nifti_image_analyze75_orient_set
630 __swig_getmethods__["analyze75_orient"] = _nifticlib.nifti_image_analyze75_orient_get
631 if _newclass:analyze75_orient = _swig_property(_nifticlib.nifti_image_analyze75_orient_get, _nifticlib.nifti_image_analyze75_orient_set)
633 this = _nifticlib.new_nifti_image(*args)
634 try: self.this.append(this)
635 except: self.this = this
636 __swig_destroy__ = _nifticlib.delete_nifti_image
637 __del__ = lambda self : None;
638 nifti_image_swigregister = _nifticlib.nifti_image_swigregister
639 nifti_image_swigregister(nifti_image)
640
642 __swig_setmethods__ = {}
643 __setattr__ = lambda self, name, value: _swig_setattr(self, nifti_brick_list, name, value)
644 __swig_getmethods__ = {}
645 __getattr__ = lambda self, name: _swig_getattr(self, nifti_brick_list, name)
646 __repr__ = _swig_repr
647 __swig_setmethods__["nbricks"] = _nifticlib.nifti_brick_list_nbricks_set
648 __swig_getmethods__["nbricks"] = _nifticlib.nifti_brick_list_nbricks_get
649 if _newclass:nbricks = _swig_property(_nifticlib.nifti_brick_list_nbricks_get, _nifticlib.nifti_brick_list_nbricks_set)
650 __swig_setmethods__["bsize"] = _nifticlib.nifti_brick_list_bsize_set
651 __swig_getmethods__["bsize"] = _nifticlib.nifti_brick_list_bsize_get
652 if _newclass:bsize = _swig_property(_nifticlib.nifti_brick_list_bsize_get, _nifticlib.nifti_brick_list_bsize_set)
653 __swig_setmethods__["bricks"] = _nifticlib.nifti_brick_list_bricks_set
654 __swig_getmethods__["bricks"] = _nifticlib.nifti_brick_list_bricks_get
655 if _newclass:bricks = _swig_property(_nifticlib.nifti_brick_list_bricks_get, _nifticlib.nifti_brick_list_bricks_set)
657 this = _nifticlib.new_nifti_brick_list(*args)
658 try: self.this.append(this)
659 except: self.this = this
660 __swig_destroy__ = _nifticlib.delete_nifti_brick_list
661 __del__ = lambda self : None;
662 nifti_brick_list_swigregister = _nifticlib.nifti_brick_list_swigregister
663 nifti_brick_list_swigregister(nifti_brick_list)
664
665 nifti_datatype_string = _nifticlib.nifti_datatype_string
666 nifti_units_string = _nifticlib.nifti_units_string
667 nifti_intent_string = _nifticlib.nifti_intent_string
668 nifti_xform_string = _nifticlib.nifti_xform_string
669 nifti_slice_string = _nifticlib.nifti_slice_string
670 nifti_orientation_string = _nifticlib.nifti_orientation_string
671 nifti_is_inttype = _nifticlib.nifti_is_inttype
672 nifti_mat44_inverse = _nifticlib.nifti_mat44_inverse
673 nifti_mat33_inverse = _nifticlib.nifti_mat33_inverse
674 nifti_mat33_polar = _nifticlib.nifti_mat33_polar
675 nifti_mat33_rownorm = _nifticlib.nifti_mat33_rownorm
676 nifti_mat33_colnorm = _nifticlib.nifti_mat33_colnorm
677 nifti_mat33_determ = _nifticlib.nifti_mat33_determ
678 nifti_mat33_mul = _nifticlib.nifti_mat33_mul
679 nifti_swap_2bytes = _nifticlib.nifti_swap_2bytes
680 nifti_swap_4bytes = _nifticlib.nifti_swap_4bytes
681 nifti_swap_8bytes = _nifticlib.nifti_swap_8bytes
682 nifti_swap_16bytes = _nifticlib.nifti_swap_16bytes
683 nifti_swap_Nbytes = _nifticlib.nifti_swap_Nbytes
684 nifti_datatype_from_string = _nifticlib.nifti_datatype_from_string
685 nifti_datatype_to_string = _nifticlib.nifti_datatype_to_string
686 swap_nifti_header = _nifticlib.swap_nifti_header
687 nifti_get_filesize = _nifticlib.nifti_get_filesize
688 nifti_image_read_bricks = _nifticlib.nifti_image_read_bricks
689 nifti_image_load_bricks = _nifticlib.nifti_image_load_bricks
690 nifti_free_NBL = _nifticlib.nifti_free_NBL
691 nifti_image_read = _nifticlib.nifti_image_read
692 nifti_image_load = _nifticlib.nifti_image_load
693 nifti_image_unload = _nifticlib.nifti_image_unload
694 nifti_image_free = _nifticlib.nifti_image_free
695 nifti_read_collapsed_image = _nifticlib.nifti_read_collapsed_image
696 nifti_read_subregion_image = _nifticlib.nifti_read_subregion_image
697 nifti_image_write = _nifticlib.nifti_image_write
698 nifti_image_write_bricks = _nifticlib.nifti_image_write_bricks
699 nifti_image_infodump = _nifticlib.nifti_image_infodump
700 nifti_disp_lib_hist = _nifticlib.nifti_disp_lib_hist
701 nifti_disp_lib_version = _nifticlib.nifti_disp_lib_version
702 nifti_disp_matrix_orient = _nifticlib.nifti_disp_matrix_orient
703 nifti_disp_type_list = _nifticlib.nifti_disp_type_list
704 nifti_image_to_ascii = _nifticlib.nifti_image_to_ascii
705 nifti_image_from_ascii = _nifticlib.nifti_image_from_ascii
706 nifti_get_volsize = _nifticlib.nifti_get_volsize
707 nifti_set_filenames = _nifticlib.nifti_set_filenames
708 nifti_makehdrname = _nifticlib.nifti_makehdrname
709 nifti_makeimgname = _nifticlib.nifti_makeimgname
710 is_nifti_file = _nifticlib.is_nifti_file
711 nifti_find_file_extension = _nifticlib.nifti_find_file_extension
712 nifti_is_complete_filename = _nifticlib.nifti_is_complete_filename
713 nifti_validfilename = _nifticlib.nifti_validfilename
714 disp_nifti_1_header = _nifticlib.disp_nifti_1_header
715 nifti_set_debug_level = _nifticlib.nifti_set_debug_level
716 nifti_set_skip_blank_ext = _nifticlib.nifti_set_skip_blank_ext
717 valid_nifti_brick_list = _nifticlib.valid_nifti_brick_list
718 nifti_image_open = _nifticlib.nifti_image_open
719 nifti_image_write_hdr_img = _nifticlib.nifti_image_write_hdr_img
720 nifti_image_write_hdr_img2 = _nifticlib.nifti_image_write_hdr_img2
721 nifti_read_buffer = _nifticlib.nifti_read_buffer
722 nifti_write_all_data = _nifticlib.nifti_write_all_data
723 nifti_write_buffer = _nifticlib.nifti_write_buffer
724 nifti_read_ascii_image = _nifticlib.nifti_read_ascii_image
725 nifti_write_ascii_image = _nifticlib.nifti_write_ascii_image
726 nifti_datatype_sizes = _nifticlib.nifti_datatype_sizes
727 nifti_quatern_to_mat44 = _nifticlib.nifti_quatern_to_mat44
728 nifti_make_orthog_mat44 = _nifticlib.nifti_make_orthog_mat44
729 nifti_short_order = _nifticlib.nifti_short_order
730 NIFTI_L2R = _nifticlib.NIFTI_L2R
731 NIFTI_R2L = _nifticlib.NIFTI_R2L
732 NIFTI_P2A = _nifticlib.NIFTI_P2A
733 NIFTI_A2P = _nifticlib.NIFTI_A2P
734 NIFTI_I2S = _nifticlib.NIFTI_I2S
735 NIFTI_S2I = _nifticlib.NIFTI_S2I
736 nifti_findhdrname = _nifticlib.nifti_findhdrname
737 nifti_findimgname = _nifticlib.nifti_findimgname
738 nifti_is_gzfile = _nifticlib.nifti_is_gzfile
739 nifti_makebasename = _nifticlib.nifti_makebasename
740 nifti_convert_nim2nhdr = _nifticlib.nifti_convert_nim2nhdr
741 nifti_make_new_header = _nifticlib.nifti_make_new_header
742 nifti_read_header = _nifticlib.nifti_read_header
743 nifti_copy_nim_info = _nifticlib.nifti_copy_nim_info
744 nifti_make_new_nim = _nifticlib.nifti_make_new_nim
745 nifti_simple_init_nim = _nifticlib.nifti_simple_init_nim
746 nifti_convert_nhdr2nim = _nifticlib.nifti_convert_nhdr2nim
747 nifti_hdr_looks_good = _nifticlib.nifti_hdr_looks_good
748 nifti_is_valid_datatype = _nifticlib.nifti_is_valid_datatype
749 nifti_is_valid_ecode = _nifticlib.nifti_is_valid_ecode
750 nifti_nim_is_valid = _nifticlib.nifti_nim_is_valid
751 nifti_nim_has_valid_dims = _nifticlib.nifti_nim_has_valid_dims
752 is_valid_nifti_type = _nifticlib.is_valid_nifti_type
753 nifti_test_datatype_sizes = _nifticlib.nifti_test_datatype_sizes
754 nifti_type_and_names_match = _nifticlib.nifti_type_and_names_match
755 nifti_update_dims_from_array = _nifticlib.nifti_update_dims_from_array
756 nifti_set_iname_offset = _nifticlib.nifti_set_iname_offset
757 nifti_set_type_from_names = _nifticlib.nifti_set_type_from_names
758 nifti_add_extension = _nifticlib.nifti_add_extension
759 nifti_copy_extensions = _nifticlib.nifti_copy_extensions
760 nifti_free_extensions = _nifticlib.nifti_free_extensions
761 nifti_get_intlist = _nifticlib.nifti_get_intlist
762 nifti_strdup = _nifticlib.nifti_strdup
763 valid_nifti_extensions = _nifticlib.valid_nifti_extensions
764 NIFTI_ECODE_IGNORE = _nifticlib.NIFTI_ECODE_IGNORE
765 NIFTI_ECODE_DICOM = _nifticlib.NIFTI_ECODE_DICOM
766 NIFTI_ECODE_AFNI = _nifticlib.NIFTI_ECODE_AFNI
767 NIFTI_ECODE_COMMENT = _nifticlib.NIFTI_ECODE_COMMENT
768 NIFTI_ECODE_XCEDE = _nifticlib.NIFTI_ECODE_XCEDE
769 NIFTI_ECODE_JIMDIMINFO = _nifticlib.NIFTI_ECODE_JIMDIMINFO
770 NIFTI_ECODE_WORKFLOW_FWDS = _nifticlib.NIFTI_ECODE_WORKFLOW_FWDS
771 NIFTI_ECODE_FREESURFER = _nifticlib.NIFTI_ECODE_FREESURFER
772 NIFTI_MAX_ECODE = _nifticlib.NIFTI_MAX_ECODE
773 NIFTI_FTYPE_ANALYZE = _nifticlib.NIFTI_FTYPE_ANALYZE
774 NIFTI_FTYPE_NIFTI1_1 = _nifticlib.NIFTI_FTYPE_NIFTI1_1
775 NIFTI_FTYPE_NIFTI1_2 = _nifticlib.NIFTI_FTYPE_NIFTI1_2
776 NIFTI_FTYPE_ASCII = _nifticlib.NIFTI_FTYPE_ASCII
777 NIFTI_MAX_FTYPE = _nifticlib.NIFTI_MAX_FTYPE
778 wrapImageDataWithArray = _nifticlib.wrapImageDataWithArray
779 detachDataFromImage = _nifticlib.detachDataFromImage
780 allocateImageMemory = _nifticlib.allocateImageMemory
781 mat442array = _nifticlib.mat442array
782 set_mat44 = _nifticlib.set_mat44
783 new_shortp = _nifticlib.new_shortp
784 copy_shortp = _nifticlib.copy_shortp
785 delete_shortp = _nifticlib.delete_shortp
786 shortp_assign = _nifticlib.shortp_assign
787 shortp_value = _nifticlib.shortp_value
788 new_intp = _nifticlib.new_intp
789 copy_intp = _nifticlib.copy_intp
790 delete_intp = _nifticlib.delete_intp
791 intp_assign = _nifticlib.intp_assign
792 intp_value = _nifticlib.intp_value
793 new_uintp = _nifticlib.new_uintp
794 copy_uintp = _nifticlib.copy_uintp
795 delete_uintp = _nifticlib.delete_uintp
796 uintp_assign = _nifticlib.uintp_assign
797 uintp_value = _nifticlib.uintp_value
798 new_floatp = _nifticlib.new_floatp
799 copy_floatp = _nifticlib.copy_floatp
800 delete_floatp = _nifticlib.delete_floatp
801 floatp_assign = _nifticlib.floatp_assign
802 floatp_value = _nifticlib.floatp_value
803 new_doublep = _nifticlib.new_doublep
804 copy_doublep = _nifticlib.copy_doublep
805 delete_doublep = _nifticlib.delete_doublep
806 doublep_assign = _nifticlib.doublep_assign
807 doublep_value = _nifticlib.doublep_value
808 new_charp = _nifticlib.new_charp
809 copy_charp = _nifticlib.copy_charp
810 delete_charp = _nifticlib.delete_charp
811 charp_assign = _nifticlib.charp_assign
812 charp_value = _nifticlib.charp_value
823 __swig_destroy__ = _nifticlib.delete_shortArray
824 __del__ = lambda self : None;
828 __swig_getmethods__["frompointer"] = lambda x: _nifticlib.shortArray_frompointer
829 if _newclass:frompointer = staticmethod(_nifticlib.shortArray_frompointer)
830 shortArray_swigregister = _nifticlib.shortArray_swigregister
831 shortArray_swigregister(shortArray)
832 shortArray_frompointer = _nifticlib.shortArray_frompointer
833
844 __swig_destroy__ = _nifticlib.delete_intArray
845 __del__ = lambda self : None;
849 __swig_getmethods__["frompointer"] = lambda x: _nifticlib.intArray_frompointer
850 if _newclass:frompointer = staticmethod(_nifticlib.intArray_frompointer)
851 intArray_swigregister = _nifticlib.intArray_swigregister
852 intArray_swigregister(intArray)
853 intArray_frompointer = _nifticlib.intArray_frompointer
854
865 __swig_destroy__ = _nifticlib.delete_uintArray
866 __del__ = lambda self : None;
870 __swig_getmethods__["frompointer"] = lambda x: _nifticlib.uintArray_frompointer
871 if _newclass:frompointer = staticmethod(_nifticlib.uintArray_frompointer)
872 uintArray_swigregister = _nifticlib.uintArray_swigregister
873 uintArray_swigregister(uintArray)
874 uintArray_frompointer = _nifticlib.uintArray_frompointer
875
886 __swig_destroy__ = _nifticlib.delete_floatArray
887 __del__ = lambda self : None;
891 __swig_getmethods__["frompointer"] = lambda x: _nifticlib.floatArray_frompointer
892 if _newclass:frompointer = staticmethod(_nifticlib.floatArray_frompointer)
893 floatArray_swigregister = _nifticlib.floatArray_swigregister
894 floatArray_swigregister(floatArray)
895 floatArray_frompointer = _nifticlib.floatArray_frompointer
896
907 __swig_destroy__ = _nifticlib.delete_doubleArray
908 __del__ = lambda self : None;
912 __swig_getmethods__["frompointer"] = lambda x: _nifticlib.doubleArray_frompointer
913 if _newclass:frompointer = staticmethod(_nifticlib.doubleArray_frompointer)
914 doubleArray_swigregister = _nifticlib.doubleArray_swigregister
915 doubleArray_swigregister(doubleArray)
916 doubleArray_frompointer = _nifticlib.doubleArray_frompointer
917