Changeset 7152
- Timestamp:
- May 19, 2006, 5:39:53 AM (20 years ago)
- Location:
- trunk/psModules/src
- Files:
-
- 2 added
- 4 edited
-
astrom/Makefile.am (modified) (1 diff)
-
astrom/pmAstrometryDistortion.c (added)
-
astrom/pmAstrometryDistortion.h (added)
-
astrom/pmAstrometryObjects.c (modified) (2 diffs)
-
astrom/pmAstrometryObjects.h (modified) (4 diffs)
-
psmodules.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/Makefile.am
r7019 r7152 4 4 libpsmoduleastrom_la_LDFLAGS = -release $(PACKAGE_VERSION) 5 5 libpsmoduleastrom_la_SOURCES = \ 6 pmAstrometryObjects.c 7 8 # pmFPAAstrometry.c 6 pmAstrometryObjects.c \ 7 pmAstrometryDistortion.c 9 8 10 9 psmoduleincludedir = $(includedir) 11 10 psmoduleinclude_HEADERS = \ 12 pmAstrometryObjects.h 13 14 # pmFPAAstrometry.h 11 pmAstrometryObjects.h \ 12 pmAstrometryDistortion.h -
trunk/psModules/src/astrom/pmAstrometryObjects.c
r7005 r7152 8 8 * @author EAM, IfA 9 9 * 10 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-0 4-30 22:03:58$10 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-05-19 15:39:53 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 17 17 /* INCLUDE FILES */ 18 18 /******************************************************************************/ 19 #include <stdio.h> 19 20 #include <string.h> 20 21 #include <math.h> 22 #include <unistd.h> // for unlink 21 23 #include "pslib.h" 22 24 #include "psVectorSmooth.h" -
trunk/psModules/src/astrom/pmAstrometryObjects.h
r7005 r7152 8 8 * @author EAM, IfA 9 9 * 10 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-0 4-30 22:03:58$10 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-05-19 15:39:53 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 14 14 */ 15 15 16 #if !defined(PM_ASTROMETRYOBJECTS_H) 17 #define PM_PM_ASTROMETRYOBJECTS_H_H 18 19 # include <stdio.h> 20 # include <strings.h> // for strcasecmp 21 # include <unistd.h> // for unlink 22 # include <pslib.h> 23 # include <pmFPA.h> 16 #ifndef PM_ASTROMETRY_OBJECTS_H 17 #define PM_ASTROMETRY_OBJECTS_H 24 18 25 19 /* … … 46 40 psPlane *FP; ///< the position in the pmFPA frame 47 41 psPlane *TP; ///< the position in the tangent plane 48 psSphere *sky; ///< the position on the Celestial Sphere.42 psSphere *sky; ///< the position on the Celestial Sphere. 49 43 double Mag; ///< object magnitude XXX what filter? 50 44 double dMag; ///< error on object magnitude … … 255 249 256 250 257 /*258 *259 * The following function determines the position residual, in the tangent260 * plane, as a function of position in the focal plane, for a collection of raw261 * measurements and matched reference stars. The configuration data must include262 * the bin size over which the gradient is measured (keyword: ASTROM.GRAD.BOX).263 * The function returns an array of pmAstromGradient structures, defined below.264 *265 * XXX: No prototype code.266 *267 */268 psArray pmAstromMeasureGradients(269 psArray *starlist1,270 psArray *starlist2,271 psArray *match,272 psMetadata *config273 );274 275 276 277 /*278 *279 * The following data structure carries the information about the residual280 * gradient of source positions in the tangent plane (pmAstromObj.TP) as a281 * function of position in the focal plane (pmAstromObj.FP).282 *283 */284 typedef struct285 {286 psPlane FP;287 psPlane dTPdL;288 psPlane dTPdM;289 }290 pmAstromGradient;291 292 293 /*294 *295 * The gradient set measured above can be fitted with a pair of 2D296 * polynomials. The resulting fits can then be related back to the implied297 * polynomials which represent the distortion. The following function performs298 * the fit and applies the result to the distortion transformation of the299 * supplied pmFPA structure. The configuration variable supplies the polynomial300 * order (keyword: ASTROM.DISTORT.ORDER).301 *302 * XXX: No prototype code.303 *304 */305 psArray pmAstromFitDistortion(306 pmFPA *fpa,307 psArray *gradients,308 psMetadata *config);309 310 311 312 313 314 251 /******************************************************************************* 315 252 The following functions and structs were in the prototype code, but not the … … 394 331 ); 395 332 396 #endif 397 333 #endif // PM_ASTROMETRY_OBJECTS_H -
trunk/psModules/src/psmodules.h
r7065 r7152 41 41 #include <pmFPA_JPEG.h> 42 42 #include <pmReadout.h> 43 #include <pmChipMosaic.h> 43 44 44 45 // the following headers are from psModule:astrom 45 46 #include <pmAstrometryObjects.h> 46 #include <pm ChipMosaic.h>47 #include <pmAstrometryDistortion.h> 47 48 48 49 // the following headers are from psModule:detrend
Note:
See TracChangeset
for help on using the changeset viewer.
