Changeset 11742 for trunk/Ohana/src/relastro
- Timestamp:
- Feb 11, 2007, 11:55:41 AM (19 years ago)
- Location:
- trunk/Ohana/src/relastro
- Files:
-
- 2 added
- 3 edited
-
doc/notes.txt (modified) (1 diff)
-
src/UpdateImages.c (added)
-
src/UpdateObjects.c (added)
-
src/args.c (modified) (1 diff)
-
src/relastro.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relastro/doc/notes.txt
r6822 r11742 1 1 2 2006.04.08 : relphot contemplations 2 2007.02.11 3 4 relastro major modes: 5 6 - update the astrometry of objects in the images 7 - load objects within a region 8 - foreach object 9 - calculate average R,D 10 - update db tables (dR, dD) 11 - include external trends 12 - parallax factor 13 - atm trends 14 15 - update the astrometric parameters of images 16 - use the average R,D for objects, update image terms 17 * include external refs with adjustable weighting 18 19 - image parameter smoothing 20 21 - simultaneous fit of objects and images 22 - identify parameters to constrain 23 - limited number of internal objects? 24 25 26 2006.04.08 : relastro contemplations 3 27 4 28 relastro will perform the astrometry equivalent to relphot. For -
trunk/Ohana/src/relastro/src/args.c
r8390 r11742 171 171 remove_argument (N, &argc, argv); 172 172 ImagSelect = TRUE; 173 } 174 175 /* possible operations */ 176 UpdateObjects = FALSE; 177 if ((N = get_argument (argc, argv, "-update-objects"))) { 178 remove_argument (N, &argc, argv); 179 UpdateObjects = TRUE; 180 } 181 UpdateImages = FALSE; 182 if ((N = get_argument (argc, argv, "-update-images"))) { 183 remove_argument (N, &argc, argv); 184 UpdateImages = TRUE; 173 185 } 174 186 -
trunk/Ohana/src/relastro/src/relastro.c
r8395 r11742 1 # include "rel phot.h"1 # include "relastro.h" 2 2 3 3 int main (int argc, char **argv) { … … 50 50 } 51 51 52 /* determine fit values */ 53 for (i = 0; i < NLOOP; i++) { 54 setMrel (catalog, Ncatalog); 55 setMcal (catalog, FALSE); 56 setMmos (catalog, FALSE); 57 setMgrid (catalog); 58 59 if (PLOTSTUFF) { 52 /* major modes */ 53 if (UpdateObjects) { 54 UpdateObjects (catalog, Ncatalog); 55 } 56 if (UpdateImages) { 57 UpdateImages (catalog, Ncatalog); 58 } 59 60 /* put these types of functions inside the update functions 60 61 plot_scatter (catalog, Ncatalog); 61 62 plot_grid (catalog); … … 64 65 plot_stars (catalog, Ncatalog); 65 66 plot_chisq (catalog, Ncatalog); 66 } 67 if ((i == 1) || (i == 5) || (i == 9) || (i == 13)) clean_measures (catalog, Ncatalog, FALSE); 68 if ((i == 2) || (i == 6) || (i == 10) || (i == 14)) clean_stars (catalog, Ncatalog); 69 if ((i == 4) || (i == 8) || (i == 12) || (i == 16)) clean_mosaics (catalog, Ncatalog); 70 if ((i == 4) || (i == 8) || (i == 12) || (i == 16)) clean_images (); 71 global_stats (catalog, Ncatalog); 72 } 67 */ 73 68 74 SAVEPLOT = TRUE;75 plot_scatter (catalog, Ncatalog);76 plot_grid (catalog);77 plot_mosaics ();78 plot_images ();79 plot_stars (catalog, Ncatalog);80 plot_chisq (catalog, Ncatalog);81 82 if (USE_GRID) dump_grid ();83 69 if (!UPDATE) exit (0); 84 70 85 /* set Mcal & Mmos for bad images */ 86 setMcal (catalog, TRUE); 87 setMmos (catalog, TRUE); 88 89 /* at this point, we have correct cal coeffs in the image/mosaic structures */ 90 for (i = 0; i < Ncatalog; i++) dvo_catalog_free (&catalog[i]); 91 freeImageBins (Ncatalog); 92 freeMosaicBins (Ncatalog); 93 freeGridBins (Ncatalog); 94 95 /* load catalog data from region files, update Mrel include all data */ 96 reload_catalogs (skylist); 97 setMcalFinal (); 71 /* need to figure out how to update images, etc */ 98 72 dvo_image_update (&db, VERBOSE); 99 73 dvo_image_unlock (&db);
Note:
See TracChangeset
for help on using the changeset viewer.
