IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 19, 2006, 4:38:28 PM (21 years ago)
Author:
Paul Price
Message:

Getting a working ppImage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_p0/psModules/src/astrom/pmConceptsStandard.c

    r5975 r6062  
    55#include "pmConceptsRead.h"
    66#include "pmConceptsWrite.h"
    7 #include "pmAstrometry.h"
     7#include "pmFPA.h"
    88#include "pmConceptsStandard.h"
    99#include "psAdditionals.h"
     
    987987{
    988988    psMetadataItem *x0item = psMetadataLookup(cell->concepts, "CELL.X0");
    989     x0item->data.S32 -= fortranCorr(fpa, "CELL.X0");
    990     return pmConceptWriteItem(fpa, chip, cell, db, x0item);
     989    psMetadataItem *newItem = psMetadataItemAllocS32("CELL.X0", "Position of (0,0) on the chip",
     990                              x0item->data.S32 - fortranCorr(fpa, "CELL.X0"));
     991    return pmConceptWriteItem(fpa, chip, cell, db, newItem);
    991992}
    992993
     
    994995{
    995996    psMetadataItem *y0item = psMetadataLookup(cell->concepts, "CELL.Y0");
    996     y0item->data.S32 -= fortranCorr(fpa, "CELL.Y0");
    997     return pmConceptWriteItem(fpa, chip, cell, db, y0item);
    998 }
    999 
     997    psMetadataItem *newItem = psMetadataItemAllocS32("CELL.Y0", "Position of (0,0) on the chip",
     998                              y0item->data.S32 - fortranCorr(fpa, "CELL.Y0"));
     999    return pmConceptWriteItem(fpa, chip, cell, db, newItem);
     1000}
     1001
Note: See TracChangeset for help on using the changeset viewer.