- Timestamp:
- May 24, 2013, 1:37:30 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130509
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130509
- Property svn:mergeinfo changed
/trunk (added) merged: 35566-35570,35572-35574,35576-35581,35583-35586,35590
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130509/Ohana
- Property svn:mergeinfo changed
/trunk/Ohana (added) merged: 35578-35579,35590
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130509/Ohana/src/dvopsps/src/DetectionOps.c
r35098 r35594 54 54 GET_COLUMN(ippObjID , "ippObjID", int64_t); 55 55 GET_COLUMN(objID , "objID", int64_t); 56 GET_COLUMN(photcode , "photcode", int); 56 57 GET_COLUMN(flags , "flags", int); 57 58 GET_COLUMN(zp , "zp", float); … … 73 74 detections[i].ippObjID = ippObjID[i]; 74 75 detections[i].objID = objID[i]; 76 detections[i].photcode = photcode[i]; 75 77 detections[i].flags = flags[i]; 76 78 detections[i].zp = zp[i]; … … 90 92 free (ippObjID ); 91 93 free (objID ); 94 free (photcode ); 92 95 free (flags ); 93 96 free (zp ); … … 154 157 // gfits_define_bintable_column (&theader, "K", "ippObjID", NULL, NULL, 1.0, BZERO_INT64); 155 158 // gfits_define_bintable_column (&theader, "K", "objID", NULL, NULL, 1.0, BZERO_INT64); 159 gfits_define_bintable_column (&theader, "J", "photcode", NULL, NULL, 1.0, 0.0); 156 160 gfits_define_bintable_column (&theader, "J", "flags", NULL, NULL, 1.0, BZERO_INT32); 157 161 gfits_define_bintable_column (&theader, "E", "zp", NULL, NULL, 1.0, 0.0); … … 173 177 uint64_t *ippObjID ; ALLOCATE (ippObjID , uint64_t, Ndetections); 174 178 uint64_t *objID ; ALLOCATE (objID , uint64_t, Ndetections); 179 int *photcode ; ALLOCATE (photcode , int, Ndetections); 175 180 uint32_t *flags ; ALLOCATE (flags , uint32_t, Ndetections); 176 181 float *zp ; ALLOCATE (zp , float, Ndetections); … … 190 195 ippObjID[i] = detections[i].ippObjID ; 191 196 objID[i] = detections[i].objID ; 197 photcode[i] = detections[i].photcode ; 192 198 flags[i] = detections[i].flags ; 193 199 zp[i] = detections[i].zp ; … … 207 213 gfits_set_bintable_column (&theader, &ftable, "ippObjID", ippObjID , Ndetections); 208 214 gfits_set_bintable_column (&theader, &ftable, "objID", objID , Ndetections); 215 gfits_set_bintable_column (&theader, &ftable, "photcode", photcode , Ndetections); 209 216 gfits_set_bintable_column (&theader, &ftable, "flags", flags , Ndetections); 210 217 gfits_set_bintable_column (&theader, &ftable, "zp", zp , Ndetections); … … 222 229 free (ippObjID ); 223 230 free (objID ); 231 free (photcode ); 224 232 free (flags ); 225 233 free (zp );
Note:
See TracChangeset
for help on using the changeset viewer.
