Changeset 33571
- Timestamp:
- Mar 20, 2012, 2:15:30 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20111122/Ohana/src/relastro/src
- Files:
-
- 4 edited
-
UpdateChips.c (modified) (2 diffs)
-
UpdateObjects.c (modified) (1 diff)
-
args.c (modified) (1 diff)
-
relastro_images.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/relastro/src/UpdateChips.c
r33570 r33571 59 59 for (i = 0; i < Nimage; i++) { 60 60 61 // XXX looks like everything below is thread safe : we can unroll this into a set of 62 // helper functions that grab the next available chip.... 63 61 64 /* skip all except WRP images */ 62 65 if (strcmp(&image[i].coords.ctype[4], "-WRP")) { … … 155 158 156 159 image = getimages (&Nimage, NULL); 160 nextImage = 0; 157 161 158 162 // save fit results for summary plot -
branches/eam_branches/ipp-20111122/Ohana/src/relastro/src/UpdateObjects.c
r33545 r33571 74 74 T2000 = ohana_date_to_sec ("2000/01/01"); 75 75 // XXX in the future, use catalog[0].Nsecfilt only? allow catalogs to have variable Nsecfilt? 76 76 77 Nsecfilt = GetPhotcodeNsecfilt (); 77 assert (catalog[0].Nsecfilt == Nsecfilt); 78 if (Ncatalog) { 79 assert (catalog[0].Nsecfilt == Nsecfilt); 80 } 78 81 79 82 NaveSum = NparSum = NpmSum = NskipSum = 0; -
branches/eam_branches/ipp-20111122/Ohana/src/relastro/src/args.c
r33570 r33571 364 364 365 365 NTHREADS = 0; 366 if ((N = get_argument (argc, argv, "- nthreads"))) {366 if ((N = get_argument (argc, argv, "-threads"))) { 367 367 remove_argument (N, &argc, argv); 368 368 NTHREADS = atof (argv[N]); -
branches/eam_branches/ipp-20111122/Ohana/src/relastro/src/relastro_images.c
r33448 r33571 31 31 catalog = load_catalogs (skylist, &Ncatalog, TRUE, 0, NULL); 32 32 MARKTIME("load catalog data: %f sec\n", dtime); 33 34 if (Ncatalog == 0) { 35 fprintf (stderr, "ERROR: no valid data for relastro, exiting\n"); 36 exit (2); 37 } 33 38 34 39 /* match measurements with images */
Note:
See TracChangeset
for help on using the changeset viewer.
