Home
last modified time | relevance | path

Searched refs:bytepix (Results 1 – 23 of 23) sorted by relevance

/dports/science/minc2/minc-release-2.2.00/conversion/ana2mnc/steve_smith_ana2mnc/
H A Dminc2analyze.c168 bytepix=bitpix/8;
312 counters[0]) * bytepix ),
316 counters[order[0]]) * bytepix ),
317 bytepix);
341 x) * bytepix ),
346 bytepix);
367 x) * bytepix ),
372 bytepix);
404 y*x_dim_short ) * bytepix ),
408 bytepix*x_dim_short);
[all …]
H A Danalyze2minc.c231 int int_a, size, rev=0, volumes=1, swap=0, bytepix, i, x, y, z, revxdata=1; local
315 bytepix=DataTypeSizes[datatype]/8;
343 fread(buffera,bytepix,volumes*x_dim_short*y_dim_short*z_dim_short,fd);
353 x) * bytepix ),
357 (x_dim_short-x-1) ) * bytepix ),
358 bytepix);
362 fwrite(bufferb,bytepix,volumes*x_dim_short*y_dim_short*z_dim_short,fd);
388 fread(buffera,bytepix,1,fd);
390 if (bytepix==2)
393 if (bytepix==4)
[all …]
/dports/astro/py-astlib/astLib-0.11.7/PyWCSTools/wcssubs-3.9.5/
H A Dfitsfile.c703 bytepix = bitpix / 8;
704 if (bytepix < 0) bytepix = -bytepix;
849 bytepix = bitpix / 8;
850 if (bytepix < 0) bytepix = -bytepix;
962 bytepix = bitpix / 8;
963 if (bytepix < 0) bytepix = -bytepix;
964 nbimage = bytepix;
1724 bytepix = bitpix / 8;
1725 if (bytepix < 0) bytepix = -bytepix;
1726 nbimage = bytepix;
[all …]
H A Dimhfile.c343 bytepix = -bitpix / 8;
345 bytepix = bitpix / 8;
353 nbimage = naxis1 * naxis2 * bytepix;
357 if (bytepix > 4)
359 else if (bytepix > 2)
361 else if (bytepix > 1)
377 nbdiff = (npaxis1 - naxis1) * bytepix;
378 nbaxis = naxis1 * bytepix;
971 bytepix = -bitpix / 8;
973 bytepix = bitpix / 8;
[all …]
/dports/astro/astrometry/astrometry.net-0.85/solver/
H A Dimcopy.c25 int hdutype, bitpix, bytepix, naxis = 0, nkeys, datatype = 0, anynul; in main() local
151 bytepix = abs(bitpix) / 8; in main()
158 array = (double *) calloc(npix, bytepix); in main()
164 array = (double *) calloc(npix, bytepix); in main()
/dports/astro/cfitsio/cfitsio-3.49/
H A Dimcopy.c10 int hdutype, bitpix, bytepix, naxis = 0, nkeys, datatype = 0, anynul; in main() local
181 bytepix = abs(bitpix) / 8; in main()
188 array = (double *) calloc(npix, bytepix); in main()
194 array = (double *) calloc(npix, bytepix); in main()
H A Diraffits.c347 int bitpix, bytepix, i; in irafrdimage() local
422 bytepix = -bitpix / 8; in irafrdimage()
424 bytepix = bitpix / 8; in irafrdimage()
426 nbimage = naxis1 * naxis2 * naxis3 * naxis4 * bytepix; in irafrdimage()
456 nbdiff = (npaxis1 - naxis1) * bytepix; in irafrdimage()
457 nbaxis = naxis1 * bytepix; in irafrdimage()
/dports/science/healpix/Healpix_3.50/src/healpy/cfitsio/
H A Dimcopy.c10 int hdutype, bitpix, bytepix, naxis = 0, nkeys, datatype = 0, anynul; in main() local
181 bytepix = abs(bitpix) / 8; in main()
188 array = (double *) calloc(npix, bytepix); in main()
194 array = (double *) calloc(npix, bytepix); in main()
H A Diraffits.c346 int bitpix, bytepix, i; in irafrdimage() local
421 bytepix = -bitpix / 8; in irafrdimage()
423 bytepix = bitpix / 8; in irafrdimage()
425 nbimage = naxis1 * naxis2 * naxis3 * naxis4 * bytepix; in irafrdimage()
455 nbdiff = (npaxis1 - naxis1) * bytepix; in irafrdimage()
456 nbaxis = naxis1 * bytepix; in irafrdimage()
/dports/astro/sextractor/sextractor-2.5.0/src/fits/
H A Dfitsbody.c76 npix = tab->tabsize/tab->bytepix; in alloc_body()
158 size = (tab->tabsize/tab->bytepix)*sizeof(PIXTYPE); in free_body()
223 bowl = DATA_BUFSIZE/tab->bytepix; in read_body()
230 QFREAD(bufdata, spoonful*tab->bytepix, cat->file, cat->filename); in read_body()
488 bowl = DATA_BUFSIZE/tab->bytepix; in write_body()
570 QFWRITE(cbufdata0, spoonful*tab->bytepix, cat->file, cat->filename); in write_body()
H A Dfitswrite.c171 swapbytes(tab->bodybuf, tab->bytepix, tabsize/tab->bytepix); in save_tab()
174 swapbytes(tab->bodybuf, tab->bytepix, tabsize/tab->bytepix); in save_tab()
H A Dfitshead.c108 tab->bytepix = tab->bitpix>0?(tab->bitpix/8):(-tab->bitpix/8); in readbasic_head()
147 tab->tabsize = tab->bytepix*tab->gcount*((size_t)tab->pcount+tabsize); in readbasic_head()
H A Dfitscat.c271 tab->bytepix = 1; in init_cat()
H A Dfitscat.h140 int bytepix; /* bytes per element */ member
H A Dfitstab.c436 tab->bytepix = 1; in new_tab()
/dports/astro/sextractor/sextractor-2.5.0/src/
H A Dreadimage.c230 bowl = DATA_BUFSIZE/field->bytepix; in readdata()
237 QFREAD(bufdata, spoonful*field->bytepix, field->file,field->filename); in readdata()
403 bowl = DATA_BUFSIZE/field->bytepix; in readidata()
410 QFREAD(bufdata, spoonful*field->bytepix, field->file, field->filename); in readidata()
572 field->bytepix = (field->bitpix>0?field->bitpix:-field->bitpix)>>3; in readimagehead()
H A Dfield.c94 field->width, field->height, field->bytepix*8, in newfield()
H A Dtypes.h328 int bitpix, bytepix; /* nb of bits and bytes per pixel */ member
H A Dback.c183 QFSEEK(field->file, bufshift*(OFF_T)field->bytepix, SEEK_CUR, in makeback()
190 QFSEEK(field->file, jumpsize*(OFF_T)field->bytepix, SEEK_CUR, in makeback()
197 QFSEEK(wfield->file, bufshift*(OFF_T)wfield->bytepix, SEEK_CUR, in makeback()
205 QFSEEK(wfield->file, jumpsize*(OFF_T)wfield->bytepix, SEEK_CUR, in makeback()
/dports/astro/oskar/OSKAR-2.8.0/extern/cfitsio/
H A Diraffits.c347 int bitpix, bytepix, i; in irafrdimage() local
422 bytepix = -bitpix / 8; in irafrdimage()
424 bytepix = bitpix / 8; in irafrdimage()
426 nbimage = naxis1 * naxis2 * naxis3 * naxis4 * bytepix; in irafrdimage()
456 nbdiff = (npaxis1 - naxis1) * bytepix; in irafrdimage()
457 nbaxis = naxis1 * bytepix; in irafrdimage()
/dports/astro/py-astropy/astropy-5.0/cextern/cfitsio/lib/
H A Diraffits.c347 int bitpix, bytepix, i; in irafrdimage() local
422 bytepix = -bitpix / 8; in irafrdimage()
424 bytepix = bitpix / 8; in irafrdimage()
426 nbimage = naxis1 * naxis2 * naxis3 * naxis4 * bytepix; in irafrdimage()
456 nbdiff = (npaxis1 - naxis1) * bytepix; in irafrdimage()
457 nbaxis = naxis1 * bytepix; in irafrdimage()
/dports/math/PDL/PDL-2.019/IO/FITS/
H A DFITS.pm1342 my $bytepix = $params->{BYTEPIX} || 4;
1350 if( PDL::howbig($compressed->get_datatype) != $bytepix ) {
1355 $scaledim0 = $dims[0] * PDL::howbig($compressed->get_datatype) / $bytepix;
1360 ($newdim0-$scaledim0) * $bytepix / PDL::howbig($compressed->get_datatype),
1366 my $c2 = zeroes( $type_table_2->{$bytepix * 8}, $newdim0, @dims[1..$#dims] );
/dports/astro/py-astropy/astropy-5.0/astropy/io/fits/hdu/
H A Dcompressed.py1203 bytepix = 1
1205 bytepix = 2
1207 bytepix = DEFAULT_BYTE_PIX
1209 self._header.set('ZVAL2', bytepix,