Changeset 33362
- Timestamp:
- Feb 24, 2012, 7:51:06 AM (14 years ago)
- Location:
- branches/eam_branches/ipp-20111122/Ohana/src/uniphot/src
- Files:
-
- 2 edited
-
initialize_setphot.c (modified) (4 diffs)
-
load_zpt_table.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/uniphot/src/initialize_setphot.c
r33329 r33362 1 1 # include "setphot.h" 2 3 static char *ZPT_OFFSETS_FILTERS = NULL; 4 static char *ZPT_OFFSETS_VALUES = NULL; 2 5 3 6 void initialize_setphot (int argc, char **argv) { … … 22 25 exit (1); 23 26 } 27 28 // if we have a zpt offset list, parse it here 29 parse_zpt_offsets (ZPT_OFFSETS_FILTERS, ZPT_OFFSETS_VALUES); 24 30 } 25 31 … … 86 92 // -zpt-offsets code[,code,etc] value[,value,etc] 87 93 // eg: -zpt-offsets g,r,i 0.01,0.02,-0.02 88 char *ZPT_OFFSETS_FILTERS = NULL;89 char *ZPT_OFFSETS_VALUES = NULL;90 94 if ((N = get_argument (argc, argv, "-zpt-offsets"))) { 91 95 remove_argument (N, &argc, argv); … … 94 98 ZPT_OFFSETS_VALUES = strcreate (argv[N]); 95 99 remove_argument (N, &argc, argv); 96 97 parse_zpt_offsets (ZPT_OFFSETS_FILTERS, ZPT_OFFSETS_VALUES);98 100 } 99 101 -
branches/eam_branches/ipp-20111122/Ohana/src/uniphot/src/load_zpt_table.c
r33329 r33362 358 358 int parse_zpt_offsets (char *ZPT_OFFSET_FILTERS, char *ZPT_OFFSET_VALUES) { 359 359 360 if (!ZPT_OFFSET_FILTERS) return TRUE; 360 361 assert (ZPT_OFFSET_FILTERS); 361 362 assert (ZPT_OFFSET_VALUES);
Note:
See TracChangeset
for help on using the changeset viewer.
