Changeset 7080 for trunk/Ohana/src/opihi/cmd.astro/polar.c
- Timestamp:
- May 5, 2006, 5:44:26 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.astro/polar.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/polar.c
r2598 r7080 32 32 33 33 /* we expect the output image to have units of longitude and distance */ 34 fits_scan (&in[0].header, "CRVAL1", "%lf", 1, &Lo);35 fits_scan (&in[0].header, "CDELT1", "%lf", 1, &dL);36 fits_scan (&in[0].header, "CRPIX1", "%lf", 1, &xo);37 fits_scan (&in[0].header, "CRVAL2", "%lf", 1, &Do);38 fits_scan (&in[0].header, "CDELT2", "%lf", 1, &dD);39 fits_scan (&in[0].header, "CRPIX2", "%lf", 1, &yo);34 gfits_scan (&in[0].header, "CRVAL1", "%lf", 1, &Lo); 35 gfits_scan (&in[0].header, "CDELT1", "%lf", 1, &dL); 36 gfits_scan (&in[0].header, "CRPIX1", "%lf", 1, &xo); 37 gfits_scan (&in[0].header, "CRVAL2", "%lf", 1, &Do); 38 gfits_scan (&in[0].header, "CDELT2", "%lf", 1, &dD); 39 gfits_scan (&in[0].header, "CRPIX2", "%lf", 1, &yo); 40 40 41 41 /* we expect the input image to have units of distance X and Y */ 42 fits_scan (&out[0].header, "CRVAL1", "%lf", 1, &Mo);43 fits_scan (&out[0].header, "CDELT1", "%lf", 1, &dM);44 fits_scan (&out[0].header, "CRPIX1", "%lf", 1, &Xo);45 fits_scan (&out[0].header, "CRVAL2", "%lf", 1, &No);46 fits_scan (&out[0].header, "CDELT2", "%lf", 1, &dN);47 fits_scan (&out[0].header, "CRPIX2", "%lf", 1, &Yo);42 gfits_scan (&out[0].header, "CRVAL1", "%lf", 1, &Mo); 43 gfits_scan (&out[0].header, "CDELT1", "%lf", 1, &dM); 44 gfits_scan (&out[0].header, "CRPIX1", "%lf", 1, &Xo); 45 gfits_scan (&out[0].header, "CRVAL2", "%lf", 1, &No); 46 gfits_scan (&out[0].header, "CDELT2", "%lf", 1, &dN); 47 gfits_scan (&out[0].header, "CRPIX2", "%lf", 1, &Yo); 48 48 49 49 Vin = (float *)in[0].matrix.buffer;
Note:
See TracChangeset
for help on using the changeset viewer.
