Changeset 2450
- Timestamp:
- Nov 24, 2004, 1:46:23 PM (22 years ago)
- Location:
- trunk/Ohana/src/imregister/detrend
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/imregister/detrend/args.detsearch.c
r73 r2450 266 266 } 267 267 268 output.Altpath = FALSE;268 output.Altpath = NONE; 269 269 if (N = get_argument (argc, argv, "-altpath")) { 270 270 if (output.Delete) { … … 273 273 } 274 274 remove_argument (N, &argc, argv); 275 output.Altpath = TRUE; 275 if (!strcasecmp (argv[N], "add")) output.Altpath = ADD; 276 if (!strcasecmp (argv[N], "delete")) output.Altpath = DELETE; 277 if (!strcasecmp (argv[N], "update")) output.Altpath = UPDATE; 278 if (!output.Altpath) { 279 fprintf (stderr, "invalid -altpath option\n"); 280 exit (1); 281 } 282 remove_argument (N, &argc, argv); 276 283 } 277 284 -
trunk/Ohana/src/imregister/detrend/imdef.c
r73 r2450 44 44 } 45 45 46 /* modes: a special case */47 if (descriptor[0].type == T_MODES) {48 descriptor[0].mode = M_MODES;49 descriptor[0].CCD = Nccd;50 descriptor[0].CCDSelect = TRUE;51 }52 53 46 /* identify MODE (MEF / SPLIT) */ 54 47 descriptor[0].mode = M_SPLIT; … … 63 56 fprintf (stderr, "warning: NEXTEND != Nccd (%d, %d)\n", Nextend, Nccd); 64 57 } 58 } 59 60 /* modes: a special case */ 61 if (descriptor[0].type == T_MODES) { 62 descriptor[0].mode = M_MODES; 63 descriptor[0].CCD = Nccd; 64 descriptor[0].CCDSelect = TRUE; 65 65 } 66 66 -
trunk/Ohana/src/imregister/detrend/output.c
r95 r2450 219 219 filtstr = filterhash[MIN (MAX (detdata[i].filter, 0), NFILTER - 1)]; 220 220 221 if ( detdata[i].mode == M_SPLIT) {221 if ((detdata[i].mode == M_SPLIT) && (detdata[i].ccd >= -1) && (detdata[i].ccd < Nccd)) { 222 222 ccdstr = ccds[detdata[i].ccd]; 223 223 } else { -
trunk/Ohana/src/imregister/detrend/unique.c
r12 r2450 96 96 97 97 if (crit[0].tstart > image[0].tstop) return (FALSE); 98 if (crit[0].tstop < image[0].tst op) return (FALSE);98 if (crit[0].tstop < image[0].tstart) return (FALSE); 99 99 100 100 /* we have overlapping time ranges. set crit[0] to have the
Note:
See TracChangeset
for help on using the changeset viewer.
