IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10780


Ignore:
Timestamp:
Dec 16, 2006, 11:45:20 PM (20 years ago)
Author:
magnier
Message:

moving recipe data out of module

Location:
trunk/psModules/src/astrom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryObjects.c

    r9730 r10780  
    88*  @author EAM, IfA
    99*
    10 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2006-10-24 22:55:04 $
     10*  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-12-17 09:45:20 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    193193and fit a psPlaneTransform between them
    194194 ******************************************************************************/
    195 psPlaneTransform *pmAstromMatchFit(
     195bool pmAstromMatchFit(
    196196    psPlaneTransform *map,
    197197    psArray *raw,
     
    201201    psMetadata *updates)
    202202{
     203    PS_ASSERT_PTR_NON_NULL(map, NULL);
    203204    PS_ASSERT_PTR_NON_NULL(raw, NULL);
    204205    PS_ASSERT_PTR_NON_NULL(ref, NULL);
     
    209210    pmAstromObj *rawStar, *refStar;
    210211    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 > 1
    223     }
    224212
    225213    // XXX EAM : clip fit seems to only work for F32!
  • trunk/psModules/src/astrom/pmAstrometryObjects.h

    r9639 r10780  
    88*  @author EAM, IfA
    99*
    10 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2006-10-19 02:56:40 $
     10*  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-12-17 09:45:20 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    312312 *
    313313 */
    314 psPlaneTransform *pmAstromMatchFit(
     314bool pmAstromMatchFit(
    315315    psPlaneTransform *map,
    316316    psArray *st1,
Note: See TracChangeset for help on using the changeset viewer.