Changeset 15514
- Timestamp:
- Nov 8, 2007, 12:04:27 PM (19 years ago)
- Location:
- trunk/Ohana/src
- Files:
-
- 10 edited
-
addstar/src/FilterStars.c (modified) (1 diff)
-
addstar/src/ReadImageHeader.c (modified) (1 diff)
-
addstar/src/ReadStarsFITS.c (modified) (1 diff)
-
addstar/src/getgsc.c (modified) (1 diff)
-
addstar/src/getusno.c (modified) (1 diff)
-
libdvo/include/dvo.h (modified) (1 diff)
-
libdvo/src/dvo_photcode_ops.c (modified) (1 diff)
-
opihi/cmd.data/histogram.c (modified) (1 diff)
-
relphot/src/MosaicOps.c (modified) (1 diff)
-
relphot/src/StarOps.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/FilterStars.c
r15509 r15514 4 4 5 5 int j, N; 6 float MTIME, dMs ;6 float MTIME, dMs, dMx; 7 7 Stars *stars; 8 8 float RMIN, RMAX, DMIN, DMAX; -
trunk/Ohana/src/addstar/src/ReadImageHeader.c
r15509 r15514 154 154 /* secz is in units milli-airmass */ 155 155 image[0].Mcal = 0.0; 156 image[0].Xm = N O_MAG;156 image[0].Xm = NAN_S_SHORT; 157 157 image[0].code = 0; 158 158 memset (image[0].dummy, 0, sizeof(image[0].dummy)); -
trunk/Ohana/src/addstar/src/ReadStarsFITS.c
r15509 r15514 176 176 stars[i].dY = ps1data[i].dY; 177 177 if ((ps1data[i].M >= 0.0) || isnan(ps1data[i].M)) { 178 stars[i].M = 0.001*NO_MAG;178 stars[i].M = NAN; 179 179 } else { 180 180 stars[i].M = ps1data[i].M + ZeroPt; -
trunk/Ohana/src/addstar/src/getgsc.c
r8517 r15514 71 71 72 72 dparse (&stars[Nstars].M, 3, &buffer[Nbyte]); 73 stars[Nstars].dM = N O_ERR;73 stars[Nstars].dM = NAN; 74 74 stars[Nstars].t = 0; 75 75 stars[Nstars].code = GSC_M; -
trunk/Ohana/src/addstar/src/getusno.c
r15036 r15514 113 113 stars[Nusno].R = buf[0]/360000.0; 114 114 stars[Nusno].D = buf[1]/360000.0 - 90.0; 115 stars[Nusno].dM = N O_ERR;115 stars[Nusno].dM = NAN; 116 116 stars[Nusno].t = 0; 117 117 stars[Nusno].found = -1; -
trunk/Ohana/src/libdvo/include/dvo.h
r15509 r15514 57 57 } DVO_INT_NAN; 58 58 59 # ifndef (NAN)60 # ifndef (BYTE_SWAP)59 # ifndef NAN 60 # ifndef BYTE_SWAP 61 61 # define __nan_bytes { 0x7f, 0xc0, 0, 0 } 62 62 # else -
trunk/Ohana/src/libdvo/src/dvo_photcode_ops.c
r15509 r15514 393 393 m2 = (Ns == -1) ? NAN : secfilt[Ns].M; 394 394 } 395 mc = (isnan(m1) ) || isnan(m2))) ? NAN : (m1 - m2);395 mc = (isnan(m1) || isnan(m2)) ? NAN : (m1 - m2); 396 396 return (mc); 397 397 } -
trunk/Ohana/src/opihi/cmd.data/histogram.c
r7917 r15514 37 37 V = xvec[0].elements; 38 38 for (i = 0; i < xvec[0].Nelements; i++, V++) { 39 if (isnan(*V)) continue; 39 40 bin = MIN (MAX (0, (*V - start) / delta), Nbins - 1); 40 41 yvec[0].elements[bin] += 1.0; -
trunk/Ohana/src/relphot/src/MosaicOps.c
r15509 r15514 451 451 int i, j, m, c, n, N; 452 452 double *list, *dlist; 453 float Mcal ;453 float Mcal, Mgrid, Mrel; 454 454 StatType stats; 455 455 -
trunk/Ohana/src/relphot/src/StarOps.c
r15509 r15514 345 345 int i, j, k, m, n, N, Ntot; 346 346 double *list, *dlist; 347 float Mcal, Mmos ;347 float Mcal, Mmos, Mgrid; 348 348 StatType stats; 349 349
Note:
See TracChangeset
for help on using the changeset viewer.
