IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4988


Ignore:
Timestamp:
Sep 10, 2005, 10:20:30 AM (21 years ago)
Author:
eugene
Message:

dM is in mags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/gstars.c

    r4824 r4988  
    175175  for (N = j = 0; j < image[0].nstar; j++) {
    176176    /* allow for some dynamic filtering of star list */
    177     if (rdstars[j].dM > 1000.0 / SNLIMIT) continue;
     177    if (rdstars[j].dM > SNLIMIT) continue;
    178178    if (XMAX && (rdstars[j].X > XMAX)) continue;
    179179    if (XMIN && (rdstars[j].X < XMIN)) continue;
     
    193193      stars[N].Mgal -= dMs;
    194194      stars[N].Map  -= dMs;
    195       dMs = 1000.0*scat_subpix (stars[N].X, stars[N].Y);
     195      dMs = scat_subpix (stars[N].X, stars[N].Y);
    196196      stars[N].dM = hypot (stars[N].dM, dMs);
    197197    }
Note: See TracChangeset for help on using the changeset viewer.