IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 27, 2021, 11:41:52 AM (5 years ago)
Author:
eugene
Message:

consolidate reset operations for clarity

File:
1 edited

Legend:

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

    r41615 r41620  
    3838  MARKTIME("-- load image data: %f sec\n", dtime);
    3939
    40   /* load regions and images based on specified sky patch and/or catalog */
     40  // load regions and images based on specified sky patch and/or catalog
     41  // NOTE: load_images transfers zero points from images to mosaics (initMosaicMcal)
     42  // and to tgroups (initTGroupMcal), resetting the image zero points to 0.0.
     43
     44  // (if both tgroups and mosaics are used, the mosaics will hold the value and tgroups
     45  // will get values of 0.0.  This is not clearly the right way to go, but may not matter
     46  // if we reset everything).
     47
    4148  load_images (&db, skylist, &UserPatch, FALSE, USE_ALL_IMAGES);
    4249  MARKTIME("-- load images: %f sec\n", dtime);
     
    4552  if (!UPDATE) dvo_image_unlock (&db);
    4653
    47   initGridBins (); // allocates the empty array of corrections (elements are build below)
     54  initGridBins (); // allocates the empty array of corrections (elements are built below)
    4855
    4956  if (CALIBRATE_STACKS_AND_WARPS || (NLOOP > 0)) {
Note: See TracChangeset for help on using the changeset viewer.