IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 26, 2006, 11:10:51 AM (21 years ago)
Author:
gusciora
Message:

Implemented the polynomial alloc argument changes.

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

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/Makefile.am

    r5674 r6205  
    55libpsmoduleastrom_la_SOURCES  = \
    66    pmAstrometry.c \
     7    pmFPAConstruct.c \
    78    pmAstrometryObjects.c
    89
    910psmoduleincludedir = $(includedir)
    1011psmoduleinclude_HEADERS = \
    11   pmAstrometry.h \
    12   pmAstrometryObjects.h
     12    pmAstrometry.h \
     13    pmFPAConstruct.h \
     14    pmAstrometryObjects.h
  • trunk/psModules/src/astrom/pmAstrometry.c

    r5739 r6205  
    1313* XXX: Should we implement non-linear cell->chip transforms?
    1414*
    15 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    16 *  @date $Date: 2005-12-08 00:00:57 $
     15*  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     16*  @date $Date: 2006-01-26 21:10:50 $
    1717*
    1818*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    101101        psFree(cell->readouts);
    102102        psFree(cell->parent);
    103         psFree(cell->private);
     103        psFree(cell->hdu);
    104104    }
    105105}
     
    125125        psFree(chip->cells);
    126126        psFree(chip->parent);
    127         psFree(chip->private);
     127        psFree(chip->hdu);
    128128    }
    129129}
     
    151151        }
    152152        psFree(fpa->chips);
    153         psFree(fpa->private);
     153        psFree(fpa->hdu);
    154154        psFree(fpa->phu);
    155155    }
     
    204204    }
    205205    tmpCell->valid = false;
    206     tmpCell->private = NULL;
     206    tmpCell->hdu = NULL;
    207207
    208208    psMemSetDeallocator(tmpCell, (psFreeFunc) cellFree);
     
    233233    }
    234234    tmpChip->valid = false;
    235     tmpChip->private = NULL;
     235    tmpChip->hdu = NULL;
    236236
    237237    psMemSetDeallocator(tmpChip, (psFreeFunc) chipFree);
     
    250250    tmpFPA->camera = camera;
    251251    tmpFPA->chips = psArrayAlloc(0);
    252     tmpFPA->private = NULL;
     252    tmpFPA->hdu = NULL;
    253253    tmpFPA->phu = NULL;
    254254
     
    873873    return(numChips);
    874874}
     875
  • trunk/psModules/src/astrom/pmAstrometry.h

    r5739 r6205  
    88*  @author GLG, MHPCC
    99*
    10 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2005-12-08 00:00:57 $
     10*  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-01-26 21:10:50 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3434}
    3535p_pmHDU;
     36
     37p_pmHDU *pmHDUAlloc();
     38void *pmHDUFree(p_pmHDU *hdu);
    3639
    3740/** Focal plane data structure
     
    6265    const psMetadata *camera;           ///< Camera configuration
    6366    psArray *chips;                     ///< The chips
    64     p_pmHDU *private;                   ///< FITS data
     67    p_pmHDU *hdu;                       ///< FITS data
    6568    psMetadata *phu;                    ///< Primary Header
    6669}
     
    9598    pmFPA *parent;                      ///< Parent FPA
    9699    bool valid;                         ///< Do we bother about reading and working with this chip?
    97     p_pmHDU *private;                   ///< FITS data
     100    p_pmHDU *hdu;                       ///< FITS data
    98101}
    99102pmChip;
     
    124127    pmChip *parent;                     ///< Parent chip
    125128    bool valid;                         ///< Do we bother about reading and working with this cell?
    126     p_pmHDU *private;                   ///< FITS data
     129    p_pmHDU *hdu;                       ///< FITS data
    127130}
    128131pmCell;
     
    436439);
    437440
     441
    438442/**
    439443 *
     
    451455
    452456
     457/**
     458 *
     459 * pmFPAConstruct shall construct a focal plane hierarchy from a camera
     460 * configuration. A db handle is also provided so that may be set in the pmFPA.
     461 * The resultant pmFPA and its lower-down components shall be ready for to read a
     462 * FITS file into it by setting the extname pointers at the appropriate levels to
     463 * the appropriate FITS extension name.
     464 * 
     465 */
     466pmFPA *pmFPAConstruct(
     467    const psMetadata *camera,
     468    psDB *db
     469);
     470
     471
    453472#endif // #ifndef PS_ASTROMETRY_H
    454473
  • trunk/psModules/src/astrom/pmAstrometryObjects.h

    r5674 r6205  
    88*  @author EAM, IfA
    99*
    10 *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2005-12-05 20:49:30 $
     10*  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-01-26 21:10:50 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    183183 * the GRID.*.ANGLE entries (they will be ignored).
    184184 *
    185  * XXX: This function name is different in the SDRS.
    186  *
    187185 */
    188186/* in pmAstromGrid.c */
Note: See TracChangeset for help on using the changeset viewer.