IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 19, 2006, 11:13:21 AM (20 years ago)
Author:
rhl
Message:

Use pmSource->sky not params[PM_PAR_SKY]

File:
1 edited

Legend:

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

    r9067 r9652  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-09-30 02:29:59 $
     5 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-10-19 21:13:21 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    117117
    118118        type = pmSourceDophotType (source);
    119         lsky = (PAR[PM_PAR_SKY] < 1.0) ? 0.0 : log10(PAR[PM_PAR_SKY]);
     119        #if 0
     120
     121        float sky = PAR[PM_PAR_SKY];
     122        #else
     123
     124        float sky = source->sky;
     125        #endif
     126
     127        lsky = (sky < 1.0) ? 0.0 : log10(sky);
    120128
    121129        shape.sx  = PAR[PM_PAR_SXX];
Note: See TracChangeset for help on using the changeset viewer.