- Timestamp:
- Jan 12, 2015, 12:29:24 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-pv3-20140717-merge/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/mosastro/src/fakefield.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pv3-20140717-merge/Ohana
- Property svn:mergeinfo set to
-
branches/eam_branches/ipp-pv3-20140717-merge/Ohana/src/mosastro/src/fakefield.c
r3401 r37822 22 22 23 23 /* bore site center guess */ 24 strcpy (field.project.ctype, "DEC--TAN"); 25 field.project.crpix1 = 0; 26 field.project.crpix2 = 0; 24 InitCoords (&field.project, "DEC--TAN"); 27 25 28 26 /* set TP plate scale */ … … 30 28 field.project.cdelt2 = 1.0/3600.0; 31 29 32 /** allow guess at field rotation?? **/33 field.project.pc1_1 = 1;34 field.project.pc2_2 = 1;35 field.project.pc1_2 = 0;36 field.project.pc2_1 = 0;37 field.project.Npolyterms = 1;38 39 30 /** distort only has power in polyterms **/ 40 strcpy (field.distort.ctype, "DEC--PLY"); 41 field.distort.crval1 = 0.0; 42 field.distort.crval2 = 0.0; 43 field.distort.crpix1 = 0.0; 44 field.distort.crpix2 = 0.0; 45 field.distort.cdelt1 = 1.0; 46 field.distort.cdelt2 = 1.0; 47 48 field.distort.pc1_1 = 1; 49 field.distort.pc2_2 = 1; 50 field.distort.pc1_2 = 0; 51 field.distort.pc2_1 = 0; 52 53 /* how do we handle renormalization? (fixed at 1000 pixels??) */ 54 field.distort.Npolyterms = 3; 55 for (i = 0; i < 7; i++) { 56 field.distort.polyterms[i][0] = 0; 57 field.distort.polyterms[i][1] = 0; 58 } 31 InitCoords (&field.distort, "DEC--PLY"); 59 32 60 33 return (1);
Note:
See TracChangeset
for help on using the changeset viewer.
