- Timestamp:
- Dec 6, 2024, 1:28:47 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/extsrc/gpcsw/gpcsrc/fits/burntool/burntool.c
r42392 r42753 29 29 HeaderUnit ehu; 30 30 const char* ifilename = "-"; 31 char extname[FH_MAX_STRLEN+1], otaposn[FH_MAX_STRLEN+1] ;31 char extname[FH_MAX_STRLEN+1], otaposn[FH_MAX_STRLEN+1], *camera="gpc1"; 32 32 int cellmask[MAXCELL]; 33 33 int otanum; … … 176 176 } else if(strncmp(argv[i], "infits=", 7) == 0) { /* infits=fname */ 177 177 persistfitsfile = argv[i] + 7; 178 179 /* Input camera keyword (optional) */ 180 } else if(strncmp(argv[i], "camera=", 7) == 0) { /* camera=fname */ 181 camera = argv[i] + 7; 178 182 179 183 /* Keep persistence streaks which had a bad slope? */ … … 577 581 /* Use the table-driven fits instead of calculating new ones */ 578 582 burn_apply(naxis1-ovrscan1, naxis2-ovrscan2, naxis1, 579 buf, OTA+cell );583 buf, OTA+cell,camera); 580 584 /* Tell us about it? */ 581 585 if(VERBOSE & VERB_NORM) burn_blab(OTA+cell); … … 584 588 /* Restore the old burns */ 585 589 burn_restore(naxis1-ovrscan1, naxis2-ovrscan2, naxis1, 586 buf, OTA+cell );590 buf, OTA+cell,camera); 587 591 588 592 } else { 589 593 /* Fix up the burns */ 590 594 burn_fix(naxis1-ovrscan1, naxis2-ovrscan2, naxis1, naxis2, buf, 591 OTA+cell, cell );595 OTA+cell, cell,camera); 592 596 593 597 /* Collect up a good star list */ … … 602 606 603 607 persist_fix(naxis1-ovrscan1, naxis2-ovrscan2, naxis1, buf, 604 OTA+cell );608 OTA+cell,camera); 605 609 /* Tell us about it? */ 606 610 if(VERBOSE & VERB_NORM) persist_blab(OTA+cell);
Note:
See TracChangeset
for help on using the changeset viewer.
