- Timestamp:
- Feb 22, 2007, 4:05:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dvo-mods-2007-02/Ohana/src/libdvo/doc/dvo-structures.txt
r11742 r12008 1 2 2007.02.22 3 4 I have several DVO improvements to implement. I need to plan them a 5 bit carefully. Here are my thoughts on these updates. 6 7 - add chip X,Y to measure table 8 9 this is a fairly simple addition. In addstar/find_matches, I just need 10 to assign the X,Y value from the incoming star data. For loading 11 old catalogs which don't include X,Y in the table, I need to 12 calculate the X,Y position based on the R,D after finding the 13 matching image. I have code to do this calculation currently in 14 dvo/photometry.c for looking up X,Y on the fly. once this is moved 15 into the load functions, it will not be needed in photometry.c 16 17 - remove PRI/SEC and only use secfilt table for mags 18 19 this is not a very difficult change, conceptually, but it may be a 20 fair amount of work. all of the functions which currently switch on 21 the case of PRI/SEC just need to look in the secfilt location. the 22 value of Nsec needs to increase by 1. the load from tables which 23 used PRI/SEC need to move the PRI values to the correct location in 24 secfilt 25 26 eventually, rename 'secfilt' to a better name choice 27 28 - add image, average, measure IDs 29 30 for PS1, the image and measure need to be generated by the external 31 software. they would just be part of the input stream. for the 32 case were the IDs are not supplied, DVO needs to generate them in a 33 unique way. I probably need to understand / define that mechanism 34 before tackling this problem. 35 36 one point: I need to keep the old averef index. how do this index 37 and the objID work together? 38 39 - link measure to image 40 41 temporariliy use an index like averef? 42 43 - move photcode table to catdir (also zero points) 44 45 should be fairly easy: just like the SkyTable, look in the catdir 46 first, then generate from the default text table if it is missing. 47 48 - color term as a function of mosaic position 49 50 - mextract field,field,field 51 52 this should not be a very difficult job. just add a loop to the 53 avextract / mextract functions. 54 55 - mextract field(s) where condition 56 57 this is a bit trickier, and could make use of the code in the dvo 58 math functions 59 60 - dvo select from mysql 61 62 not very difficult: need to define the commands to select the 63 database and set up a connection, then parse the select line into 64 the appropriate format. just need to as the db for the type of the 65 fields that are requested: must be numerical. 66 67 select field,field,field from table where condition 68 69 - change vectors to doubles 70 71 probably not a terrible job. this will depend on how the union is 72 defined. I don't want this to explode the size of an image! 73 74 --------- 1 75 2 76 I now have the ability to load and save DVO databases in old formats,
Note:
See TracChangeset
for help on using the changeset viewer.
