public software.sextractor

[/] [branches/] [multi/] [src/] [field.h] - Diff between revs 276 and 279

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 276 Rev 279
Line 5... Line 5...
*
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*
*
*       This file part of:      SExtractor
*       This file part of:      SExtractor
*
*
*       Copyright:              (C) 1993-2011 Emmanuel Bertin -- IAP/CNRS/UPMC
*       Copyright:              (C) 1993-2012 Emmanuel Bertin -- IAP/CNRS/UPMC
*
*
*       License:                GNU General Public License
*       License:                GNU General Public License
*
*
*       SExtractor is free software: you can redistribute it and/or modify
*       SExtractor is free software: you can redistribute it and/or modify
*       it under the terms of the GNU General Public License as published by
*       it under the terms of the GNU General Public License as published by
Line 20... Line 20...
*       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*       GNU General Public License for more details.
*       GNU General Public License for more details.
*       You should have received a copy of the GNU General Public License
*       You should have received a copy of the GNU General Public License
*       along with SExtractor. If not, see <http://www.gnu.org/licenses/>.
*       along with SExtractor. If not, see <http://www.gnu.org/licenses/>.
*
*
*       Last modified:          08/12/2011
*       Last modified:          08/02/2012
*
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
 
#ifndef _FIELD_H_
#ifndef _FIELD_H_
#define _FIELD_H_
#define _FIELD_H_
Line 70... Line 70...
  int           stripmargin;            /* number of lines in margin */
  int           stripmargin;            /* number of lines in margin */
  int           stripstep;              /* number of lines at each read */
  int           stripstep;              /* number of lines at each read */
  int           stripy;                 /* y position in buffer */
  int           stripy;                 /* y position in buffer */
  int           stripylim;              /* y limit in buffer */
  int           stripylim;              /* y limit in buffer */
  int           stripysclim;            /* y scroll limit in buffer */
  int           stripysclim;            /* y scroll limit in buffer */
/* ---- basic astrometric parameters */
/* ---- astrometric parameters */
 
  struct wcs    *wcs;                   /* astrometric data */
 
  struct structassoc    *assoc;         /* ptr to the assoc-list */
 
  int           flags;                  /* flags defining the field type */
   double       pixscale;               /* pixel size in arcsec.pix-1 */
   double       pixscale;               /* pixel size in arcsec.pix-1 */
   double       epoch;                  /* epoch of coordinates */
   double       epoch;                  /* epoch of coordinates */
/* ---- basic photometric parameters */
/* ---- photometric parameters */
 
  int           photomlabel;            /* photometric label index */
   double       gain;                   /* conversion factor in e-/ADU */
   double       gain;                   /* conversion factor in e-/ADU */
   double       satur_level;            /* saturation level in ADUs */
   double       satur_level;            /* saturation level in ADUs */
/* ---- background parameters */
/* ---- background parameters */
  float         *back;                  /* ptr to the background map in mem */
  float         *back;                  /* ptr to the background map in mem */
  float         *dback;                 /* ptr to the background deriv. map */
  float         *dback;                 /* ptr to the background deriv. map */
Line 94... Line 98...
  PIXTYPE       *backline;              /* current interpolated bkgnd line */
  PIXTYPE       *backline;              /* current interpolated bkgnd line */
  PIXTYPE       dthresh;                /* detection threshold */
  PIXTYPE       dthresh;                /* detection threshold */
  PIXTYPE       thresh;                 /* analysis threshold */
  PIXTYPE       thresh;                 /* analysis threshold */
  backenum      back_type;              /* Background type */
  backenum      back_type;              /* Background type */
/* ---- astrometric parameters */
/* ---- astrometric parameters */
  struct wcs    *wcs;                   /* astrometric data */
 
  struct structassoc    *assoc;         /* ptr to the assoc-list */
 
  int           flags;                  /* flags defining the field type */
 
/* ---- image interpolation */
/* ---- image interpolation */
  int           interp_flag;            /* interpolation for this field? */
  int           interp_flag;            /* interpolation for this field? */
  PIXTYPE       *interp_backup;         /* backup line for interpolation */
  PIXTYPE       *interp_backup;         /* backup line for interpolation */
  PIXTYPE       weight_thresh;          /* interpolation threshold */
  PIXTYPE       weight_thresh;          /* interpolation threshold */
  int           *interp_ytimeoutbuf;    /* interpolation timeout line buffer */
  int           *interp_ytimeoutbuf;    /* interpolation timeout line buffer */
Line 114... Line 115...
/*------------------------------- functions ---------------------------------*/
/*------------------------------- functions ---------------------------------*/
 
 
void            field_end(fieldstruct *field);
void            field_end(fieldstruct *field);
 
 
fieldstruct     *field_inherit(fieldstruct *infield, int flags),
fieldstruct     *field_inherit(fieldstruct *infield, int flags),
                *field_init(char *filename, int flags, int ext);
                *field_init(char *filename, int ext, int flags);
 
 
#endif
#endif
 
 
 No newline at end of file
 No newline at end of file