- Timestamp:
- Apr 19, 2013, 3:42:02 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130307
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130307
- Property svn:mergeinfo changed
/trunk merged: 35353-35354,35356-35368,35380,35383-35384,35388-35392,35394-35400,35409-35411
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130307/psModules
- Property svn:mergeinfo changed
/trunk/psModules merged: 35383
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130307/psModules/src/objects/pmSourceMatch.c
r35240 r35413 630 630 631 631 psVector *pmSourceMatchRelphot(const psArray *matches, // Array of matches 632 psArray *matchedSources, // Array of averaged sources 632 633 const psVector *zp, // Zero points for each image (including airmass term) 633 634 float tol, // Relative tolerance for convergence … … 648 649 PS_ASSERT_VECTOR_TYPE(zp, PS_TYPE_F32, NULL); 649 650 PS_ASSERT_FLOAT_LARGER_THAN(transClip, 0.0, NULL); 650 651 PS_ASSERT_ARRAY_NON_NULL(matchedSources, NULL); 652 651 653 sys1 *= sys1; 652 654 sys2 *= sys2; … … 742 744 } 743 745 746 for (int i = 0; i < matches->n; i++) { 747 pmSource *source = pmSourceAlloc(); 748 source->psfMag = stars->data.F32[i]; 749 psArrayAdd(matchedSources,matchedSources->n,source); 750 } 751 744 752 psFree(photo); 745 753 psFree(badImage);
Note:
See TracChangeset
for help on using the changeset viewer.
