Changeset 11742
- Timestamp:
- Feb 11, 2007, 11:55:41 AM (19 years ago)
- Location:
- trunk/Ohana/src
- Files:
-
- 2 added
- 5 edited
-
libautocode/def/average.d (modified) (1 diff)
-
libdvo/doc/dvo-structures.txt (modified) (1 diff)
-
relastro/doc/notes.txt (modified) (1 diff)
-
relastro/src/UpdateImages.c (added)
-
relastro/src/UpdateObjects.c (added)
-
relastro/src/args.c (modified) (1 diff)
-
relastro/src/relastro.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libautocode/def/average.d
r6992 r11742 32 32 # this structure should only be used for internal representations 33 33 # the average-FORMAT structures should be used for external representations 34 # note that the average magnitudes are stored in the 'secfilt' table (change this name??) 35 # the index for the secfilt table is just Nsecfilt times the index for the average table. -
trunk/Ohana/src/libdvo/doc/dvo-structures.txt
r6245 r11742 1 2 I now have the ability to load and save DVO databases in old formats, 3 with automatic conversion to the current 'internal' representations 4 for the average, measure, and image tables. an important concern with 5 this process is ensuring that we track the old layout names and avoid 6 breaking existing databases. Here is a list of old databases, some of 7 which may not have been written with the right names, or with 8 inaccurate names. these can be fixed by setting the FORMAT and MODE 9 header keywords with the 'fits_insert' command: 10 11 - LONEOS : old-style cmp files (ie, RAW), with the 'LONEOS' format. 12 - CFHT Elixir databases: cmp files, ELIXIR format 13 - Brandon's Taurus db: incorrect 'PANSTARRS' format, should be called 14 'PSTEST1' 15 16 I am going to use the following naming convention for future db table 17 updates: 18 19 - PANSTARRS.PS1.0, PANSTARRS.PS1.1, etc 20 - PANSTARRS.PS4.0, PANSTARRS.PS4.1, etc 21 22 The next version of the DVO format needs several major changes: 23 24 - unique IDs in the measure and average tables. 25 - reference to the source image in the measure table. 26 - chip X,Y coordinates and errors in the measure table 27 - remove primary average magnitude from average.d and only use 28 the secfilt.d table for the average magnitudes 29 30 These are fairly substantial modifications. Can I do these changes on 31 an appropriate timescale to get Dave Monet working with relastro? Is 32 it necessary to do these all at once? 33 34 ------ 1 35 2 36 DVO has undergone at least two bit-incompatible versions of the data -
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.
