Changeset 36485 for trunk/Ohana
- Timestamp:
- Feb 6, 2014, 12:39:19 PM (12 years ago)
- Location:
- trunk/Ohana/src/addstar/src
- Files:
-
- 10 edited
-
GetFileMode.c (modified) (1 diff)
-
LoadDataPMM.c (modified) (1 diff)
-
ReadStarsSDSS.c (modified) (1 diff)
-
fakeimage.c (modified) (2 diffs)
-
find_matches.c (modified) (1 diff)
-
find_matches_closest.c (modified) (1 diff)
-
find_matches_closest_refstars.c (modified) (1 diff)
-
find_matches_refstars.c (modified) (1 diff)
-
loadsupercos_plates.c (modified) (1 diff)
-
sky_tessalation.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/GetFileMode.c
r35416 r36485 12 12 gfits_scan_alt (header, "SIMPLE", "%t", 1, &simple); 13 13 int haveNaxis = gfits_scan (header, "NAXIS", "%d", 1, &Naxis); 14 int haveCTYPE = gfits_scan (header, "CTYPE 1", "%s", 1, ctype);14 int haveCTYPE = gfits_scan (header, "CTYPE2", "%s", 1, ctype); 15 15 16 16 gfits_scan_alt (header, "EXTEND", "%t", 1, &extend); -
trunk/Ohana/src/addstar/src/LoadDataPMM.c
r34088 r36485 193 193 194 194 // XXX for now, we define a totally fake coordinate system centered on the plate center 195 strcpy (image[0].coords.ctype, " RA---TAN");195 strcpy (image[0].coords.ctype, "DEC--TAN"); 196 196 197 197 image[0].coords.crval1 = pmm_get_ra (RA); -
trunk/Ohana/src/addstar/src/ReadStarsSDSS.c
r34088 r36485 201 201 202 202 // XXX for now, we define a totally fake coordinate system centered on the first listed star 203 strcpy (images[N].coords.ctype, " RA---TAN");203 strcpy (images[N].coords.ctype, "DEC--TAN"); 204 204 205 205 images[N].coords.crval1 = stars[0].average.R; -
trunk/Ohana/src/addstar/src/fakeimage.c
r30613 r36485 34 34 35 35 /* create a mosaic distortion structure */ 36 strcpy (MOSAIC.ctype, " RA---DIS");36 strcpy (MOSAIC.ctype, "DEC--DIS"); 37 37 MOSAIC.crval1 = FAKE_RA; 38 38 MOSAIC.crval2 = FAKE_DEC; … … 86 86 strcpy (image[i+1].name, name); 87 87 88 strcpy (image[i+1].coords.ctype, " RA---WRP");88 strcpy (image[i+1].coords.ctype, "DEC--WRP"); 89 89 90 90 image[i+1].coords.crval1 = dX*pixscale; -
trunk/Ohana/src/addstar/src/find_matches.c
r34361 r36485 65 65 tcoords.pc1_2 = tcoords.pc2_1 = 0.0; 66 66 tcoords.Npolyterms = 1; 67 strcpy (tcoords.ctype, " RA---ARC");67 strcpy (tcoords.ctype, "DEC--ARC"); 68 68 69 69 /* build spatial index (RA sort) referencing input array sequence */ -
trunk/Ohana/src/addstar/src/find_matches_closest.c
r34361 r36485 64 64 tcoords.pc1_2 = tcoords.pc2_1 = 0.0; 65 65 tcoords.Npolyterms = 1; 66 strcpy (tcoords.ctype, " RA---ARC");66 strcpy (tcoords.ctype, "DEC--ARC"); 67 67 68 68 /* build spatial index (RA sort) referencing input array sequence */ -
trunk/Ohana/src/addstar/src/find_matches_closest_refstars.c
r34361 r36485 59 59 tcoords.pc1_2 = tcoords.pc2_1 = 0.0; 60 60 tcoords.Npolyterms = 0; 61 strcpy (tcoords.ctype, " RA---ARC");61 strcpy (tcoords.ctype, "DEC--ARC"); 62 62 63 63 /* build spatial index (RA sort) referencing input array sequence */ -
trunk/Ohana/src/addstar/src/find_matches_refstars.c
r34260 r36485 57 57 tcoords.pc1_1 = tcoords.pc2_2 = 1.0; 58 58 tcoords.pc1_2 = tcoords.pc2_1 = 0.0; 59 strcpy (tcoords.ctype, " RA---ZEA");59 strcpy (tcoords.ctype, "DEC--ZEA"); 60 60 tcoords.Npolyterms = 0; 61 61 -
trunk/Ohana/src/addstar/src/loadsupercos_plates.c
r33653 r36485 118 118 119 119 // for now, we define a fake coordinate system based on the boresite center 120 strcpy (image[Nimage].coords.ctype, " RA---TAN");120 strcpy (image[Nimage].coords.ctype, "DEC--TAN"); 121 121 122 122 image[Nimage].coords.crval1 = RAo; -
trunk/Ohana/src/addstar/src/sky_tessalation.c
r34844 r36485 1106 1106 refcoords[0].Npolyterms = 0; 1107 1107 memset (refcoords[0].polyterms, 0, 14*sizeof(float)); 1108 strcpy (refcoords[0].ctype, " RA---TAN");1108 strcpy (refcoords[0].ctype, "DEC--TAN"); 1109 1109 return (TRUE); 1110 1110 }
Note:
See TracChangeset
for help on using the changeset viewer.
