- Timestamp:
- Dec 5, 2017, 6:04:35 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20170822/src/checkastro/src/BrightCatalog.c
r40212 r40244 71 71 GET_COLUMN(dD, "DEC_OFF", float); 72 72 GET_COLUMN(M, "MAG_SYS", float); 73 GET_COLUMN(Mcal, "MAG_CAL", float); 73 GET_COLUMN(McalPSF, "MCAL_PSF", float); 74 GET_COLUMN(McalAPER, "MCAL_APER", float); 74 75 GET_COLUMN(dM, "MAG_ERR", float); 75 76 GET_COLUMN(airmass, "AIRMASS", float); … … 95 96 measure[i].dD = dD[i]; 96 97 measure[i].M = M[i]; 97 measure[i].Mcal = Mcal[i]; 98 measure[i].McalPSF = McalPSF[i]; 99 measure[i].McalAPER = McalAPER[i]; 98 100 measure[i].dM = dM[i]; 99 101 measure[i].airmass = airmass[i]; … … 116 118 free (dD ); 117 119 free (M ); 118 free (Mcal ); 120 free (McalPSF ); 121 free (McalAPER); 119 122 free (dM ); 120 123 free (airmass ); … … 366 369 float *dD ; ALLOCATE (dD , float, catalog->Nmeasure); 367 370 float *M ; ALLOCATE (M , float, catalog->Nmeasure); 368 float *Mcal ; ALLOCATE (Mcal , float, catalog->Nmeasure); 371 float *McalPSF ; ALLOCATE (McalPSF , float, catalog->Nmeasure); 372 float *McalAPER ; ALLOCATE (McalAPER , float, catalog->Nmeasure); 369 373 float *dM ; ALLOCATE (dM , float, catalog->Nmeasure); 370 374 float *airmass ; ALLOCATE (airmass , float, catalog->Nmeasure); … … 388 392 dD[i] = measure[i].dD ; 389 393 M[i] = measure[i].M ; 390 Mcal[i] = measure[i].Mcal ; 394 McalPSF[i] = measure[i].McalPSF ; 395 McalAPER[i] = measure[i].McalAPER ; 391 396 dM[i] = measure[i].dM ; 392 397 airmass[i] = measure[i].airmass ; … … 409 414 gfits_set_bintable_column (&theader, &ftable, "DEC_OFF", dD, catalog->Nmeasure); 410 415 gfits_set_bintable_column (&theader, &ftable, "MAG_SYS", M, catalog->Nmeasure); 411 gfits_set_bintable_column (&theader, &ftable, "MAG_CAL", Mcal, catalog->Nmeasure); 416 gfits_set_bintable_column (&theader, &ftable, "MCAL_PSF", McalPSF, catalog->Nmeasure); 417 gfits_set_bintable_column (&theader, &ftable, "MCAL_APER", McalAPER, catalog->Nmeasure); 412 418 gfits_set_bintable_column (&theader, &ftable, "MAG_ERR", dM, catalog->Nmeasure); 413 419 gfits_set_bintable_column (&theader, &ftable, "AIRMASS", airmass, catalog->Nmeasure); … … 428 434 free (dD ); 429 435 free (M ); 430 free (Mcal ); 436 free (McalPSF ); 437 free (McalAPER); 431 438 free (dM ); 432 439 free (airmass );
Note:
See TracChangeset
for help on using the changeset viewer.
