public software.sextractor

[/] [branches/] [multi/] [src/] [catout.c] - Diff between revs 282 and 285

Show entire file | Details | Blame | View Log

Rev 282 Rev 285
Line 356... Line 356...
PURPOSE Update parameter flags according to their mutual dependencies.
PURPOSE Update parameter flags according to their mutual dependencies.
INPUT   Pointer to the obj2list.
INPUT   Pointer to the obj2list.
OUTPUT  -.
OUTPUT  -.
NOTES   Requires access to the flagobj2 static pointer.
NOTES   Requires access to the flagobj2 static pointer.
AUTHOR  E. Bertin (IAP)
AUTHOR  E. Bertin (IAP)
VERSION 20/03/2012
VERSION 06/05/2012
 ***/
 ***/
void    catout_updateparamflags(void)
void    catout_updateparamflags(void)
 
 
  {
  {
   int  i;
   int  i;
Line 757... Line 757...
 
 
  FLAG(obj2.flux_best) |= FLAG(obj2.mag_best) | FLAG(obj2.fluxerr_best);
  FLAG(obj2.flux_best) |= FLAG(obj2.mag_best) | FLAG(obj2.fluxerr_best);
 
 
  FLAG(obj2.hl_radius) |= FLAG(obj2.winpos_x) | prefs.prof_flag;
  FLAG(obj2.hl_radius) |= FLAG(obj2.winpos_x) | prefs.prof_flag;
 
 
 
  FLAG(obj2.fluxerr_auto) |= prefs.prof_flag;
 
 
  FLAG(obj2.flux_auto) = FLAG(obj2.flux_best)
  FLAG(obj2.flux_auto) = FLAG(obj2.flux_best)
                        | FLAG(obj2.flux_radius)
                        | FLAG(obj2.flux_radius)
                        | FLAG(obj2.hl_radius)
                        | FLAG(obj2.hl_radius)
                        | FLAG(obj2.fluxcor_prof);
                        | FLAG(obj2.fluxcor_prof);
  prefs.auto_flag = FLAG(obj2.flux_auto)
  prefs.auto_flag = FLAG(obj2.flux_auto)