IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36453


Ignore:
Timestamp:
Jan 17, 2014, 1:49:00 PM (12 years ago)
Author:
bills
Message:

updates from ipp-20140114 tag

Location:
trunk/psphot
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot

  • trunk/psphot/src

  • trunk/psphot/src/psphotChooseAnalysisOptions.c

    r36441 r36453  
    250250            psSphere ptGal, ptSky;
    251251            GetGalacticCoords (&ptGal, &ptSky, toGal, chip, source->peak->xf, source->peak->yf);
    252             float b = ptGal.r;
    253             float limit = GAL_LIMIT + GAL_LIMIT_BULGE * exp(-0.5*(b*b/GAL_LIMIT_SIGMA2));
    254             if (fabs(ptGal.d) < limit) continue;
     252            float l = ptGal.r;
     253            float b_min = GAL_LIMIT + GAL_LIMIT_BULGE * exp(-0.5*(l*l/GAL_LIMIT_SIGMA2));
     254            if (fabs(ptGal.d) < b_min) continue;
    255255            // include an exception for low density skycells below the limit?
    256256        }
     
    533533                psSphere ptGal, ptSky;
    534534                GetGalacticCoords (&ptGal, &ptSky, toGal, chips->data[imageID], source->peak->xf, source->peak->yf);
    535                 float b = ptGal.r;
    536                 float limit = GAL_LIMIT + GAL_LIMIT_BULGE * exp(-0.5*(b*b/GAL_LIMIT_SIGMA2));
    537                 if (fabs(ptGal.d) < limit) continue;
     535                float l = ptGal.r;
     536                float b_min = GAL_LIMIT + GAL_LIMIT_BULGE * exp(-0.5*(l*l/GAL_LIMIT_SIGMA2));
     537                if (fabs(ptGal.d) < b_min) continue;
    538538            }
    539539
  • trunk/psphot/src/psphotStackImageLoop.c

    • Property svn:mergeinfo changed (with no actual effect on merging)
Note: See TracChangeset for help on using the changeset viewer.