Changeset 5552 for trunk/psModules/src
- Timestamp:
- Nov 18, 2005, 2:55:18 PM (21 years ago)
- Location:
- trunk/psModules/src
- Files:
-
- 2 edited
-
astrom/pmAstrometry.c (modified) (3 diffs)
-
imsubtract/pmSubtractBias.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometry.c
r5543 r5552 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-11-1 8 19:43:14$10 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-11-19 00:55:18 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 498 498 return(p_psDeproject(outSphere, tpCoord, projection)); 499 499 } 500 /***************************************************************************** 501 XXX: What about units for the (x,y) coords? 502 503 XXX: This has not been tested. 504 *****************************************************************************/ 505 psPlane* pmCoordSkyToTP( 506 psPlane* tpCoord, 507 const psSphere* in, 508 const psProjection *projection) 509 { 510 PS_ASSERT_PTR_NON_NULL(in, NULL); 511 PS_ASSERT_PTR_NON_NULL(projection, NULL); 512 513 return(p_psProject(tpCoord, in, projection)); 514 } 500 515 501 516 … … 558 573 "WARNING: psCoordCellToSkyQuick(): This function is not fully specified in the SDRS. Returning NULL.\n"); 559 574 return(NULL); 560 }561 562 563 /*****************************************************************************564 XXX: What about units for the (x,y) coords?565 566 XXX: This has not been tested.567 *****************************************************************************/568 psPlane* pmCoordSkyToTP(569 psPlane* tpCoord,570 const psSphere* in,571 const psProjection *projection)572 {573 PS_ASSERT_PTR_NON_NULL(in, NULL);574 PS_ASSERT_PTR_NON_NULL(projection, NULL);575 576 return(p_psProject(tpCoord, in, projection));577 575 } 578 576 -
trunk/psModules/src/imsubtract/pmSubtractBias.c
r5516 r5552 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-11-1 5 20:09:03$8 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-11-19 00:55:18 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 304 304 } 305 305 306 out->knots = psVectorCopy(out->knots, in->knots, in->knots->type.type); 306 // XXX: use psVectorCopy if they get it working. 307 out->knots = psVectorAlloc(in->knots->n, in->knots->type.type); 308 for (psS32 i = 0 ; i < in->knots->n ; i++) { 309 out->knots->data.F32[i] = in->knots->data.F32[i]; 310 } 311 /* 312 out->knots = psVectorCopy(out->knots, in->knots, in->knots->type.type); 313 */ 307 314 308 315 out->p_psDeriv2 = (psF32 *) psAlloc((in->n + 1) * sizeof(psF32)); … … 1184 1191 if (overscan == true) { 1185 1192 pmOverscanAxis overScanAxis = GetOverscanAxis(in); 1186 1187 1193 // 1188 1194 // Create a psStats data structure and determine the highest
Note:
See TracChangeset
for help on using the changeset viewer.
