Changeset 10780 for trunk/psModules/src/astrom/pmAstrometryObjects.c
- Timestamp:
- Dec 16, 2006, 11:45:20 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmAstrometryObjects.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryObjects.c
r9730 r10780 8 8 * @author EAM, IfA 9 9 * 10 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-1 0-24 22:55:04$10 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-12-17 09:45:20 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 193 193 and fit a psPlaneTransform between them 194 194 ******************************************************************************/ 195 psPlaneTransform *pmAstromMatchFit(195 bool pmAstromMatchFit( 196 196 psPlaneTransform *map, 197 197 psArray *raw, … … 201 201 psMetadata *updates) 202 202 { 203 PS_ASSERT_PTR_NON_NULL(map, NULL); 203 204 PS_ASSERT_PTR_NON_NULL(raw, NULL); 204 205 PS_ASSERT_PTR_NON_NULL(ref, NULL); … … 209 210 pmAstromObj *rawStar, *refStar; 210 211 pmAstromMatch *pair; 211 212 if (map == NULL) {213 int nX = psMetadataLookupS32 (&status, config, "PSASTRO.CHIP.NX");214 if (!status) {215 nX = 1;216 }217 int nY = psMetadataLookupS32 (&status, config, "PSASTRO.CHIP.NY");218 if (!status) {219 nY = 1;220 }221 map = psPlaneTransformAlloc (nX, nY);222 // XXX EAM : not clear that we are allowed to use orders > 1223 }224 212 225 213 // XXX EAM : clip fit seems to only work for F32!
Note:
See TracChangeset
for help on using the changeset viewer.
