IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11161


Ignore:
Timestamp:
Jan 18, 2007, 6:39:02 PM (19 years ago)
Author:
magnier
Message:

changing to peak SN from moments SN, adding flux and SN to peak output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceIO_RAW.c

    r10421 r11161  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-12-03 18:48:10 $
     5 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-01-19 04:39:02 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    104104                 source[0].apMag, source[0].type, source[0].mode,
    105105                 logChi, logChiNorm,
    106                  source[0].moments->SN,
     106                 source[0].peak->SN,
    107107                 model[0].radiusFit,
    108108                 source[0].pixWeight,
     
    164164                 log10(model[0].chisq/model[0].nDOF),
    165165                 log10(model[0].chisqNorm/model[0].nDOF),
    166                  source[0].moments->SN,
     166                 source[0].peak->SN,
    167167                 model[0].radiusFit,
    168168                 source[0].pixWeight,
     
    208208
    209209        fprintf (f, "%5d %5d  %7.1f  %7.1f %7.1f  %6.3f %6.3f  %8.1f %7.1f %7.1f %7.1f  %4d %2d\n",
    210                  source->peak->x, source->peak->y, source->peak->counts,
     210                 source->peak->x, source->peak->y, source->peak->value,
    211211                 moment->x, moment->y,
    212212                 moment->Sx, moment->Sy,
     
    239239            continue;
    240240        fprintf (f, "%5d %5d  %7.1f  %7.1f %7.1f  %6.3f %6.3f  %10.1f %7.1f %7.1f %7.1f  %4d %2d %#5x\n",
    241                  source->peak->x, source->peak->y, source->peak->counts,
     241                 source->peak->x, source->peak->y, source->peak->value,
    242242                 source->moments->x, source->moments->y,
    243243                 source->moments->Sx, source->moments->Sy,
     
    267267        if (peak == NULL)
    268268            continue;
    269         fprintf (f, "%5d %5d  %7.1f %7.2f %7.2f\n",
    270                  peak->x, peak->y, peak->counts, peak->xf, peak->yf);
    271     }
    272     fclose (f);
    273     return true;
    274 }
    275 
     269        fprintf (f, "%5d %5d  %7.1f %7.2f %7.2f %7.2f\n",
     270                 peak->x, peak->y, peak->value, peak->SN, peak->xf, peak->yf);
     271    }
     272    fclose (f);
     273    return true;
     274}
     275
Note: See TracChangeset for help on using the changeset viewer.