Changeset 12696
- Timestamp:
- Mar 30, 2007, 11:12:56 AM (19 years ago)
- Location:
- trunk/psModules/src
- Files:
-
- 99 edited
-
astrom/pmAstrometryDistortion.c (modified) (2 diffs)
-
astrom/pmAstrometryObjects.c (modified) (2 diffs)
-
astrom/pmAstrometryRegions.c (modified) (2 diffs)
-
astrom/pmAstrometryUtils.c (modified) (2 diffs)
-
astrom/pmAstrometryWCS.c (modified) (2 diffs)
-
camera/pmCellSquish.c (modified) (1 diff)
-
camera/pmCellSquish.h (modified) (1 diff)
-
camera/pmFPA.c (modified) (1 diff)
-
camera/pmFPA.h (modified) (2 diffs)
-
camera/pmFPAConstruct.c (modified) (1 diff)
-
camera/pmFPAConstruct.h (modified) (2 diffs)
-
camera/pmFPACopy.c (modified) (1 diff)
-
camera/pmFPAExtent.c (modified) (1 diff)
-
camera/pmFPAFlags.c (modified) (1 diff)
-
camera/pmFPAFlags.h (modified) (2 diffs)
-
camera/pmFPAHeader.c (modified) (1 diff)
-
camera/pmFPAMaskWeight.c (modified) (1 diff)
-
camera/pmFPAMaskWeight.h (modified) (2 diffs)
-
camera/pmFPAMosaic.c (modified) (5 diffs)
-
camera/pmFPAMosaic.h (modified) (2 diffs)
-
camera/pmFPARead.c (modified) (1 diff)
-
camera/pmFPARead.h (modified) (2 diffs)
-
camera/pmFPAUtils.c (modified) (1 diff)
-
camera/pmFPAUtils.h (modified) (2 diffs)
-
camera/pmFPAWrite.c (modified) (1 diff)
-
camera/pmFPAWrite.h (modified) (2 diffs)
-
camera/pmFPA_JPEG.c (modified) (2 diffs)
-
camera/pmFPA_MANAPLOT.c (modified) (2 diffs)
-
camera/pmFPAfile.c (modified) (1 diff)
-
camera/pmFPAfile.h (modified) (2 diffs)
-
camera/pmFPAfileDefine.c (modified) (1 diff)
-
camera/pmFPAfileDefine.h (modified) (1 diff)
-
camera/pmFPAfileFitsIO.c (modified) (1 diff)
-
camera/pmFPAfileIO.c (modified) (2 diffs)
-
camera/pmFPAview.c (modified) (2 diffs)
-
camera/pmFPAview.h (modified) (2 diffs)
-
camera/pmHDU.c (modified) (1 diff)
-
camera/pmHDUGenerate.c (modified) (1 diff)
-
camera/pmHDUGenerate.h (modified) (2 diffs)
-
camera/pmHDUUtils.c (modified) (1 diff)
-
camera/pmHDUUtils.h (modified) (2 diffs)
-
concepts/pmConcepts.c (modified) (1 diff)
-
concepts/pmConcepts.h (modified) (2 diffs)
-
concepts/pmConceptsAverage.c (modified) (1 diff)
-
concepts/pmConceptsAverage.h (modified) (2 diffs)
-
concepts/pmConceptsPhotcode.c (modified) (1 diff)
-
concepts/pmConceptsPhotcode.h (modified) (2 diffs)
-
concepts/pmConceptsRead.c (modified) (1 diff)
-
concepts/pmConceptsRead.h (modified) (2 diffs)
-
concepts/pmConceptsStandard.c (modified) (1 diff)
-
concepts/pmConceptsStandard.h (modified) (2 diffs)
-
concepts/pmConceptsUpdate.c (modified) (1 diff)
-
concepts/pmConceptsUpdate.h (modified) (2 diffs)
-
concepts/pmConceptsWrite.c (modified) (1 diff)
-
concepts/pmConceptsWrite.h (modified) (2 diffs)
-
config/pmConfig.c (modified) (2 diffs)
-
config/pmConfigCamera.c (modified) (5 diffs)
-
config/pmConfigCamera.h (modified) (2 diffs)
-
config/pmConfigCommand.c (modified) (1 diff)
-
config/pmConfigCommand.h (modified) (2 diffs)
-
config/pmErrorCodes.c.in (modified) (1 diff)
-
config/pmVersion.h (modified) (3 diffs)
-
detrend/pmBias.c (modified) (1 diff)
-
detrend/pmBias.h (modified) (2 diffs)
-
detrend/pmDetrendDB.c (modified) (1 diff)
-
detrend/pmDetrendDB.h (modified) (2 diffs)
-
detrend/pmFlatField.c (modified) (1 diff)
-
detrend/pmFlatField.h (modified) (2 diffs)
-
detrend/pmFlatNormalize.h (modified) (2 diffs)
-
detrend/pmFringeStats.c (modified) (1 diff)
-
detrend/pmMaskBadPixels.c (modified) (1 diff)
-
detrend/pmMaskBadPixels.h (modified) (2 diffs)
-
detrend/pmNonLinear.c (modified) (1 diff)
-
detrend/pmNonLinear.h (modified) (2 diffs)
-
detrend/pmShifts.c (modified) (1 diff)
-
detrend/pmShifts.h (modified) (1 diff)
-
detrend/pmShutterCorrection.c (modified) (1 diff)
-
detrend/pmShutterCorrection.h (modified) (2 diffs)
-
detrend/pmSkySubtract.c (modified) (2 diffs)
-
detrend/pmSkySubtract.h (modified) (2 diffs)
-
extras/pmKapaPlots.h (modified) (2 diffs)
-
imcombine/pmImageCombine.h (modified) (2 diffs)
-
imcombine/pmImageSubtract.h (modified) (2 diffs)
-
imcombine/pmReadoutCombine.c (modified) (1 diff)
-
imcombine/pmReadoutCombine.h (modified) (2 diffs)
-
objects/pmGrowthCurve.c (modified) (2 diffs)
-
objects/pmPSF_IO.c (modified) (2 diffs)
-
objects/pmSourceIO.c (modified) (2 diffs)
-
objects/pmSourceIO_CMF.c (modified) (2 diffs)
-
objects/pmSourceIO_CMP.c (modified) (2 diffs)
-
objects/pmSourceIO_OBJ.c (modified) (2 diffs)
-
objects/pmSourceIO_PS1_DEV_0.c (modified) (2 diffs)
-
objects/pmSourceIO_RAW.c (modified) (2 diffs)
-
objects/pmSourceIO_SMPDATA.c (modified) (2 diffs)
-
objects/pmSourceIO_SX.c (modified) (2 diffs)
-
objects/pmSourcePlotMoments.c (modified) (2 diffs)
-
objects/pmSourcePlotPSFModel.c (modified) (2 diffs)
-
objects/pmSourcePlots.c (modified) (2 diffs)
-
psmodules.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryDistortion.c
r12519 r12696 7 7 * @author EAM, IfA 8 8 * 9 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $10 * @date $Date: 2007-03- 21 22:00:49$9 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2007-03-30 21:12:56 $ 11 11 * 12 12 * Copyright 2006 Institute for Astronomy, University of Hawaii … … 21 21 /******************************************************************************/ 22 22 23 //#include <stdio.h>24 //#include <string.h>25 //#include <math.h>26 //#include <unistd.h> // for unlink27 23 #include <pslib.h> 24 25 #include "pmHDU.h" 28 26 #include "pmFPA.h" 29 27 #include "pmFPAExtent.h" -
trunk/psModules/src/astrom/pmAstrometryObjects.c
r12482 r12696 8 8 * @author EAM, IfA 9 9 * 10 * @version $Revision: 1.2 7$ $Name: not supported by cvs2svn $11 * @date $Date: 2007-03- 18 22:03:36 $10 * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2007-03-30 21:12:56 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 27 27 #include <unistd.h> // for unlink 28 28 #include <pslib.h> 29 30 #include "pmHDU.h" 29 31 #include "pmFPA.h" 30 32 #include "pmAstrometryObjects.h" -
trunk/psModules/src/astrom/pmAstrometryRegions.c
r12518 r12696 4 4 * 5 5 * @author EAM, IfA 6 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-03- 21 21:59:57$6 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * 9 9 * Copyright 2006 Institute for Astronomy, University of Hawaii … … 15 15 16 16 #include <pslib.h> 17 18 #include "pmHDU.h" 17 19 #include "pmFPA.h" 18 20 #include "pmFPAExtent.h" -
trunk/psModules/src/astrom/pmAstrometryUtils.c
r11687 r12696 7 7 * @author EAM, IfA 8 8 * 9 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2007-0 2-07 23:58:17$9 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2007-03-30 21:12:56 $ 11 11 * 12 12 * Copyright 2006 Institute for Astronomy, University of Hawaii … … 18 18 19 19 #include <pslib.h> 20 21 #include "pmHDU.h" 20 22 #include "pmFPA.h" 21 23 #include "pmAstrometryUtils.h" -
trunk/psModules/src/astrom/pmAstrometryWCS.c
r12519 r12696 7 7 * @author EAM, IfA 8 8 * 9 * @version $Revision: 1.2 0$ $Name: not supported by cvs2svn $10 * @date $Date: 2007-03- 21 22:00:49$9 * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2007-03-30 21:12:56 $ 11 11 * 12 12 * Copyright 2006 Institute for Astronomy, University of Hawaii … … 19 19 #include <string.h> 20 20 #include <pslib.h> 21 22 #include "pmHDU.h" 21 23 #include "pmFPA.h" 22 24 #include "pmFPAExtent.h" -
trunk/psModules/src/camera/pmCellSquish.c
r12504 r12696 2 2 #include <pslib.h> 3 3 4 #include "pmHDU.h" 4 5 #include "pmFPA.h" 5 6 #include "pmShifts.h" -
trunk/psModules/src/camera/pmCellSquish.h
r12265 r12696 1 1 #ifndef PM_CELL_SQUISH_H 2 2 #define PM_CELL_SQUISH_H 3 4 #include "pmFPA.h"5 3 6 4 /// Squish (combine all component readouts of) a cell -
trunk/psModules/src/camera/pmFPA.c
r12603 r12696 10 10 #include "pmHDU.h" 11 11 #include "pmFPA.h" 12 #include "pmFPALevel.h" 12 13 #include "pmConcepts.h" 13 14 #include "pmMaskBadPixels.h" -
trunk/psModules/src/camera/pmFPA.h
r12603 r12696 6 6 * @author Eugene Magnier, IfA 7 7 * 8 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-03- 27 20:49:57$8 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-03-30 21:12:56 $ 10 10 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 11 11 */ … … 16 16 /// @addtogroup Camera Camera Layout 17 17 /// @{ 18 19 #include <pslib.h>20 #include "pmHDU.h"21 18 22 19 #define FPA_ASTROM 1 ///< Include astrometry information in the structures? -
trunk/psModules/src/camera/pmFPAConstruct.c
r12660 r12696 8 8 #include <pslib.h> 9 9 10 #include "pmHDU.h" 10 11 #include "pmFPA.h" 11 12 #include "pmFPALevel.h" 12 13 #include "pmFPAFlags.h" 13 14 #include "pmConcepts.h" 15 #include "pmFPAview.h" 14 16 #include "pmFPAConstruct.h" 15 #include "pmFPAview.h"16 17 #include "pmFPAUtils.h" 17 18 #include "pmHDUUtils.h" 18 19 19 20 20 #define TABLE_OF_CONTENTS "CONTENTS" // Name for camera format metadata containing the contents -
trunk/psModules/src/camera/pmFPAConstruct.h
r11801 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 2-15 00:51:20$6 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Camera Camera Layout 15 15 /// @{ 16 17 #include <pslib.h>18 #include "pmFPA.h"19 #include "pmFPAview.h"20 16 21 17 /// Construct an FPA instance on the basis of a camera configuration -
trunk/psModules/src/camera/pmFPACopy.c
r12589 r12696 6 6 #include <assert.h> 7 7 #include <string.h> 8 9 8 #include <pslib.h> 10 9 10 #include "pmHDU.h" 11 11 #include "pmFPA.h" 12 12 #include "pmFPAUtils.h" 13 #include "pmHDU.h"14 13 #include "pmHDUUtils.h" 15 16 14 #include "pmFPACopy.h" 17 15 -
trunk/psModules/src/camera/pmFPAExtent.c
r12520 r12696 2 2 #include <pslib.h> 3 3 4 #include "pmHDU.h" 4 5 #include "pmFPA.h" 5 6 -
trunk/psModules/src/camera/pmFPAFlags.c
r9621 r12696 6 6 #include <pslib.h> 7 7 8 #include "pmHDU.h" 8 9 #include "pmFPA.h" 9 10 #include "pmFPAFlags.h" -
trunk/psModules/src/camera/pmFPAFlags.h
r11253 r12696 6 6 * @author Eugene Magnier, IfA 7 7 * 8 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 1-24 02:54:14$8 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-03-30 21:12:56 $ 10 10 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 11 11 */ … … 16 16 /// @addtogroup Camera Camera Layout 17 17 /// @{ 18 19 #include "pmFPA.h"20 21 18 22 19 // Functions to turn on/off the file_exists flags -
trunk/psModules/src/camera/pmFPAHeader.c
r9592 r12696 6 6 #include <assert.h> 7 7 #include <pslib.h> 8 9 #include "pmHDU.h" 8 10 #include "pmFPA.h" 9 #include "pm HDU.h"11 #include "pmFPALevel.h" 10 12 #include "pmConcepts.h" 11 13 #include "pmFPAHeader.h" -
trunk/psModules/src/camera/pmFPAMaskWeight.c
r11225 r12696 7 7 8 8 #include <pslib.h> 9 #include "pmHDU.h" 9 10 #include "pmFPA.h" 10 #include "pmHDU.h"11 11 #include "pmHDUUtils.h" 12 12 #include "pmHDUGenerate.h" -
trunk/psModules/src/camera/pmFPAMaskWeight.h
r11253 r12696 5 5 * @author Eugene Magnier, IfA 6 6 * 7 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-24 02:54:14$7 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 10 10 */ … … 15 15 /// @addtogroup Camera Camera Layout 16 16 /// @{ 17 18 #include "pmFPA.h"19 17 20 18 /// Pixel mask values -
trunk/psModules/src/camera/pmFPAMosaic.c
r12654 r12696 6 6 #include <assert.h> 7 7 #include <pslib.h> 8 9 #include "pmHDU.h" 8 10 #include "pmFPA.h" 9 11 #include "pmFPAFlags.h" 10 #include "pmHDU.h"11 12 #include "pmConceptsAverage.h" 12 13 #include "pmHDUUtils.h" … … 444 445 445 446 // Get the maximum extent of the mosaic image 446 int xMin = INT_MAX;447 int xMax = - INT_MAX;448 int yMin = INT_MAX;449 int yMax = - INT_MAX;447 int xMin = +INT_MAX; 448 int xMax = -INT_MAX; 449 int yMin = +INT_MAX; 450 int yMax = -INT_MAX; 450 451 psElemType type = 0; 451 452 int numImages = 0; // Number of images … … 672 673 673 674 // Set the flips on the basis of the parity 675 // XXX if (level == CHIP) : only apply Cell parity 676 // XXX if (level == FPA) : apply Chip & Cell parity 674 677 if (xParityCell * xParityChip == xParityTarget) { 675 678 xFlip->data.U8[index] = 0; … … 758 761 yParityCellTarget = 1; 759 762 } 763 # if (0) 760 764 int xParityChipTarget = psMetadataLookupS32(&mdok, targetCell->parent->concepts, "CHIP.XPARITY"); 761 765 if (!mdok || (xParityChipTarget != -1 && xParityChipTarget != 1)) { … … 772 776 int xParityTarget = xParityChipTarget * xParityCellTarget; 773 777 int yParityTarget = yParityChipTarget * yParityCellTarget; 778 # endif 779 int xParityTarget = xParityCellTarget; 780 int yParityTarget = yParityCellTarget; 774 781 775 782 // Binning for the mosaicked chip is the minimum binning allowed by the cells -
trunk/psModules/src/camera/pmFPAMosaic.h
r12629 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-03- 28 19:17:36 $6 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Camera Camera Layout 15 15 /// @{ 16 17 #include "pmFPA.h"18 16 19 17 /// Mosaic all cells within a chip -
trunk/psModules/src/camera/pmFPARead.c
r12564 r12696 9 9 #include <pslib.h> 10 10 11 #include "pmHDU.h" 11 12 #include "pmFPA.h" 13 #include "pmFPALevel.h" 12 14 #include "pmFPAFlags.h" 13 #include "pmHDU.h"14 15 #include "pmHDUUtils.h" 15 16 #include "pmConcepts.h" -
trunk/psModules/src/camera/pmFPARead.h
r11793 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 2-15 00:34:00$6 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Camera Camera Layout 15 15 /// @{ 16 17 #include <pslib.h>18 #include "pmFPA.h"19 16 20 17 /// Read a readout incrementally -
trunk/psModules/src/camera/pmFPAUtils.c
r9601 r12696 5 5 #include <stdio.h> 6 6 #include <string.h> 7 #include <pslib.h> 7 8 8 #include <pslib.h>9 #include "pmHDU.h" 9 10 #include "pmFPA.h" 10 11 #include "pmFPAUtils.h" -
trunk/psModules/src/camera/pmFPAUtils.h
r11253 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-24 02:54:14$6 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Camera Camera Layout 15 15 /// @{ 16 17 #include "pmFPA.h"18 16 19 17 /// Find a chip by name; return the index -
trunk/psModules/src/camera/pmFPAWrite.c
r11687 r12696 8 8 #include <pslib.h> 9 9 10 #include "pmHDU.h" 10 11 #include "pmFPA.h" 11 #include "pm HDU.h"12 #include "pmFPALevel.h" 12 13 #include "pmHDUUtils.h" 13 14 #include "pmHDUGenerate.h" -
trunk/psModules/src/camera/pmFPAWrite.h
r11253 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-24 02:54:14$6 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Camera Camera Layout 15 15 /// @{ 16 17 #include <pslib.h>18 #include "pmFPA.h"19 16 20 17 /// Write a readout incrementally -
trunk/psModules/src/camera/pmFPA_JPEG.c
r11527 r12696 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 2-01 03:15:13$7 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 24 24 #include <pslib.h> 25 25 26 #include "pmConfig.h" 27 #include "pmDetrendDB.h" 28 26 29 #include "pmHDU.h" 27 30 #include "pmFPA.h" 31 #include "pmFPALevel.h" 32 #include "pmFPAview.h" 28 33 #include "pmFPAfile.h" 29 #include "pmFPAview.h"30 34 #include "pmFPA_JPEG.h" 31 35 -
trunk/psModules/src/camera/pmFPA_MANAPLOT.c
r11292 r12696 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-26 00:05:17$7 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 23 23 #include <string.h> 24 24 #include <pslib.h> 25 26 #include "pmDetrendDB.h" 25 27 26 28 #include "pmHDU.h" -
trunk/psModules/src/camera/pmFPAfile.c
r12455 r12696 8 8 9 9 #include "pmConfig.h" 10 #include "pmDetrendDB.h" 11 10 12 #include "pmHDU.h" 11 13 #include "pmFPA.h" 12 // #include "pmFPAMaskWeight.h" 13 #include "pmFPAConstruct.h" 14 #include "pmFPALevel.h" 14 15 #include "pmFPAview.h" 15 16 #include "pmFPAfile.h" 16 17 #include "pmFPACopy.h" 17 #include "pmConceptsPhotcode.h"18 // #include "pmFPAWrite.h"19 // #include "pmPeaks.h"20 // #include "pmMoments.h"21 // #include "pmModel.h"22 // #include "pmSource.h"23 // #include "pmSourceIO.h"24 // #include "pmGrowthCurve.h"25 // #include "pmPSF.h"26 // #include "pmPSF_IO.h"27 // #include "pmFPA_JPEG.h"28 18 29 19 static void pmFPAfileFree(pmFPAfile *file) -
trunk/psModules/src/camera/pmFPAfile.h
r12455 r12696 4 4 * @author EAM, IfA 5 5 * 6 * @version $Revision: 1.1 5$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-03- 16 00:29:17$6 * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Camera Camera Layout 15 15 /// @{ 16 17 #include "pslib.h"18 #include "pmConfig.h"19 #include "pmFPA.h"20 #include "pmFPAview.h"21 #include "pmDetrendDB.h"22 16 23 17 typedef enum { -
trunk/psModules/src/camera/pmFPAfileDefine.c
r12682 r12696 8 8 9 9 #include "pmConfig.h" 10 #include "pmConcepts.h" 10 #include "pmDetrendDB.h" 11 11 12 #include "pmHDU.h" 12 13 #include "pmFPA.h" 13 #include "pmFPAMaskWeight.h" 14 #include "pmFPAConstruct.h" 14 #include "pmFPALevel.h" 15 15 #include "pmFPAview.h" 16 16 #include "pmFPAfile.h" 17 17 #include "pmFPAfile.h" 18 #include "pmFPACopy.h" 19 #include "pmFPARead.h" 20 #include "pmFPAWrite.h" 21 #include "pmPeaks.h" 22 #include "pmMoments.h" 23 #include "pmModel.h" 24 #include "pmSource.h" 25 #include "pmSourceIO.h" 26 #include "pmGrowthCurve.h" 27 #include "pmPSF.h" 28 #include "pmPSF_IO.h" 29 #include "pmFPA_JPEG.h" 30 #include "pmDetrendDB.h" 31 #include "pmConceptsPhotcode.h" 18 #include "pmFPAConstruct.h" 32 19 33 20 // define an input-type pmFPAfile, bind to the optional fpa if supplied -
trunk/psModules/src/camera/pmFPAfileDefine.h
r11253 r12696 4 4 * @author EAM, IfA 5 5 * 6 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-24 02:54:14$6 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii 9 9 */ 10 11 #include <pmDetrendDB.h>12 10 13 11 /// @addtogroup Camera Camera Layout -
trunk/psModules/src/camera/pmFPAfileFitsIO.c
r12603 r12696 7 7 8 8 #include "pmConfig.h" 9 #include "pmDetrendDB.h" 10 9 11 #include "pmHDU.h" 10 12 #include "pmFPA.h" 13 #include "pmFPALevel.h" 11 14 #include "pmFPARead.h" 12 15 #include "pmFPAWrite.h" 13 16 #include "pmFPAMaskWeight.h" 14 #include "pmFPAConstruct.h"15 17 #include "pmFPAview.h" 16 18 #include "pmFPAfile.h" 17 19 #include "pmFPAfileFitsIO.h" 18 20 #include "pmFPACopy.h" 21 #include "pmFPAConstruct.h" 19 22 20 23 pmFPA *pmFPAfileSuitableFPA(const pmFPAfile *file, const pmFPAview *view, const pmConfig *config) -
trunk/psModules/src/camera/pmFPAfileIO.c
r12687 r12696 8 8 9 9 #include "pmConfig.h" 10 #include "pmDetrendDB.h" 11 10 12 #include "pmHDU.h" 11 13 #include "pmFPA.h" 14 #include "pmFPALevel.h" 12 15 #include "pmFPAMaskWeight.h" 13 #include "pmFPAConstruct.h"14 16 #include "pmFPAview.h" 15 17 #include "pmFPAfile.h" … … 29 31 #include "pmFPA_JPEG.h" 30 32 #include "pmSourcePlots.h" 31 #include "pm DetrendDB.h"33 #include "pmFPAConstruct.h" 32 34 33 35 // attempt create, read, write, close, or free pmFPAfiles available in files files are -
trunk/psModules/src/camera/pmFPAview.c
r12585 r12696 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-03- 24 17:53:55$5 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-03-30 21:12:56 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 17 17 #include <math.h> 18 18 #include <string.h> 19 #include "pslib.h"19 #include <pslib.h> 20 20 #include "pmHDU.h" 21 #include "pmFPA.h" 22 #include "pmFPALevel.h" 21 23 #include "pmHDUUtils.h" 22 #include "pmFPA.h"23 24 #include "pmFPAview.h" 24 25 -
trunk/psModules/src/camera/pmFPAview.h
r12585 r12696 4 4 * @author Eugene Magnier, IfA 5 5 * 6 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-03- 24 17:53:55$6 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 15 15 /// @{ 16 16 17 #include "pmFPA.h"18 #include "pmFPALevel.h"17 // #include "pmFPA.h" 18 // #include "pmFPALevel.h" 19 19 20 20 /// Identifier for FPA components -
trunk/psModules/src/camera/pmHDU.c
r11434 r12696 6 6 #include <assert.h> 7 7 #include <string.h> 8 9 8 #include <pslib.h> 9 10 10 #include "pmConfig.h" 11 #include "pmHDU.h" 11 12 #include "pmFPA.h" 12 13 -
trunk/psModules/src/camera/pmHDUGenerate.c
r11687 r12696 8 8 #include <pslib.h> 9 9 10 #include "pmHDU.h" 10 11 #include "pmFPA.h" 11 12 #include "pmFPALevel.h" 12 #include "pmHDU.h"13 13 #include "pmHDUUtils.h" 14 15 14 #include "pmHDUGenerate.h" 16 15 -
trunk/psModules/src/camera/pmHDUGenerate.h
r11253 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-24 02:54:14$6 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Camera Camera Layout 15 15 /// @{ 16 17 #include "pmFPA.h"18 16 19 17 /// Generate an HDU (with CELL.TRIMSEC, CELL.BIASSEC and pixels) for a cell with pixels -
trunk/psModules/src/camera/pmHDUUtils.c
r9699 r12696 4 4 5 5 #include <stdio.h> 6 #include <pslib.h> 7 8 #include "pmHDU.h" 6 9 #include "pmFPA.h" 7 #include "pmHDU.h"8 10 #include "pmHDUUtils.h" 9 10 11 11 12 pmHDU *pmHDUFromFPA(const pmFPA *fpa) -
trunk/psModules/src/camera/pmHDUUtils.h
r11253 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-24 02:54:14$6 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Camera Camera Layout 15 15 /// @{ 16 17 #include "pmFPA.h"18 #include "pmHDU.h"19 16 20 17 /// Get the lowest HDU in the hierarchy -
trunk/psModules/src/concepts/pmConcepts.c
r12680 r12696 10 10 #include <string.h> 11 11 12 #include "pmHDU.h" 13 #include "pmFPA.h" 14 #include "pmFPALevel.h" 12 15 #include "pmHDUUtils.h" 13 16 #include "pmConcepts.h" -
trunk/psModules/src/concepts/pmConcepts.h
r12285 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-03- 07 00:10:36 $6 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Concepts Data Abstraction Concepts 15 15 /// @{ 16 17 #include <pslib.h>18 #include "pmFPA.h"19 #include "pmFPALevel.h"20 16 21 17 /// Source for concepts when reading and writing. -
trunk/psModules/src/concepts/pmConceptsAverage.c
r12654 r12696 6 6 #include <pslib.h> 7 7 8 #include "pmHDU.h" 9 #include "pmFPA.h" 10 #include "pmFPALevel.h" 8 11 #include "pmConcepts.h" 9 #include "pmFPA.h"10 11 12 #include "pmConceptsAverage.h" 12 13 13 14 14 // Update a metadata entry directly -
trunk/psModules/src/concepts/pmConceptsAverage.h
r12654 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-03- 28 23:45:31$6 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Concepts Data Abstraction Concepts 15 15 /// @{ 16 17 #include <pslib.h>18 #include "pmFPA.h"19 16 20 17 /// Set a variety of concepts in a cell by averaging over several -
trunk/psModules/src/concepts/pmConceptsPhotcode.c
r11377 r12696 7 7 #include <pslib.h> 8 8 9 #include "pmConfig.h" 10 #include "pmDetrendDB.h" 11 12 #include "pmHDU.h" 13 #include "pmFPA.h" 14 #include "pmFPALevel.h" 15 #include "pmFPAview.h" 16 #include "pmFPAfile.h" 9 17 #include "pmConceptsPhotcode.h" 10 18 -
trunk/psModules/src/concepts/pmConceptsPhotcode.h
r11253 r12696 4 4 * @author Eugene Magnier, IfA 5 5 * 6 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-24 02:54:14$6 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Concepts Data Abstraction Concepts 15 15 /// @{ 16 17 #include <pslib.h>18 #include "pmConfig.h"19 #include "pmFPAview.h"20 #include "pmFPAfile.h"21 16 22 17 /// Return the photcode based on the PHOTCODE.RULE in the PHASE2 recipe -
trunk/psModules/src/concepts/pmConceptsRead.c
r12623 r12696 8 8 #include <pslib.h> 9 9 10 #include "pmHDU.h" 10 11 #include "pmFPA.h" 11 #include "pm HDU.h"12 #include "pmFPALevel.h" 12 13 #include "pmHDUUtils.h" 13 14 #include "pmConcepts.h" -
trunk/psModules/src/concepts/pmConceptsRead.h
r11253 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-24 02:54:14$6 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 11 11 #ifndef PM_CONCEPTS_READ_H 12 12 #define PM_CONCEPTS_READ_H 13 14 #include <pslib.h>15 #include "pmFPA.h"16 13 17 14 /// Read concepts from the camera format file's CELLS. -
trunk/psModules/src/concepts/pmConceptsStandard.c
r12661 r12696 6 6 #include <string.h> 7 7 #include <assert.h> 8 9 #include "pslib.h" 10 8 #include <pslib.h> 9 10 #include "pmHDU.h" 11 11 #include "pmFPA.h" 12 #include "pmFPALevel.h" 13 #include "pmConcepts.h" 12 14 #include "pmConceptsRead.h" 13 15 #include "pmConceptsWrite.h" -
trunk/psModules/src/concepts/pmConceptsStandard.h
r11749 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 2-12 22:22:15$6 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Concepts Data Abstraction Concepts 15 15 /// @{ 16 17 #include <pslib.h>18 #include "pmFPA.h"19 #include "pmConcepts.h"20 16 21 17 /// Parse the FPA.FILTER concept to apply a lookup table -
trunk/psModules/src/concepts/pmConceptsUpdate.c
r12589 r12696 6 6 #include <string.h> 7 7 #include <assert.h> 8 9 8 #include <pslib.h> 10 9 10 #include "pmHDU.h" 11 11 #include "pmFPA.h" 12 12 #include "pmConceptsUpdate.h" -
trunk/psModules/src/concepts/pmConceptsUpdate.h
r11749 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 2-12 22:22:15$6 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2007 Institute for Astronomy, University of Hawaii 9 9 */ … … 11 11 #ifndef PM_CONCEPTS_UPDATE_H 12 12 #define PM_CONCEPTS_UPDATE_H 13 14 #include "pmFPA.h"15 16 13 17 14 /// Check for concepts to update. -
trunk/psModules/src/concepts/pmConceptsWrite.c
r12564 r12696 8 8 #include <pslib.h> 9 9 10 #include "pmHDU.h" 10 11 #include "pmFPA.h" 11 #include "pm HDU.h"12 #include "pmFPALevel.h" 12 13 #include "pmHDUUtils.h" 13 14 #include "pmConcepts.h" -
trunk/psModules/src/concepts/pmConceptsWrite.h
r11253 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-24 02:54:15$6 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup Concepts Data Abstraction Concepts 15 15 /// @{ 16 17 #include <pslib.h>18 #include "pmFPA.h"19 16 20 17 /// "Write" concepts to (actually, check against) the camera format file's CELLS. -
trunk/psModules/src/config/pmConfig.c
r12564 r12696 4 4 * @author EAM (IfA) 5 5 * 6 * @version $Revision: 1.8 1$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-03- 23 03:09:53$6 * @version $Revision: 1.82 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * 9 9 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 28 28 #include "pmConfig.h" 29 29 #include "pmErrorCodes.h" 30 #include "pmFPALevel.h" 30 31 #include "pmConfigRecipes.h" 31 32 #include "pmConfigCamera.h" -
trunk/psModules/src/config/pmConfigCamera.c
r12639 r12696 1 1 #ifdef HAVE_CONFIG_H 2 # include "config.h"2 #include <config.h> 3 3 #endif 4 4 … … 7 7 #include <pslib.h> 8 8 9 #include "pmHDU.h" 10 #include "pmFPA.h" 9 11 #include "pmFPALevel.h" 10 12 #include "pmConcepts.h" 11 12 13 #include "pmConfigCamera.h" 13 14 14 15 15 #define TABLE_OF_CONTENTS "CONTENTS" // Name for camera format metadata containing the contents … … 17 17 #define CELL_TYPES "CELLS" // Name for camera format metadata containing the cell types 18 18 19 20 // Remove a concept from the list of sources. Need to check to see if it exists first, to avoid a warning. 21 static void removeConcept(psMetadata *source, // Source from which to remove concept 22 const char *concept // Concept name to remove 23 ) 19 // local helper functions defined below 20 static void removeCellConceptsSources(psMetadata *source); 21 static void removeChipConceptsSources(psMetadata *source); 22 23 // Generate the Chip and FPA mosaicked version of a named camera configuration 24 bool pmConfigCameraMosaickedVersions(psMetadata *site, // The site configuration 25 const char *name // Name of the un-mosaicked camera 26 ) 24 27 { 25 assert(source); 26 assert(concept && strlen(concept) > 0); 27 28 if (psMetadataLookup(source, concept)) { 29 psMetadataRemoveKey(source, concept); 30 } 31 32 return; 28 PS_ASSERT_METADATA_NON_NULL(site, false); 29 PS_ASSERT_STRING_NON_EMPTY(name, false); 30 31 bool mdok; // Status of MD lookup 32 psMetadata *cameras = psMetadataLookupMetadata(&mdok, site, "CAMERAS"); // List of cameras 33 if (!mdok || !cameras) { 34 psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to find CAMERAS in the site configuration.\n"); 35 return false; 36 } 37 if (!pmConfigGenerateMosaickedVersion(cameras, cameras, name, PM_FPA_LEVEL_CHIP)) { 38 psError(PS_ERR_UNKNOWN, true, "Failed to build Chip mosaic camera description for %s\n", name); 39 return false; 40 } 41 if (!pmConfigGenerateMosaickedVersion(cameras, cameras, name, PM_FPA_LEVEL_FPA)) { 42 psError(PS_ERR_UNKNOWN, true, "Failed to build FPA mosaic camera description for %s\n", name); 43 return false; 44 } 45 return true; 33 46 } 34 47 35 // Remove certain concepts from the list of sources. These concepts are important in the mosaicking process, 36 // and are added explicitly to the defaults (elsewhere) so that the user can't get them wrong. 37 static void removeCellConceptsSources(psMetadata *source // Source for concepts 48 // the operation putting the new entries first is now implemented in pmConfigGenerateMosaickedVersion 49 // Generate the Chip and FPA mosaicked version of a named camera configuration 50 bool pmConfigCameraMosaickedVersionsAll(psMetadata *site) 51 { 52 PS_ASSERT_METADATA_NON_NULL(site, false); 53 54 bool mdok; // Status of MD lookup 55 psMetadata *cameras = psMetadataLookupMetadata(&mdok, site, "CAMERAS"); // List of cameras 56 if (!mdok || !cameras) { 57 psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to find CAMERAS in the site configuration.\n"); 58 return false; 59 } 60 61 psMetadataIterator *camerasIter = psMetadataIteratorAlloc(cameras, PS_LIST_HEAD, NULL); // Iterator 62 psMetadataItem *camerasItem = NULL; // Item from iteration 63 psMetadata *new = psMetadataAlloc();// New cameras to add 64 while ((camerasItem = psMetadataGetAndIncrement(camerasIter))) { 65 assert(camerasItem->type == PS_DATA_METADATA); // Only metadata are allowed here! 66 if (!pmConfigGenerateMosaickedVersion(cameras, new, camerasItem->name, PM_FPA_LEVEL_CHIP)) { 67 psError(PS_ERR_UNKNOWN, true, "Failed to build Chip mosaic camera description for %s\n", camerasItem->name); 68 return false; 69 } 70 if (!pmConfigGenerateMosaickedVersion(cameras, new, camerasItem->name, PM_FPA_LEVEL_FPA)) { 71 psError(PS_ERR_UNKNOWN, true, "Failed to build FPA mosaic camera description for %s\n", camerasItem->name); 72 return false; 73 } 74 } 75 psFree(camerasIter); 76 77 // Now put the new cameras at the top of the list of cameras, so they get recognised first 78 // Note: going from the top, and putting everything to the top as we get there, so that the last one on 79 // goes to the top. This preserves the original order of the cameras, putting the mosaicked versions 80 // before the originals. 81 camerasIter = psMetadataIteratorAlloc(new, PS_LIST_HEAD, NULL); // Iterator 82 while ((camerasItem = psMetadataGetAndIncrement(camerasIter))) { 83 psMetadataAddItem(cameras, camerasItem, PS_LIST_HEAD, 0); 84 } 85 psFree(camerasIter); 86 psFree(new); 87 88 return true; 89 } 90 91 // Generate a mosaicked version of a camera configuration 92 bool pmConfigGenerateMosaickedVersion(psMetadata *oldCameras, // Old list of camera configurations 93 psMetadata *newCameras, // New list of camera configurations 94 const char *name, // Name of original camera configuration 95 pmFPALevel mosaicLevel // Level to which we are mosaicking 38 96 ) 39 {40 if (!source) {41 return;42 }43 44 removeConcept(source, "CELL.BIASSEC");45 removeConcept(source, "CELL.TRIMSEC");46 removeConcept(source, "CELL.XPARITY");47 removeConcept(source, "CELL.YPARITY");48 removeConcept(source, "CELL.X0");49 removeConcept(source, "CELL.Y0");50 51 // For the sake of the defaults, include the .DEPEND52 removeConcept(source, "CELL.XPARITY.DEPEND");53 removeConcept(source, "CELL.YPARITY.DEPEND");54 removeConcept(source, "CELL.X0.DEPEND");55 removeConcept(source, "CELL.Y0.DEPEND");56 57 return;58 }59 60 // Remove certain concepts from the list of sources. These concepts are important in the mosaicking process,61 // and are added explicitly to the defaults (elsewhere) so that the user can't get them wrong.62 static void removeChipConceptsSources(psMetadata *source // Source for concepts63 )64 {65 if (!source) {66 return;67 }68 69 removeConcept(source, "CHIP.XPARITY");70 removeConcept(source, "CHIP.YPARITY");71 removeConcept(source, "CHIP.X0");72 removeConcept(source, "CHIP.Y0");73 74 // For the sake of the defaults, include the .DEPEND75 removeConcept(source, "CHIP.XPARITY.DEPEND");76 removeConcept(source, "CHIP.YPARITY.DEPEND");77 removeConcept(source, "CHIP.X0.DEPEND");78 removeConcept(source, "CHIP.Y0.DEPEND");79 80 return;81 }82 83 // Generate a mosaicked version of a camera configuration84 // XXX EAM : the error states of this function need to be more carefully considered85 static bool mosaickedVersion(psMetadata *oldCameras, // Old list of camera configurations86 psMetadata *newCameras, // New list of camera configurations87 const char *name, // Name of original camera configuration88 pmFPALevel mosaicLevel // Level to which we are mosaicking89 )90 97 { 91 98 assert(oldCameras); … … 97 104 psMetadata *camera = psMetadataLookupMetadata(NULL, oldCameras, name); // The camera configuration 98 105 if (!camera) { 99 // XXX is this an error?100 106 psError(PS_ERR_UNEXPECTED_NULL, false, "Can't find camera to be mosaicked in camera list."); 101 107 return false; … … 485 491 } 486 492 487 // Generate the chip mosaicked version of a camera configuration 488 bool pmConfigCameraMosaickedVersions(psMetadata *site, // The site configuration 489 const char *name // Name of the un-mosaicked camera 490 ) 493 /*** Helper Functions ***/ 494 495 // Remove a concept from the list of sources. Need to check to see if it exists first, to avoid a warning. 496 static void removeConcept(psMetadata *source, // Source from which to remove concept 497 const char *concept // Concept name to remove 498 ) 491 499 { 492 PS_ASSERT_METADATA_NON_NULL(site, false); 493 PS_ASSERT_STRING_NON_EMPTY(name, false); 494 495 bool mdok; // Status of MD lookup 496 psMetadata *cameras = psMetadataLookupMetadata(&mdok, site, "CAMERAS"); // List of cameras 497 if (!mdok || !cameras) { 498 psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to find CAMERAS in the site configuration.\n"); 499 return false; 500 } 501 return mosaickedVersion(cameras, cameras, name, PM_FPA_LEVEL_CHIP) && 502 mosaickedVersion(cameras, cameras, name, PM_FPA_LEVEL_FPA); 500 assert(source); 501 assert(concept && strlen(concept) > 0); 502 503 if (psMetadataLookup(source, concept)) { 504 psMetadataRemoveKey(source, concept); 505 } 506 507 return; 503 508 } 504 509 505 // XXX EAM : shouldn't this loop over the unmosaicked camera names, calling the above function? 506 // the operation putting the new entries first is now implemented in mosaickedVersion 507 bool pmConfigCameraMosaickedVersionsAll(psMetadata *site) 510 // Remove certain concepts from the list of sources. These concepts are important in the mosaicking process, 511 // and are added explicitly to the defaults (elsewhere) so that the user can't get them wrong. 512 static void removeCellConceptsSources(psMetadata *source // Source for concepts 513 ) 508 514 { 509 PS_ASSERT_METADATA_NON_NULL(site, false); 510 511 bool mdok; // Status of MD lookup 512 psMetadata *cameras = psMetadataLookupMetadata(&mdok, site, "CAMERAS"); // List of cameras 513 if (!mdok || !cameras) { 514 psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to find CAMERAS in the site configuration.\n"); 515 return false; 516 } 517 518 psMetadataIterator *camerasIter = psMetadataIteratorAlloc(cameras, PS_LIST_HEAD, NULL); // Iterator 519 psMetadataItem *camerasItem = NULL; // Item from iteration 520 psMetadata *new = psMetadataAlloc();// New cameras to add 521 while ((camerasItem = psMetadataGetAndIncrement(camerasIter))) { 522 assert(camerasItem->type == PS_DATA_METADATA); // Only metadata are allowed here! 523 mosaickedVersion(cameras, new, camerasItem->name, PM_FPA_LEVEL_CHIP); 524 mosaickedVersion(cameras, new, camerasItem->name, PM_FPA_LEVEL_FPA); 525 } 526 psFree(camerasIter); 527 528 // Now put the new cameras at the top of the list of cameras, so they get recognised first 529 // Note: going from the top, and putting everything to the top as we get there, so that the last one on 530 // goes to the top. This preserves the original order of the cameras, putting the mosaicked versions 531 // before the originals. 532 camerasIter = psMetadataIteratorAlloc(new, PS_LIST_HEAD, NULL); // Iterator 533 while ((camerasItem = psMetadataGetAndIncrement(camerasIter))) { 534 psMetadataAddItem(cameras, camerasItem, PS_LIST_HEAD, 0); 535 } 536 psFree(camerasIter); 537 psFree(new); 538 539 return true; 515 if (!source) { 516 return; 517 } 518 519 removeConcept(source, "CELL.BIASSEC"); 520 removeConcept(source, "CELL.TRIMSEC"); 521 removeConcept(source, "CELL.XPARITY"); 522 removeConcept(source, "CELL.YPARITY"); 523 removeConcept(source, "CELL.X0"); 524 removeConcept(source, "CELL.Y0"); 525 526 // For the sake of the defaults, include the .DEPEND 527 removeConcept(source, "CELL.XPARITY.DEPEND"); 528 removeConcept(source, "CELL.YPARITY.DEPEND"); 529 removeConcept(source, "CELL.X0.DEPEND"); 530 removeConcept(source, "CELL.Y0.DEPEND"); 531 532 return; 540 533 } 541 534 535 // Remove certain concepts from the list of sources. These concepts are important in the mosaicking process, 536 // and are added explicitly to the defaults (elsewhere) so that the user can't get them wrong. 537 static void removeChipConceptsSources(psMetadata *source // Source for concepts 538 ) 539 { 540 if (!source) { 541 return; 542 } 543 544 removeConcept(source, "CHIP.XPARITY"); 545 removeConcept(source, "CHIP.YPARITY"); 546 removeConcept(source, "CHIP.X0"); 547 removeConcept(source, "CHIP.Y0"); 548 549 // For the sake of the defaults, include the .DEPEND 550 removeConcept(source, "CHIP.XPARITY.DEPEND"); 551 removeConcept(source, "CHIP.YPARITY.DEPEND"); 552 removeConcept(source, "CHIP.X0.DEPEND"); 553 removeConcept(source, "CHIP.Y0.DEPEND"); 554 555 return; 556 } -
trunk/psModules/src/config/pmConfigCamera.h
r11251 r12696 5 5 * @author Eugene Magnier, IfA 6 6 * 7 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-24 01:05:41$7 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 10 10 */ … … 16 16 /// @{ 17 17 18 #include <pslib.h> 18 // Generate a mosaicked version of a camera configuration 19 bool pmConfigGenerateMosaickedVersion(psMetadata *oldCameras, // Old list of camera configurations 20 psMetadata *newCameras, // New list of camera configurations 21 const char *name, // Name of original camera configuration 22 pmFPALevel mosaicLevel // Level to which we are mosaicking 23 ); 19 24 20 25 /// Generate the chip mosaicked version of a particular camera configuration 21 26 bool pmConfigCameraMosaickedVersions(psMetadata *site, // Site configuration 22 27 const char *name // Name of the un-mosaicked camera 23 );28 ); 24 29 25 30 /// Generate chip- and fpa-mosaicked versions of all the camera configurations 26 31 bool pmConfigCameraMosaickedVersionsAll(psMetadata *site // Site configuration 27 );32 ); 28 33 29 34 /// @} -
trunk/psModules/src/config/pmConfigCommand.c
r11624 r12696 6 6 #include <string.h> 7 7 #include <pslib.h> 8 8 #include "pmConfig.h" 9 9 #include "pmConfigCommand.h" 10 10 -
trunk/psModules/src/config/pmConfigCommand.h
r11450 r12696 1 1 #ifndef PM_CONFIG_COMMAND_H 2 2 #define PM_CONFIG_COMMAND_H 3 4 #include <pslib.h>5 #include "pmConfig.h"6 3 7 4 /// Extend a command-line to include the necessary database flags … … 17 14 bool pmConfigTraceCommand(psString *command ///< Command to extend 18 15 ); 19 20 21 16 #endif -
trunk/psModules/src/config/pmErrorCodes.c.in
r11272 r12696 5 5 * will be replaced by values from errorCodes.dat 6 6 */ 7 #include "pslib.h"7 #include <pslib.h> 8 8 #include "pmErrorCodes.h" 9 9 -
trunk/psModules/src/config/pmVersion.h
r11251 r12696 5 5 * @author Eugene Magnier, IfA 6 6 * 7 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-24 01:05:41$7 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 10 10 */ … … 15 15 /// @addtogroup Config Configuration System 16 16 /// @{ 17 18 #include <pslib.h>19 17 20 18 /** Get current psModules version … … 36 34 psString psModulesVersionLong(void); 37 35 38 39 36 /// @} 40 37 #endif -
trunk/psModules/src/detrend/pmBias.c
r12647 r12696 8 8 #include <pslib.h> 9 9 10 #include "pmHDU.h" 10 11 #include "pmFPA.h" 11 12 #include "pmHDUUtils.h" -
trunk/psModules/src/detrend/pmBias.h
r11253 r12696 5 5 * @author Paul Price, IfA 6 6 * 7 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-24 02:54:15$7 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * Copyright 2004--2006 Institute for Astronomy, University of Hawaii 10 10 */ … … 15 15 /// @addtogroup detrend Detrend Creation and Application 16 16 /// @{ 17 18 #include <pslib.h>19 20 #include "pmFPA.h"21 17 22 18 /// Type of fit to perform -
trunk/psModules/src/detrend/pmDetrendDB.c
r12364 r12696 6 6 #include <string.h> 7 7 #include <pslib.h> 8 8 9 #include "pmConfig.h" 9 10 #include "pmConfigCommand.h" 11 #include "pmHDU.h" 10 12 #include "pmFPA.h" 11 13 #include "pmFPALevel.h" -
trunk/psModules/src/detrend/pmDetrendDB.h
r12365 r12696 9 9 * @author EAM, IfA 10 10 * 11 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $12 * @date $Date: 2007-03- 09 02:49:53$11 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2007-03-30 21:12:56 $ 13 13 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii 14 14 */ … … 19 19 /// @addtogroup detrend Detrend Creation and Application 20 20 /// @{ 21 22 #include "pmConfig.h"23 #include "pmFPALevel.h"24 21 25 22 typedef enum { -
trunk/psModules/src/detrend/pmFlatField.c
r10330 r12696 6 6 #include <pslib.h> 7 7 8 #include "pmHDU.h" 8 9 #include "pmFPA.h" 9 10 #include "pmHDUUtils.h" 10 11 #include "pmFPAMaskWeight.h" 11 12 #include "pmFlatField.h" 12 13 13 14 14 bool pmFlatField(pmReadout *in, const pmReadout *flat) -
trunk/psModules/src/detrend/pmFlatField.h
r11253 r12696 5 5 * @author Paul Price, IfA 6 6 * 7 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-24 02:54:15$7 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * Copyright 2004-2006 Institute for Astronomy, University of Hawaii 10 10 */ … … 15 15 /// @addtogroup detrend Detrend Creation and Application 16 16 /// @{ 17 18 #include "pmFPA.h"19 17 20 18 /// Apply flat field calibration to a readout -
trunk/psModules/src/detrend/pmFlatNormalize.h
r11253 r12696 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-24 02:54:15$6 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2004-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 14 14 /// @addtogroup detrend Detrend Creation and Application 15 15 /// @{ 16 17 #include <pslib.h>18 16 19 17 /// Normalize flat-field measurements -
trunk/psModules/src/detrend/pmFringeStats.c
r11150 r12696 7 7 #include <string.h> 8 8 #include <pslib.h> 9 10 #include "pmHDU.h" 9 11 #include "pmFPA.h" 10 12 #include "pmFringeStats.h" 11 12 13 13 14 // Future optimisations for speed: -
trunk/psModules/src/detrend/pmMaskBadPixels.c
r10417 r12696 7 7 #include <pslib.h> 8 8 9 #include "pmHDU.h" 9 10 #include "pmFPA.h" 10 11 #include "pmHDUUtils.h" -
trunk/psModules/src/detrend/pmMaskBadPixels.h
r11253 r12696 5 5 * @author Eugene Magnier, IfA 6 6 * 7 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-24 02:54:15$7 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * Copyright 2004 Institute for Astronomy, University of Hawaii 10 10 */ … … 15 15 /// @addtogroup detrend Detrend Creation and Application 16 16 /// @{ 17 18 #include <pslib.h>19 #include "pmFPA.h"20 17 21 18 /// Applies the bad pixel mask to the input -
trunk/psModules/src/detrend/pmNonLinear.c
r12456 r12696 6 6 #include <pslib.h> 7 7 8 #include "pmHDU.h" 8 9 #include "pmFPA.h" 9 10 #include "pmNonLinear.h" -
trunk/psModules/src/detrend/pmNonLinear.h
r11253 r12696 5 5 * @author Paul Price, IfA 6 6 * 7 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-24 02:54:15$7 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * Copyright 2004 Institute for Astronomy, University of Hawaii 10 10 */ … … 15 15 /// @addtogroup detrend Detrend Creation and Application 16 16 /// @{ 17 18 #include <pslib.h>19 #include "pmFPA.h"20 17 21 18 /// Correct non-linearity through polynomial -
trunk/psModules/src/detrend/pmShifts.c
r12504 r12696 8 8 #include <pslib.h> 9 9 10 #include "pmHDU.h" 11 #include "pmFPA.h" 10 12 #include "pmFPALevel.h" 11 13 #include "pmFPAUtils.h" -
trunk/psModules/src/detrend/pmShifts.h
r12264 r12696 1 1 #ifndef PM_SHIFTS_H 2 2 #define PM_SHIFTS_H 3 4 #include <pslib.h>5 #include "pmFPA.h"6 3 7 4 #define PM_SHIFTS_TABLE_NAME "SHIFTS.TABLE" ///< Name for table on the analysis metadata -
trunk/psModules/src/detrend/pmShutterCorrection.c
r12559 r12696 8 8 #include <pslib.h> 9 9 10 #include "pmHDU.h" 10 11 #include "pmFPA.h" 11 12 #include "pmHDUUtils.h" -
trunk/psModules/src/detrend/pmShutterCorrection.h
r11253 r12696 5 5 * @author Paul Price, IfA 6 6 * 7 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-24 02:54:15$7 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * Copyright 2006 Institute for Astronomy, University of Hawaii 10 10 */ … … 59 59 * terms of dT(x,y) and f'(x,y) 60 60 */ 61 62 #include <pslib.h>63 61 64 62 /// Shutter correction parameters, applicable for a single pixel -
trunk/psModules/src/detrend/pmSkySubtract.c
r10299 r12696 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $9 * @date $Date: 200 6-11-30 00:52:21$8 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-03-30 21:12:56 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 22 22 #include <math.h> 23 23 #include <pslib.h> 24 25 #include "pmHDU.h" 26 #include "pmFPA.h" 24 27 #include "pmSubtractSky.h" 25 28 -
trunk/psModules/src/detrend/pmSkySubtract.h
r11253 r12696 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 1-24 02:54:15$8 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-03-30 21:12:56 $ 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 11 11 */ … … 16 16 /// @addtogroup detrend Detrend Creation and Application 17 17 /// @{ 18 19 #include<stdio.h>20 #include<math.h>21 #include "pslib.h"22 #include "pmFPA.h"23 18 24 19 // XXX: this is pmFit in pmSubtractBias.c, named psFit here. -
trunk/psModules/src/extras/pmKapaPlots.h
r11459 r12696 4 4 * @author EAM, IfA 5 5 * 6 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-31 03:11:35$6 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-30 21:12:56 $ 8 8 * Copyright 2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 21 21 22 22 # if (HAVE_KAPA) 23 # include <kapa.h>23 # include <kapa.h> 24 24 25 // yes, this is an absurd name...26 bool pmKapaPlotVectorPair_AutoLimits_OpenGraph (int kapa, Graphdata *graphdata, psVector *xVec, psVector *yVec);25 // yes, this is an absurd name... 26 bool pmKapaPlotVectorPair_AutoLimits_OpenGraph (int kapa, Graphdata *graphdata, psVector *xVec, psVector *yVec); 27 27 bool pmKapaPlotVectorTriple_AutoLimits_OpenGraph (int kapa, Graphdata *graphdata, psVector *xVec, psVector *yVec, psVector *zVec, bool increasing); 28 28 # else 29 29 30 bool pmKapaPlotVectorPair_AutoLimits_OpenGraph (int kapa, void *graphdata, psVector *xVec, psVector *yVec);30 bool pmKapaPlotVectorPair_AutoLimits_OpenGraph (int kapa, void *graphdata, psVector *xVec, psVector *yVec); 31 31 bool pmKapaPlotVectorTriple_AutoLimits_OpenGraph (int kapa, void *graphdata, psVector *xVec, psVector *yVec, psVector *zVec, bool increasing); 32 32 # endif -
trunk/psModules/src/imcombine/pmImageCombine.h
r11253 r12696 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $11 * @date $Date: 2007-0 1-24 02:54:15$10 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2007-03-30 21:12:56 $ 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 13 13 */ … … 18 18 /// @addtogroup imcombine Image Combinations 19 19 /// @{ 20 21 #include <stdio.h>22 #include <math.h>23 #include <pslib.h>24 20 25 21 psImage *pmCombineImages( -
trunk/psModules/src/imcombine/pmImageSubtract.h
r11253 r12696 7 7 * @author GLG, MHPCC 8 8 * 9 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2007-0 1-24 02:54:15$9 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2007-03-30 21:12:56 $ 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 12 12 */ … … 17 17 /// @addtogroup imcombine Image Combinations 18 18 /// @{ 19 20 #include <stdio.h>21 #include <math.h>22 #include <pslib.h>23 19 24 20 typedef enum { -
trunk/psModules/src/imcombine/pmReadoutCombine.c
r12693 r12696 8 8 #include <pslib.h> 9 9 10 #include "pmHDU.h" 10 11 #include "pmFPA.h" 11 12 #include "pmHDUUtils.h" -
trunk/psModules/src/imcombine/pmReadoutCombine.h
r11253 r12696 5 5 * @author Paul Price, IfA 6 6 * 7 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-24 02:54:15$7 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * Copyright 2004-2006 Institute for Astronomy, University of Hawaii 10 10 */ … … 15 15 /// @addtogroup imcombine Image Combinations 16 16 /// @{ 17 18 #include <pslib.h>19 #include "pmFPA.h"20 17 21 18 /// Combination parameters for pmReadoutCombine. -
trunk/psModules/src/objects/pmGrowthCurve.c
r9897 r12696 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $8 * @date $Date: 200 6-11-07 22:55:40$7 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 17 17 18 18 #include <pslib.h> 19 20 #include "pmHDU.h" 19 21 #include "pmFPA.h" 20 22 #include "pmPeaks.h" -
trunk/psModules/src/objects/pmPSF_IO.c
r11687 r12696 6 6 * @author EAM, IfA 7 7 * 8 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 2-07 23:58:17$8 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-03-30 21:12:56 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 22 22 23 23 #include <pslib.h> 24 25 #include "pmConfig.h" 26 #include "pmDetrendDB.h" 27 24 28 #include "pmHDU.h" 25 29 #include "pmFPA.h" 26 #include "pmFPAfile.h" 30 31 #include "pmFPALevel.h" 32 #include "pmFPAview.h" 27 33 #include "pmFPAfile.h" 28 34 -
trunk/psModules/src/objects/pmSourceIO.c
r12598 r12696 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-03- 27 18:52:17$5 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-03-30 21:12:56 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 18 18 #include <string.h> 19 19 #include <pslib.h> 20 21 #include "pmConfig.h" 22 #include "pmDetrendDB.h" 23 20 24 #include "pmHDU.h" 21 25 #include "pmFPA.h" 26 #include "pmFPALevel.h" 22 27 #include "pmFPAview.h" 23 28 #include "pmFPAfile.h" -
trunk/psModules/src/objects/pmSourceIO_CMF.c
r11302 r12696 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-0 1-26 04:40:12$5 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-03-30 21:12:56 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 20 20 #include "pmHDU.h" 21 21 #include "pmFPA.h" 22 #include "pmFPALevel.h" 22 23 #include "pmFPAview.h" 23 24 #include "pmFPAfile.h" -
trunk/psModules/src/objects/pmSourceIO_CMP.c
r11687 r12696 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-0 2-07 23:58:17$5 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-03-30 21:12:56 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 18 18 #include <string.h> 19 19 #include <pslib.h> 20 21 #include "pmConfig.h" 22 #include "pmDetrendDB.h" 23 20 24 #include "pmHDU.h" 21 25 #include "pmFPA.h" 26 #include "pmFPALevel.h" 22 27 #include "pmFPAview.h" 23 28 #include "pmFPAfile.h" -
trunk/psModules/src/objects/pmSourceIO_OBJ.c
r10258 r12696 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $6 * @date $Date: 200 6-11-29 02:36:38$5 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-03-30 21:12:56 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 18 18 #include <string.h> 19 19 #include <pslib.h> 20 21 #include "pmConfig.h" 22 #include "pmDetrendDB.h" 23 20 24 #include "pmHDU.h" 21 25 #include "pmFPA.h" 26 #include "pmFPALevel.h" 22 27 #include "pmFPAview.h" 23 28 #include "pmFPAfile.h" -
trunk/psModules/src/objects/pmSourceIO_PS1_DEV_0.c
r12628 r12696 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-03- 28 19:17:14$5 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-03-30 21:12:56 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 18 18 #include <string.h> 19 19 #include <pslib.h> 20 21 #include "pmConfig.h" 22 #include "pmDetrendDB.h" 23 20 24 #include "pmHDU.h" 21 25 #include "pmFPA.h" 26 #include "pmFPALevel.h" 22 27 #include "pmFPAview.h" 23 28 #include "pmFPAfile.h" -
trunk/psModules/src/objects/pmSourceIO_RAW.c
r11161 r12696 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-0 1-19 04:39:02$5 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-03-30 21:12:56 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 18 18 #include <string.h> 19 19 #include <pslib.h> 20 21 #include "pmConfig.h" 22 #include "pmDetrendDB.h" 23 20 24 #include "pmHDU.h" 21 25 #include "pmFPA.h" 26 #include "pmFPALevel.h" 22 27 #include "pmFPAview.h" 23 28 #include "pmFPAfile.h" -
trunk/psModules/src/objects/pmSourceIO_SMPDATA.c
r12481 r12696 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-03- 18 22:03:21$5 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-03-30 21:12:56 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 18 18 #include <string.h> 19 19 #include <pslib.h> 20 21 #include "pmConfig.h" 22 #include "pmDetrendDB.h" 23 20 24 #include "pmHDU.h" 21 25 #include "pmFPA.h" 26 #include "pmFPALevel.h" 22 27 #include "pmFPAview.h" 23 28 #include "pmFPAfile.h" -
trunk/psModules/src/objects/pmSourceIO_SX.c
r10258 r12696 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $6 * @date $Date: 200 6-11-29 02:36:38$5 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-03-30 21:12:56 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 18 18 #include <string.h> 19 19 #include <pslib.h> 20 21 #include "pmConfig.h" 22 #include "pmDetrendDB.h" 23 20 24 #include "pmHDU.h" 21 25 #include "pmFPA.h" 26 #include "pmFPALevel.h" 22 27 #include "pmFPAview.h" 23 28 #include "pmFPAfile.h" -
trunk/psModules/src/objects/pmSourcePlotMoments.c
r11286 r12696 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-25 03:11:54$7 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * 10 10 * Copyright 2006 IfA, University of Hawaii … … 20 20 #include <pslib.h> 21 21 22 #include "pmConfig.h" 23 #include "pmDetrendDB.h" 24 22 25 #include "pmHDU.h" 23 26 #include "pmFPA.h" 27 #include "pmFPALevel.h" 28 #include "pmFPAview.h" 24 29 #include "pmFPAfile.h" 25 #include "pmFPAview.h"26 30 #include "pmPeaks.h" 27 31 #include "pmMoments.h" -
trunk/psModules/src/objects/pmSourcePlotPSFModel.c
r11286 r12696 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-25 03:11:54$7 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * 10 10 * Copyright 2006 IfA, University of Hawaii … … 20 20 #include <pslib.h> 21 21 22 #include "pmConfig.h" 23 #include "pmDetrendDB.h" 24 22 25 #include "pmHDU.h" 23 26 #include "pmFPA.h" 27 #include "pmFPALevel.h" 28 #include "pmFPAview.h" 24 29 #include "pmFPAfile.h" 25 #include "pmFPAview.h"26 30 #include "pmPeaks.h" 27 31 #include "pmMoments.h" -
trunk/psModules/src/objects/pmSourcePlots.c
r10827 r12696 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $8 * @date $Date: 200 6-12-23 04:00:30$7 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-03-30 21:12:56 $ 9 9 * 10 10 * Copyright 2006 IfA, University of Hawaii … … 20 20 #include <pslib.h> 21 21 22 #include "pmConfig.h" 23 #include "pmDetrendDB.h" 24 22 25 #include "pmHDU.h" 23 26 #include "pmFPA.h" 27 #include "pmFPALevel.h" 28 #include "pmFPAview.h" 24 29 #include "pmFPAfile.h" 25 #include "pmFPAview.h"26 30 #include "pmSourcePlots.h" 27 31 -
trunk/psModules/src/psmodules.h
r11450 r12696 10 10 #include <pmKapaPlots.h> 11 11 12 // XXX the following headers define constructs needed by the elements below 13 #include <pmConfig.h> 14 #include <pmDetrendDB.h> 15 #include <pmHDU.h> 16 #include <pmFPA.h> 17 #include <pmFPALevel.h> 18 #include <pmFPAview.h> 19 #include <pmFPAfile.h> 20 12 21 // the following headers are from psModule:config 13 #include <pmConfig.h>14 22 #include <pmConfigRecipes.h> 15 23 #include <pmConfigCamera.h> … … 25 33 26 34 // the following headers are from psModule:camera 27 #include <pmHDU.h>28 35 #include <pmHDUUtils.h> 29 36 #include <pmHDUGenerate.h> 30 #include <pmFPA.h>31 #include <pmFPALevel.h>32 37 #include <pmFPAFlags.h> 33 #include <pmFPAview.h>34 #include <pmFPAfile.h>35 38 #include <pmFPAfileDefine.h> 36 39 #include <pmFPAfileFitsIO.h> … … 54 57 #include <pmNonLinear.h> 55 58 #include <pmBias.h> 56 #include <pmDetrendDB.h>57 59 #include <pmShutterCorrection.h> 58 60 // #include <pmSkySubtract.h>
Note:
See TracChangeset
for help on using the changeset viewer.
