Changeset 14286
- Timestamp:
- Jul 18, 2007, 8:46:02 AM (19 years ago)
- Location:
- trunk/Ohana/src/opihi/dvo
- Files:
-
- 3 edited
-
ImageSelection.c (modified) (3 diffs)
-
calmextract.c (modified) (1 diff)
-
dmagmeas.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/ImageSelection.c
r13479 r14286 9 9 10 10 /* load images based on parameters and region, etc */ 11 int SetImageSelection (int mo de, int RegionSelect) {11 int SetImageSelection (int mosaicMode, int RegionSelect) { 12 12 13 13 int Ngraph; … … 29 29 TimeSelect = GetTimeSelection (&tzero, &tend); 30 30 31 switch (mode) { 32 case MEAS_XCCD: 33 case MEAS_YCCD: 34 break; 35 case MEAS_XMOSAIC: 36 case MEAS_YMOSAIC: 31 if (mosaicMode) { 37 32 /* mosaic defines a frame with 0,0 at the mosaic center, and 1 arcsec / pixel */ 38 33 mosaic.crpix1 = mosaic.crpix2 = 0.0; … … 42 37 mosaic.Npolyterms = 0; 43 38 strcpy (mosaic.ctype, "RA---SIN"); 44 break;45 default:46 return (TRUE);47 39 } 48 40 -
trunk/Ohana/src/opihi/dvo/calmextract.c
r12332 r14286 69 69 /* load region corresponding to selection above */ 70 70 if ((skylist = SelectRegions (RegionName, RegionList)) == NULL) goto escape; 71 if (!SetImageSelection ( MEAS_XMOSAIC, ((RegionName == NULL) && (RegionList == NULL)))) goto escape;71 if (!SetImageSelection (TRUE, ((RegionName == NULL) && (RegionList == NULL)))) goto escape; 72 72 73 73 for (Nr = 0; Nr < skylist[0].Nregions; Nr++) { -
trunk/Ohana/src/opihi/dvo/dmagmeas.c
r12332 r14286 48 48 /* load region corresponding to selection above */ 49 49 if ((skylist = SelectRegions (RegionName, RegionList)) == NULL) goto escape; 50 if (!SetImageSelection ( param, ((RegionName == NULL) && (RegionList == NULL)))) goto escape;50 if (!SetImageSelection (((param == MEAS_XMOSAIC) || (param == MEAS_YMOSAIC)), ((RegionName == NULL) && (RegionList == NULL)))) goto escape; 51 51 52 52 /* init vectors to save data */
Note:
See TracChangeset
for help on using the changeset viewer.
