Changeset 35413 for branches/eam_branches/ipp-20130307/psModules
- Timestamp:
- Apr 19, 2013, 3:42:02 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130307
- Files:
-
- 5 edited
-
. (modified) (1 prop)
-
psModules (modified) (1 prop)
-
psModules/src/objects/pmSourceIO.c (modified) (2 diffs)
-
psModules/src/objects/pmSourceMatch.c (modified) (3 diffs)
-
psModules/src/objects/pmSourceMatch.h (modified) (1 diff)
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/pmSourceIO.c
r34720 r35413 980 980 return false; 981 981 } 982 982 983 // if this is not TRUE, the output files only contain the psf measurements. 983 984 bool XSRC_OUTPUT = psMetadataLookupBool(&status, recipe, "EXTENDED_SOURCE_ANALYSIS"); … … 1005 1006 hdu->header = psFitsReadHeader (NULL, file->fits); 1006 1007 } 1008 1009 // "WCS" is CMF without detected objects 1010 if (file->type == PM_FPA_FILE_WCS) { 1011 psTrace("psModules.objects", 6, "read CMF table from %s : %s : %s", file->filename, headname, dataname); 1012 psFree (headname); 1013 psFree (dataname); 1014 psFree (deteffname); 1015 break; 1016 } 1017 1018 // EXTDATA is the PSF data associated with this image header 1007 1019 1008 1020 // we need to find the corresponding table EXTNAME. -
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); -
branches/eam_branches/ipp-20130307/psModules/src/objects/pmSourceMatch.h
r35240 r35413 74 74 /// Perform relative photometry to calibrate images 75 75 psVector *pmSourceMatchRelphot(const psArray *matches, // Array of matches 76 psArray *matchedSources, // Array of average sources 76 77 const psVector *zp, // Zero points for each image (including airmass term) 77 78 float tol, // Relative tolerance for convergence
Note:
See TracChangeset
for help on using the changeset viewer.
