Changeset 35383 for trunk/psModules/src/objects/pmSourceMatch.c
- Timestamp:
- Apr 9, 2013, 1:33:36 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceMatch.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceMatch.c
r35240 r35383 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.
