Loading man/sex.1 +1 −1 Original line number Diff line number Diff line .TH SEXTRACTOR "1" "November 2009" "SWarp 2.9.9" "User Commands" .TH SEXTRACTOR "1" "December 2009" "SWarp 2.9.9" "User Commands" .SH NAME sex \- extract a source catalog from an astronomical FITS image .SH SYNOPSIS Loading src/analyse.c +3 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ * * Contents: analyse(), endobject()...: measurements on detections. * * Last modify: 01/10/2009 * Last modify: 01/12/2009 * *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */ Loading Loading @@ -397,6 +397,8 @@ void endobject(picstruct *field, picstruct *dfield, picstruct *wfield, if (FLAG(obj2.analtime)) analtime1 = counter_seconds(); else analtime1 = 0.0; /* To avoid gcc -Wall warnings */ obj = &objlist->obj[n]; Loading src/fft.c +3 −4 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ * * Contents: Routines dealing with float precision FFT. * * Last modify: 17/11/2009 * Last modify: 01/12/2009 * *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */ Loading Loading @@ -133,12 +133,11 @@ OUTPUT -. NOTES For data1 and fdata2, memory must be allocated for size[0]* ... * 2*(size[naxis-1]/2+1) floats (padding required). AUTHOR E. Bertin (IAP) VERSION 08/10/2009 VERSION 01/12/2009 ***/ void fft_conv(float *data1, float *fdata2, int *size) { fftwf_complex *fdata0; float *fdata1p,*fdata2p,*data0, float *fdata1p,*fdata2p, real,imag, fac; int i, npix,npix2; Loading src/fits/fitsbody.c +4 −4 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ * * Contents: Handle memory allocation for FITS bodies. * * Last modify: 02/11/2009 * Last modify: 19/11/2009 * *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */ Loading Loading @@ -191,7 +191,7 @@ INPUT A pointer to the tab structure, OUTPUT -. NOTES . AUTHOR E. Bertin (IAP) VERSION 02/11/2009 VERSION 19/11/2009 ***/ void read_body(tabstruct *tab, PIXTYPE *ptr, size_t size) { Loading Loading @@ -334,14 +334,14 @@ void read_body(tabstruct *tab, PIXTYPE *ptr, size_t size) llblank = (LONGLONG)tab->blank; for (i=spoonful; i--; bufdata += sizeof(LONGLONG)) *(ptr++) = ((llval = *((LONGLONG *)bufdata)) == llblank)? -BIG : ival*bs + bz; -BIG : llval*bs + bz; } else { llublank = (ULONGLONG)tab->blank; for (i=spoonful; i--; bufdata += sizeof(ULONGLONG)) *(ptr++) = ((lluval = *((ULONGLONG *)bufdata)) == llublank)? -BIG : iuval*bs + bz; -BIG : lluval*bs + bz; } } else Loading src/fits/fitsconv.c +4 −4 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ * * Contents: functions for converting LDAC FITS catalogs. * * Last modify: 02/11/2009 * Last modify: 19/11/2009 * *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */ Loading Loading @@ -133,14 +133,14 @@ INPUT Pointer to element to convert, OUTPUT -. NOTES ttypeconv does not yet handle arrays. AUTHOR E. Bertin (IAP) VERSION 02/11/2009 VERSION 19/11/2009 ***/ void ttypeconv(void *ptrin, void *ptrout, t_type ttypein, t_type ttypeout) { union {char tbyte; short tshort; int tlong; LONGLONG tlonglong; float tfloat; double tdouble; char tstring;} ival; // union {char tbyte; short tshort; int tlong; LONGLONG tlonglong; // float tfloat; double tdouble; char tstring;} ival; #ifdef HAVE_LONG_LONG_INT #define OUTCONV(x, y) \ Loading Loading
man/sex.1 +1 −1 Original line number Diff line number Diff line .TH SEXTRACTOR "1" "November 2009" "SWarp 2.9.9" "User Commands" .TH SEXTRACTOR "1" "December 2009" "SWarp 2.9.9" "User Commands" .SH NAME sex \- extract a source catalog from an astronomical FITS image .SH SYNOPSIS Loading
src/analyse.c +3 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ * * Contents: analyse(), endobject()...: measurements on detections. * * Last modify: 01/10/2009 * Last modify: 01/12/2009 * *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */ Loading Loading @@ -397,6 +397,8 @@ void endobject(picstruct *field, picstruct *dfield, picstruct *wfield, if (FLAG(obj2.analtime)) analtime1 = counter_seconds(); else analtime1 = 0.0; /* To avoid gcc -Wall warnings */ obj = &objlist->obj[n]; Loading
src/fft.c +3 −4 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ * * Contents: Routines dealing with float precision FFT. * * Last modify: 17/11/2009 * Last modify: 01/12/2009 * *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */ Loading Loading @@ -133,12 +133,11 @@ OUTPUT -. NOTES For data1 and fdata2, memory must be allocated for size[0]* ... * 2*(size[naxis-1]/2+1) floats (padding required). AUTHOR E. Bertin (IAP) VERSION 08/10/2009 VERSION 01/12/2009 ***/ void fft_conv(float *data1, float *fdata2, int *size) { fftwf_complex *fdata0; float *fdata1p,*fdata2p,*data0, float *fdata1p,*fdata2p, real,imag, fac; int i, npix,npix2; Loading
src/fits/fitsbody.c +4 −4 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ * * Contents: Handle memory allocation for FITS bodies. * * Last modify: 02/11/2009 * Last modify: 19/11/2009 * *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */ Loading Loading @@ -191,7 +191,7 @@ INPUT A pointer to the tab structure, OUTPUT -. NOTES . AUTHOR E. Bertin (IAP) VERSION 02/11/2009 VERSION 19/11/2009 ***/ void read_body(tabstruct *tab, PIXTYPE *ptr, size_t size) { Loading Loading @@ -334,14 +334,14 @@ void read_body(tabstruct *tab, PIXTYPE *ptr, size_t size) llblank = (LONGLONG)tab->blank; for (i=spoonful; i--; bufdata += sizeof(LONGLONG)) *(ptr++) = ((llval = *((LONGLONG *)bufdata)) == llblank)? -BIG : ival*bs + bz; -BIG : llval*bs + bz; } else { llublank = (ULONGLONG)tab->blank; for (i=spoonful; i--; bufdata += sizeof(ULONGLONG)) *(ptr++) = ((lluval = *((ULONGLONG *)bufdata)) == llublank)? -BIG : iuval*bs + bz; -BIG : lluval*bs + bz; } } else Loading
src/fits/fitsconv.c +4 −4 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ * * Contents: functions for converting LDAC FITS catalogs. * * Last modify: 02/11/2009 * Last modify: 19/11/2009 * *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */ Loading Loading @@ -133,14 +133,14 @@ INPUT Pointer to element to convert, OUTPUT -. NOTES ttypeconv does not yet handle arrays. AUTHOR E. Bertin (IAP) VERSION 02/11/2009 VERSION 19/11/2009 ***/ void ttypeconv(void *ptrin, void *ptrout, t_type ttypein, t_type ttypeout) { union {char tbyte; short tshort; int tlong; LONGLONG tlonglong; float tfloat; double tdouble; char tstring;} ival; // union {char tbyte; short tshort; int tlong; LONGLONG tlonglong; // float tfloat; double tdouble; char tstring;} ival; #ifdef HAVE_LONG_LONG_INT #define OUTCONV(x, y) \ Loading