- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/psModules
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/psModules merged eligible /branches/eam_branches/stackphot.20100406/psModules 27623-27653 /branches/pap_delete/psModules 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simtest_nebulous_branches/psModules/src/objects/pmSourceMatch.h
r23241 r27840 1 1 #ifndef PM_SOURCE_MATCH_H 2 2 #define PM_SOURCE_MATCH_H 3 4 #include <pslib.h> 5 6 /// Mask values for matched sources 7 typedef enum { 8 PM_SOURCE_MATCH_MASK_PHOT = 0x01, // Source was rejected from photometry fit 9 PM_SOURCE_MATCH_MASK_ASTRO = 0x02, // Source was rejected from astrometry fit 10 } pmSourceMatchMask; 3 11 4 12 /// Matched sources … … 12 20 psVector *mag; // Magnitudes 13 21 psVector *magErr; // Magnitude errors 22 psVector *x, *y; // Positions 14 23 psVector *mask; // Mask for measurements 15 24 } pmSourceMatch; … … 26 35 PS_ASSERT_VECTOR_NON_NULL((MATCH)->mag, RVAL); \ 27 36 PS_ASSERT_VECTOR_NON_NULL((MATCH)->magErr, RVAL); \ 37 PS_ASSERT_VECTOR_NON_NULL((MATCH)->x, RVAL); \ 38 PS_ASSERT_VECTOR_NON_NULL((MATCH)->y, RVAL); \ 28 39 PS_ASSERT_VECTOR_SIZE((MATCH)->image, (MATCH)->num, RVAL); \ 29 40 PS_ASSERT_VECTOR_SIZE((MATCH)->index, (MATCH)->num, RVAL); \ 30 41 PS_ASSERT_VECTOR_SIZE((MATCH)->mag, (MATCH)->num, RVAL); \ 31 42 PS_ASSERT_VECTOR_SIZE((MATCH)->magErr, (MATCH)->num, RVAL); \ 43 PS_ASSERT_VECTOR_SIZE((MATCH)->x, (MATCH)->num, RVAL); \ 44 PS_ASSERT_VECTOR_SIZE((MATCH)->y, (MATCH)->num, RVAL); \ 32 45 } 33 46 … … 38 51 void pmSourceMatchAdd(pmSourceMatch *match, // Match data 39 52 float mag, float magErr, // Magnitude and error 53 float x, float y, // Position 40 54 int image, // Image index 41 55 int index // Source index … … 75 89 ); 76 90 91 /// Perform relative astrometry to calibrate images 92 psArray *pmSourceMatchRelastro(const psArray *matches, // Array of matches 93 int numImages, // Number of images 94 float tol, // Relative tolerance for convergence 95 int iter1, // Number of iterations for pass 1 96 float rej1, // Limit on rejection between iterations for pass 1 97 int iter2, // Number of iterations for pass 2 98 float rej2, // Limit on rejection between iterations for pass 2 99 float rejLimit // Limit on rejection between iterations 100 ); 101 77 102 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
