Changeset 42828 for trunk/psModules/test/astrom
- Timestamp:
- May 8, 2025, 4:50:20 PM (12 months ago)
- Location:
- trunk/psModules/test/astrom
- Files:
-
- 6 edited
-
. (modified) (1 prop)
-
tap_pmAstrometry.c (modified) (1 diff)
-
tap_pmAstrometryWCS_DVO.c (modified) (1 diff)
-
tap_pmAstrometryWCS_DVO2.c (modified) (1 diff)
-
tap_pmAstrometryWCS_DVO3.c (modified) (1 diff)
-
tap_pmAstrometryWCS_DVO4.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/astrom
- Property svn:ignore
-
old new 11 11 tap_pmAstrometryWCS_DVO3 12 12 tap_pmAstrometryWCS_DVO4 13 test-suite.log
-
- Property svn:ignore
-
trunk/psModules/test/astrom/tap_pmAstrometry.c
r21220 r42828 32 32 psPlaneTransform *PS_CREATE_2D_IDENTITY_PLANE_TRANSFORM() 33 33 { 34 psPlaneTransform *pt = psPlaneTransformAlloc(1, 1 );34 psPlaneTransform *pt = psPlaneTransformAlloc(1, 1, PS_POLYNOMIAL_ORD); 35 35 pt->x->coeff[1][0] = 1.0; 36 36 pt->y->coeff[0][1] = 1.0; -
trunk/psModules/test/astrom/tap_pmAstrometryWCS_DVO.c
r17036 r42828 470 470 psMetadata *header = psMetadataAlloc(); 471 471 472 sprintf (name, "RA--%s", &coords[0].ctype[4]);472 ps_snprintf_nowarn (name, 16, "RA--%s", &coords[0].ctype[4]); 473 473 psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE1", PS_META_REPLACE, "", name); 474 sprintf (name, "DEC-%s", &coords[0].ctype[4]);474 ps_snprintf_nowarn (name, 16, "DEC-%s", &coords[0].ctype[4]); 475 475 psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE2", PS_META_REPLACE, "", name); 476 476 -
trunk/psModules/test/astrom/tap_pmAstrometryWCS_DVO2.c
r21220 r42828 572 572 psMetadata *header = psMetadataAlloc(); 573 573 574 sprintf (name, "RA--%s", &coords[0].ctype[4]);574 ps_snprintf_nowarn (name, 16, "RA--%s", &coords[0].ctype[4]); 575 575 psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE1", PS_META_REPLACE, "", name); 576 sprintf (name, "DEC-%s", &coords[0].ctype[4]);576 ps_snprintf_nowarn (name, 16, "DEC-%s", &coords[0].ctype[4]); 577 577 psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE2", PS_META_REPLACE, "", name); 578 578 -
trunk/psModules/test/astrom/tap_pmAstrometryWCS_DVO3.c
r21220 r42828 597 597 psMetadata *header = psMetadataAlloc(); 598 598 599 sprintf (name, "RA--%s", &coords[0].ctype[4]);599 ps_snprintf_nowarn (name, 16, "RA--%s", &coords[0].ctype[4]); 600 600 psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE1", PS_META_REPLACE, "", name); 601 sprintf (name, "DEC-%s", &coords[0].ctype[4]);601 ps_snprintf_nowarn (name, 16, "DEC-%s", &coords[0].ctype[4]); 602 602 psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE2", PS_META_REPLACE, "", name); 603 603 -
trunk/psModules/test/astrom/tap_pmAstrometryWCS_DVO4.c
r21220 r42828 23 23 void test2x(); // small rotation with central offset 24 24 void test3x(); // 2nd order term in WRP with central offset 25 26 bool RegisterMosaic (Coords *in) { 27 return true; 28 } 25 29 26 30 int main (void) … … 898 902 psMetadata *header = psMetadataAlloc(); 899 903 900 sprintf (name, "RA--%s", &coords[0].ctype[4]);904 ps_snprintf_nowarn (name, 16, "RA--%s", &coords[0].ctype[4]); 901 905 psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE1", PS_META_REPLACE, "", name); 902 sprintf (name, "DEC-%s", &coords[0].ctype[4]);906 ps_snprintf_nowarn (name, 16, "DEC-%s", &coords[0].ctype[4]); 903 907 psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE2", PS_META_REPLACE, "", name); 904 908
Note:
See TracChangeset
for help on using the changeset viewer.
