Changeset 4988
- Timestamp:
- Sep 10, 2005, 10:20:30 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/src/gstars.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/gstars.c
r4824 r4988 175 175 for (N = j = 0; j < image[0].nstar; j++) { 176 176 /* allow for some dynamic filtering of star list */ 177 if (rdstars[j].dM > 1000.0 /SNLIMIT) continue;177 if (rdstars[j].dM > SNLIMIT) continue; 178 178 if (XMAX && (rdstars[j].X > XMAX)) continue; 179 179 if (XMIN && (rdstars[j].X < XMIN)) continue; … … 193 193 stars[N].Mgal -= dMs; 194 194 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); 196 196 stars[N].dM = hypot (stars[N].dM, dMs); 197 197 }
Note:
See TracChangeset
for help on using the changeset viewer.
