Changeset 38553 for trunk/Ohana/src/relastro/src/BrightCatalog.c
- Timestamp:
- Jun 25, 2015, 10:41:05 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/relastro/src/BrightCatalog.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relastro/src/BrightCatalog.c
r38441 r38553 349 349 /*** MeasureTiny ***/ 350 350 { 351 ohana_memcheck _func(1);351 ohana_memcheck (1); 352 352 gfits_create_table_header (&theader, "BINTABLE", "MEASURE_TINY"); 353 353 354 ohana_memcheck _func(1);354 ohana_memcheck (1); 355 355 gfits_define_bintable_column (&theader, "D", "RA", "ra", "degrees", 1.0, 0.0); 356 356 gfits_define_bintable_column (&theader, "D", "DEC", "dec", "degrees", 1.0, 0.0); … … 375 375 376 376 // generate the output array that carries the data 377 ohana_memcheck _func(1);377 ohana_memcheck (1); 378 378 gfits_create_table (&theader, &ftable); 379 ohana_memcheck _func(1);379 ohana_memcheck (1); 380 380 381 381 // create intermediate storage arrays … … 400 400 int *catID ; ALLOCATE (catID , int , catalog->Nmeasure); 401 401 short *photcode ; ALLOCATE (photcode , short, catalog->Nmeasure); 402 ohana_memcheck _func(1);402 ohana_memcheck (1); 403 403 404 404 // assign the storage arrays … … 426 426 photcode[i] = measure[i].photcode ; 427 427 } 428 ohana_memcheck _func(1);428 ohana_memcheck (1); 429 429 430 430 // add the columns to the output array 431 431 gfits_set_bintable_column (&theader, &ftable, "RA", R, catalog->Nmeasure); 432 ohana_memcheck _func(1);432 ohana_memcheck (1); 433 433 gfits_set_bintable_column (&theader, &ftable, "DEC", D, catalog->Nmeasure); 434 ohana_memcheck _func(1);434 ohana_memcheck (1); 435 435 gfits_set_bintable_column (&theader, &ftable, "ROFF_GAL", RoffGAL, catalog->Nmeasure); 436 436 gfits_set_bintable_column (&theader, &ftable, "DOFF_GAL", DoffGAL, catalog->Nmeasure);
Note:
See TracChangeset
for help on using the changeset viewer.
