IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 21, 2021, 10:03:06 AM (5 years ago)
Author:
eugene
Message:

major revision of the photometric flat-field correction / grid analysis; strip out code which uses astrometric information to define the grid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/relphot.20210521/src/assign_images.c

    r41485 r41603  
    3636  if (MOSAIC_ZEROPT) {
    3737    makeMosaics (image, Nimage, FALSE);
    38 
    39     // center coords and Mcal, dMcal, Mchisq for the mosaics
     38    MARKTIME("set mosaic coordinates and Mcal values: %f sec\n", dtime);
     39
     40    // center coords and zero Mcal, dMcal, Mchisq for the mosaics
    4041    setMosaicCenters (image, Nimage);
    4142    MARKTIME("set mosaic coordinates and Mcal values: %f sec\n", dtime);
     
    124125      Mosaic *mosaic = getMosaicForImage (j);
    125126      if (mosaic) {
    126         Rc = mosaic->coords.crval1;
    127         Dc = mosaic->coords.crval2;
    128         // NOTE : have defined mosaic Rc,Dc to choose the side of 0,360 on which most of the
    129         // chips are located.  but, for host assignment, we rationalize to 0.0 - 360.0
    130         Rc = ohana_normalize_angle_to_midpoint (Rc, 180.0);
     127        Rc = mosaic->coords.crval1;
     128        Dc = mosaic->coords.crval2;
     129        // NOTE : have defined mosaic Rc,Dc to choose the side of 0,360 on which most of the
     130        // chips are located.  but, for host assignment, we rationalize to 0.0 - 360.0
     131        Rc = ohana_normalize_angle_to_midpoint (Rc, 180.0);
    131132      }
    132133    }
Note: See TracChangeset for help on using the changeset viewer.