Changeset 685 in Sophya for trunk/SophyaPI/PIext/pistlist.cc
- Timestamp:
- Dec 13, 1999, 12:19:25 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pistlist.cc
r544 r685 106 106 if (!mStL) return; 107 107 108 PIGrCoord uxmin, uxmax, uymin, uymax; 109 g->GetGrSpace(uxmin, uxmax, uymin, uymax); 110 double xmin2 = uxmin; 111 double ymin2 = uymin; 112 double xmax2 = uxmax; 113 double ymax2 = uymax; 114 108 115 int msz = mMSz; 109 116 if (msz < 1) msz = 1; … … 118 125 xp = sti->PosX(); yp = sti->PosY(); 119 126 if ( (xp < xmin) || (xp > xmax) || (yp < ymin) || (yp > ymax) ) continue; 127 if ( (xp < xmin2) || (xp > xmax2) || (yp < ymin2) || (yp > ymax2) ) continue; 120 128 nok++; 121 129 sz = (int)((log10((double)flx/mF0))/mDLgF*(double)nl2-0.01) + msz; … … 148 156 char buff[128]; 149 157 int ncnt = 0; 150 sprintf(buff,"PIStarList: NStars \n", mStL->NbStars() );158 sprintf(buff,"PIStarList: NStars %d \n", mStL->NbStars() ); 151 159 info += buff; 152 160 info += " Num: XPos YPos Flux Fond \n";
Note:
See TracChangeset
for help on using the changeset viewer.