Changeset 11762 for trunk/psModules/src/astrom/pmAstrometryObjects.c
- Timestamp:
- Feb 12, 2007, 5:14:42 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmAstrometryObjects.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryObjects.c
r11676 r11762 8 8 * @author EAM, IfA 9 9 * 10 * @version $Revision: 1.2 5$ $Name: not supported by cvs2svn $11 * @date $Date: 2007-02- 07 01:31:40$10 * @version $Revision: 1.26 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2007-02-13 03:14:42 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 36 36 /****************************************************************************** 37 37 pmAstromObjSortByMag(**a, **b): sort by mag (descending) 38 38 39 39 Is this a private routine? 40 40 Should we do the early asserts? … … 454 454 AstromGridBin(*dx, *dy, dX, dY): local function to convert x,y coords to grid 455 455 bins it requires the globals defined above. 456 456 457 457 ******************************************************************************/ 458 458 static bool AstromGridBin( … … 567 567 // find the max pixel 568 568 psStats *imStats = psStatsAlloc (PS_STAT_MAX | PS_STAT_MAX | PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV); 569 imStats = psImageStats (imStats, gridNP, NULL, 0); 569 if (!psImageStats(imStats, gridNP, NULL, 0)) { 570 psError(PS_ERR_UNKNOWN, false, "Unable to get image statistics.\n"); 571 psFree(imStats); 572 psFree(gridNP); 573 psFree(gridDX); 574 psFree(gridDY); 575 psFree(gridD2); 576 psFree(stats); 577 return NULL; 578 } 570 579 571 580 # if 0 … … 860 869 +15:+25 -> 5 861 870 +25:+35 -> 6 862 871 863 872 maxOffsetRequest = 30 864 873 nPix = (int) (maxOffset / dPix + 0.5);
Note:
See TracChangeset
for help on using the changeset viewer.
