Changeset 38153 for trunk/Ohana/src/addstar
- Timestamp:
- Apr 18, 2015, 6:33:51 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
Ohana/src/addstar/src/FilterStars.c (modified) (1 diff)
-
Ohana/src/addstar/src/ReadXradFITS.c (modified) (1 diff)
-
Ohana/src/addstar/src/resort_catalog.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20150405 (added) merged: 38084-38085,38098-38101,38135-38136,38139-38143,38146-38152
- Property svn:mergeinfo changed
-
trunk/Ohana/src/addstar/src/FilterStars.c
r37357 r38153 105 105 stars[N].measure.dFluxAp /= image[0].exptime; 106 106 } 107 if (stars[N].lensing) { 108 if (!isnan(stars[N].lensing-> F_ApR5)) stars[N].lensing-> F_ApR5 /= image[0].exptime; 109 if (!isnan(stars[N].lensing->dF_ApR5)) stars[N].lensing->dF_ApR5 /= image[0].exptime; 110 if (!isnan(stars[N].lensing->sF_ApR5)) stars[N].lensing->sF_ApR5 /= image[0].exptime; 111 if (!isnan(stars[N].lensing->fF_ApR5)) stars[N].lensing->fF_ApR5 /= image[0].exptime; 112 113 if (!isnan(stars[N].lensing-> F_ApR6)) stars[N].lensing-> F_ApR6 /= image[0].exptime; 114 if (!isnan(stars[N].lensing->dF_ApR6)) stars[N].lensing->dF_ApR6 /= image[0].exptime; 115 if (!isnan(stars[N].lensing->sF_ApR6)) stars[N].lensing->sF_ApR6 /= image[0].exptime; 116 if (!isnan(stars[N].lensing->fF_ApR6)) stars[N].lensing->fF_ApR6 /= image[0].exptime; 117 118 if (!isnan(stars[N].lensing-> F_ApR7)) stars[N].lensing-> F_ApR7 /= image[0].exptime; 119 if (!isnan(stars[N].lensing->dF_ApR7)) stars[N].lensing->dF_ApR7 /= image[0].exptime; 120 if (!isnan(stars[N].lensing->sF_ApR7)) stars[N].lensing->sF_ApR7 /= image[0].exptime; 121 if (!isnan(stars[N].lensing->fF_ApR7)) stars[N].lensing->fF_ApR7 /= image[0].exptime; 122 } 107 123 108 124 // the external ID is supplied, but do we trust it? -
trunk/Ohana/src/addstar/src/ReadXradFITS.c
r37357 r38153 72 72 } 73 73 74 stars[i].lensing-> F_ApR5 = AperFlux [Nap*Ncol + 3];75 stars[i].lensing->dF_ApR5 = AperFluxErr[Nap*Ncol + 3];76 stars[i].lensing->sF_ApR5 = AperFluxStd[Nap*Ncol + 3];77 stars[i].lensing->fF_ApR5 = AperFill [Nap*Ncol + 3];74 // XXX this is all hard-wired and should make use of the headers. 75 // psphot cmfs have 5 radial apertures: 76 // array 0, 1, 2, 3, 4 77 // SDSS 3, 4, 5, 6, 7 78 78 79 stars[i].lensing-> F_ApR6 = AperFlux [Nap*Ncol + 4]; 80 stars[i].lensing->dF_ApR6 = AperFluxErr[Nap*Ncol + 4]; 81 stars[i].lensing->sF_ApR6 = AperFluxStd[Nap*Ncol + 4]; 82 stars[i].lensing->fF_ApR6 = AperFill [Nap*Ncol + 4]; 79 stars[i].lensing-> F_ApR5 = AperFlux [Nap*Ncol + 2]; 80 stars[i].lensing->dF_ApR5 = AperFluxErr[Nap*Ncol + 2]; 81 stars[i].lensing->sF_ApR5 = AperFluxStd[Nap*Ncol + 2]; 82 stars[i].lensing->fF_ApR5 = AperFill [Nap*Ncol + 2]; 83 84 stars[i].lensing-> F_ApR6 = AperFlux [Nap*Ncol + 3]; 85 stars[i].lensing->dF_ApR6 = AperFluxErr[Nap*Ncol + 3]; 86 stars[i].lensing->sF_ApR6 = AperFluxStd[Nap*Ncol + 3]; 87 stars[i].lensing->fF_ApR6 = AperFill [Nap*Ncol + 3]; 88 89 stars[i].lensing-> F_ApR7 = AperFlux [Nap*Ncol + 4]; 90 stars[i].lensing->dF_ApR7 = AperFluxErr[Nap*Ncol + 4]; 91 stars[i].lensing->sF_ApR7 = AperFluxStd[Nap*Ncol + 4]; 92 stars[i].lensing->fF_ApR7 = AperFill [Nap*Ncol + 4]; 83 93 Nap ++; 84 94 } -
trunk/Ohana/src/addstar/src/resort_catalog.c
r37807 r38153 40 40 resort_catalog_lensing (catalog); 41 41 resort_catalog_starpar (catalog); 42 43 // XXX somehow need to set the value of lensing->measure offset here 44 45 42 46 } 43 47
Note:
See TracChangeset
for help on using the changeset viewer.
