Changeset 34088 for trunk/Ohana/src/getstar
- Timestamp:
- Jun 26, 2012, 11:46:01 AM (14 years ago)
- Location:
- trunk/Ohana/src/getstar/src
- Files:
-
- 4 edited
-
GetFileMode.c (modified) (1 diff)
-
ReadImageFiles.c (modified) (1 diff)
-
edge_check.c (modified) (2 diffs)
-
select_by_region.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/getstar/src/GetFileMode.c
r27435 r34088 14 14 gfits_scan_alt (header, "EXTEND", "%t", 1, &extend); 15 15 16 if ( (Naxis == 2) || !simple) {17 if ( !strcmp (&ctype[4], "-WRP")) {16 if (haveNaxis && ((Naxis == 2) || !simple)) { 17 if (haveCTYPE && !strcmp (&ctype[4], "-WRP")) { 18 18 return MOSAIC_CMP; 19 19 } -
trunk/Ohana/src/getstar/src/ReadImageFiles.c
r29557 r34088 1 1 # include "dvoImageOverlaps.h" 2 # define DVO_IMAGE_NAME_LEN 1283 2 4 3 Image *ReadImageFiles (char *filename, off_t *Nimages) { -
trunk/Ohana/src/getstar/src/edge_check.c
r12774 r34088 4 4 5 5 double theta1, theta2; 6 double Theta1, Theta2;7 6 8 7 theta1 = opening_angle (x1[0], y1[0], x2[0], y2[0], x1[1], y1[1]); … … 17 16 } 18 17 19 Theta1 = theta1;20 Theta2 = theta2;21 18 theta1 = opening_angle (x2[0], y2[0], x1[1], y1[1], x2[1], y2[1]); 22 19 theta2 = opening_angle (x2[0], y2[0], x1[1], y1[1], x1[0], y1[0]); -
trunk/Ohana/src/getstar/src/select_by_region.c
r31669 r34088 4 4 int select_by_region (Catalog *output, Catalog *catalog, SkyRegion *region, int start, int end) { 5 5 6 int i, j, Nm,offset, m, Nsecfilt, code, Nsec;6 int i, j, offset, m, Nsecfilt, code, Nsec; 7 7 int Nave, NAVE, Nmeas, NMEAS, needMeas; 8 8 double R, D, AREA; … … 140 140 } 141 141 142 Nm = 0;143 offset = catalog[0].average[i].measureOffset;144 145 142 if (needMeas) { 143 offset = catalog[0].average[i].measureOffset; 146 144 for (j = 0; j < catalog[0].average[i].Nmeasure; j++) { 147 145 output[0].measure[Nmeas] = catalog[0].measure[offset + j];
Note:
See TracChangeset
for help on using the changeset viewer.
