IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 10, 2020, 3:41:20 PM (6 years ago)
Author:
eugene
Message:

distinguish randomly-generated stars from those supplied by a reference catalog (flags2 | PM_SOURCE_MODE2_MATCHED)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSimStars.c

    r23487 r41397  
    99
    1010    ppSimStar *star = (ppSimStar *) psAlloc(sizeof(ppSimStar));
     11
     12    star->ra = NAN;
     13    star->dec = NAN;
     14    star->mag = NAN;
     15    star->x = NAN;
     16    star->y = NAN;
     17    star->flux = NAN;
     18    star->peak = NAN;
     19    star->external = FALSE; // star was supplied (not randomly generated) for this analysis
     20
    1121    psMemSetDeallocator(star, (psFreeFunc) ppSimStarFree);
    12 
    1322    return star;
    1423}
Note: See TracChangeset for help on using the changeset viewer.