IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 21, 2021, 2:04:53 PM (5 years ago)
Author:
eugene
Message:

I have stripped out all flatcorr references : flat correction is applied by setphot

File:
1 edited

Legend:

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

    r41604 r41606  
    4545  if (!UPDATE) dvo_image_unlock (&db);
    4646
    47   FlatCorrectionTable *flatcorr = NULL; // no longer used here
    48 
    4947  initGridBins (); // allocates the empty array of corrections (elements are build below)
    5048
     
    8078    setExclusions (catalog, Ncatalog, TRUE);
    8179
    82     global_stats (catalog, Ncatalog, flatcorr, 0);
     80    global_stats (catalog, Ncatalog, 0);
    8381
    8482    if (PLOTSTUFF) {
     
    9189      SetZptIteration (i);
    9290
    93       setMrel  (catalog, Ncatalog, flatcorr); // threaded
     91      setMrel  (catalog, Ncatalog); // threaded
    9492
    95       setMcal  (catalog, flatcorr);
    96       setMmos  (catalog, flatcorr);
    97       setMgrp  (catalog, flatcorr);
     93      setMcal  (catalog);
     94      setMmos  (catalog);
     95      setMgrp  (catalog);
    9896
    9997      setMgrid (catalog, Ncatalog);
     
    10199   
    102100      if (PLOTSTUFF) {
    103         plot_scatter (catalog, Ncatalog, flatcorr);
     101        plot_scatter (catalog, Ncatalog);
    104102        plot_mosaics ();
    105103        plot_images ();
     
    108106      }
    109107
    110       global_stats (catalog, Ncatalog, flatcorr, i);
     108      global_stats (catalog, Ncatalog, i);
    111109      SetZeroPointModes ();
    112110
     
    116114
    117115    if (PLOTSTUFF) {
    118       plot_scatter (catalog, Ncatalog, flatcorr);
     116      plot_scatter (catalog, Ncatalog);
    119117      plot_mosaics ();
    120118      plot_images ();
     
    162160     clients */
    163161  if (!CALIBRATE_STACKS_AND_WARPS) {
    164     reload_catalogs (skylist, flatcorr, 0, NULL);
     162    reload_catalogs (skylist, 0, NULL);
    165163    MARKTIME("-- updated all catalogs: %f sec\n", dtime);
    166164  }
Note: See TracChangeset for help on using the changeset viewer.