/dports/science/py-nibabel/nibabel-3.2.1/nibabel/ |
H A D | nifti2.py | 138 sizeof_hdr = 540 variable in Nifti2Header 222 if len(binaryblock) < klass.sizeof_hdr: 226 buffer=binaryblock[:klass.sizeof_hdr]) 241 _meta_sniff_len = header_class.sizeof_hdr 248 _meta_sniff_len = header_class.sizeof_hdr
|
H A D | analyze.py | 191 sizeof_hdr = 348 variable in AnalyzeHeader 329 if hdr['sizeof_hdr'].byteswap() == klass.sizeof_hdr: 341 hdr_data['sizeof_hdr'] = klass.sizeof_hdr 811 if hdr['sizeof_hdr'] == klass.sizeof_hdr: 814 rep.problem_msg = 'sizeof_hdr should be ' + str(klass.sizeof_hdr) 816 hdr['sizeof_hdr'] = klass.sizeof_hdr 817 rep.fix_msg = 'set sizeof_hdr to ' + str(klass.sizeof_hdr) 893 if len(binaryblock) < klass.sizeof_hdr: 897 buffer=binaryblock[:klass.sizeof_hdr]) 906 _meta_sniff_len = header_class.sizeof_hdr
|
H A D | loadsave.py | 268 sizeof_hdr = hdr_struct['sizeof_hdr'] 270 if 540 in (sizeof_hdr, bs_sizeof_hdr): 274 if 348 in (sizeof_hdr, bs_sizeof_hdr):
|
H A D | spm2analyze.py | 118 if len(binaryblock) < klass.sizeof_hdr: 122 buffer=binaryblock[:klass.sizeof_hdr])
|
/dports/science/py-nibabel/nibabel-3.2.1/nibabel/tests/ |
H A D | test_image_types.py | 78 sizeof_hdr = getattr(expected_img_klass.header_class, 'sizeof_hdr', 0) 85 irrelevant=b'a' * (sizeof_hdr - 1), # A too-small sniff, query 86 bad_sniff=b'a' * sizeof_hdr, # Bad sniff, should fail 94 sizeof_hdr == 0)
|
H A D | test_nifti2.py | 32 sizeof_hdr = Nifti2Header.sizeof_hdr variable in _Nifti2Mixin
|
H A D | test_analyze.py | 59 sizeof_hdr = AnalyzeHeader.sizeof_hdr variable in TestAnalyzeHeader 94 assert self.header_class.template_dtype.itemsize == self.sizeof_hdr 98 assert len(hdr.binaryblock) == self.sizeof_hdr 99 assert hdr['sizeof_hdr'] == self.sizeof_hdr 119 assert self._dxer(hdr) == 'sizeof_hdr should be ' + str(self.sizeof_hdr) 143 assert fhdr['sizeof_hdr'] == self.sizeof_hdr 478 assert hdr['sizeof_hdr'] == self.sizeof_hdr
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/NIFTI/src/nifti/nifti2/ |
H A D | nifti2.h | 63 int32_t sizeof_hdr; /*!< MUST be 540 */ /* MUST be 348 */ /* 0 */ member 109 ((h).sizeof_hdr == 1543569408 || (h).sizeof_hdr == 469893120)
|
/dports/science/afni/afni-AFNI_21.3.16/src/nifti/nifti2/ |
H A D | nifti2.h | 63 int32_t sizeof_hdr; /*!< MUST be 540 */ /* MUST be 348 */ /* 0 */ member 109 ((h).sizeof_hdr == 1543569408 || (h).sizeof_hdr == 469893120)
|
/dports/graphics/mirtk/MIRTK-2.0.0-122-g38210fa/Modules/IO/src/nifti/ |
H A D | nifti2.h | 60 int32_t sizeof_hdr; /*!< MUST be 540 */ /* MUST be 348 */ /* 0 */ member 106 ((h).sizeof_hdr == 1543569408 || (h).sizeof_hdr == 469893120)
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vil3d/file_formats/ |
H A D | vil3d_analyze_format.cxx | 77 sizeof_hdr = OptionalSize; in reset() 115 if (key.sizeof_hdr != OptionalSize) in write_file() 122 WRITE(key.sizeof_hdr); in write_file() 193 bfs.read((char *)&key.sizeof_hdr, sizeof(key.sizeof_hdr)); in read_file() 196 swap_bytes_ = (key.sizeof_hdr>RD_AH_MAXHEADERSIZE); in read_file() 198 swapBytes((char *)&key.sizeof_hdr, sizeof(key.sizeof_hdr)); in read_file() 220 if (key.sizeof_hdr != ObligatorySize && in read_file() 221 key.sizeof_hdr != OptionalSize) in read_file() 280 if (key.sizeof_hdr == OptionalSize) in read_file()
|
/dports/math/vtk9/VTK-9.1.0/IO/Image/ |
H A D | vtkNIFTIImagePrivate.h | 41 int sizeof_hdr; /*!< MUST be 348 */ /* 0 */ member 226 int sizeof_hdr; /*!< MUST be 540 */ /* 0 */ member
|
/dports/math/vtk8/VTK-8.2.0/IO/Image/ |
H A D | vtkNIFTIImagePrivate.h | 39 int sizeof_hdr; /*!< MUST be 348 */ /* 0 */ member 224 int sizeof_hdr; /*!< MUST be 540 */ /* 0 */ member
|
/dports/math/vtk6/VTK-6.2.0/IO/Image/ |
H A D | vtkNIFTIImagePrivate.h | 39 int sizeof_hdr; /*!< MUST be 348 */ /* 0 */ member 229 int sizeof_hdr; /*!< MUST be 540 */ /* 0 */ member
|
/dports/math/libpgmath/flang-d07daf3/runtime/flang/ |
H A D | allo.c | 245 size_t need, size, slop, sizeof_hdr; in I8() local 270 sizeof_hdr = AUTOASZ; in I8() 307 if (nelem > 1 || need > 2 * sizeof_hdr) in I8() 337 area = (char *)p + sizeof_hdr; in I8() 385 size_t need, size, slop, sizeof_hdr; in I8() local 419 sizeof_hdr = AUTOASZ; in I8() 451 if (nelem > 1 || need > 2 * sizeof_hdr) in I8() 487 area = (char *)p + sizeof_hdr; in I8() 534 size_t need, size, slop, sizeof_hdr; in I8() local 547 sizeof_hdr = AUTOASZ; in I8() [all …]
|
/dports/science/minc2/minc-release-2.2.00/conversion/ana2mnc/ |
H A D | ana2mnc | 459 $h->{sizeof_hdr} = destruct(\$hdr_s, 0,'i', 0); 460 if($h->{sizeof_hdr} != 348){ 464 $h->{sizeof_hdr} = destruct(\$hdr_s, 0,'i', $bs); 467 if($h->{sizeof_hdr} != 348){ 629 $hdr_s = pack("i", $h->{sizeof_hdr} ); 685 $h->{sizeof_hdr} = 348; $h->{data_type} = 0;
|
/dports/science/minc2/minc-release-2.2.00/conversion/ana2mnc/doc/ |
H A D | spm_hread.m | 44 sizeof_hdr = fread(fid,1,'int32'); variable 45 if sizeof_hdr==1543569408, % Appears to be other-endian 54 sizeof_hdr = fread(fid,1,'int32'); variable
|
H A D | spm_dbh.h | 15 int sizeof_hdr; /* 0 + 4 */ member
|
H A D | dbh.h | 23 … int sizeof_hdr; /* 0 + 4 - the byte size of the header file */ member
|
/dports/graphics/xmedcon/xmedcon-0.17.0/source/ |
H A D | m-anlz.c | 89 if ( (hk.sizeof_hdr==348 || hk.sizeof_hdr==148 || hk.sizeof_hdr==228 || in MdcCheckANLZ() 90 hk.sizeof_hdr==384) in MdcCheckANLZ() 97 MdcSWAP(hk.sizeof_hdr); in MdcCheckANLZ() 155 MdcSWAP(hk.sizeof_hdr); MdcSWAP(hk.extents); MdcSWAP(hk.session_error); in MdcReadANLZ() 160 MdcPrntScrn("sizeof_hdr : %d\n",hk.sizeof_hdr); in MdcReadANLZ() 549 hk.sizeof_hdr = MDC_ANLZ_HK_SIZE + MDC_ANLZ_IMD_SIZE + MDC_ANLZ_DH_SIZE; in MdcWriteHeaderKey() 561 MdcSWAP(hk.sizeof_hdr); MdcSWAP(hk.extents); MdcSWAP(hk.session_error); in MdcWriteHeaderKey()
|
/dports/math/cgal/CGAL-5.3/include/CGAL/ImageIO/ |
H A D | analyze_impl.h | 53 int sizeof_hdr; /* 0 + 4 */ member 156 _swapLong((unsigned char*) &pntr->hk.sizeof_hdr) ; in _swapAnalyzeHdr() 313 if( analyzeHeader->hk.sizeof_hdr == sizeof(struct dsr) ) in _readAnalyzeHeader() 320 if( analyzeHeader->hk.sizeof_hdr != sizeof(struct dsr) ) in _readAnalyzeHeader() 324 analyzeHeader->hk.sizeof_hdr ); in _readAnalyzeHeader() 722 hdr.hk.sizeof_hdr = sizeof(struct dsr); in writeAnalyzeHeader()
|
/dports/graphics/vips/vips-8.12.0/libvips/foreign/ |
H A D | dbh.h | 25 int sizeof_hdr; /* 0 + 4 */ member
|
/dports/science/minc2/minc-release-2.2.00/conversion/ana2mnc/steve_smith_ana2mnc/ |
H A D | dbh.h | 16 int sizeof_hdr; /* 0 + 4 */ member
|
/dports/science/minc2/minc-release-2.2.00/conversion/nifti1/ |
H A D | analyze75.h | 23 … int sizeof_hdr; /* 0 + 4 - the byte size of the header file */ member
|
/dports/science/afni/afni-AFNI_21.3.16/src/nifti/fsliolib/ |
H A D | dbh.h | 18 int sizeof_hdr; /* 0 + 4 */ member
|