IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41535 for trunk/psModules


Ignore:
Timestamp:
Apr 3, 2021, 2:22:46 PM (5 years ago)
Author:
eugene
Message:

minor comments and unused test lines

Location:
trunk/psModules/src/camera
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAAstrometry.c

    r13791 r41535  
    33#include "pmFPAAstrometry.h"
    44#include "pmFPA.h"
     5
     6/**********
     7
     8            EAM : this file is not included in the psModules build
     9            alternative versions are defined by psastroMaskUtils.c
     10
     11 *********/
    512
    613
     
    105112
    106113
     114// EAM : this function does not handle non-linear transformations.  is it used?
    107115pmCell* pmCellInChip(
    108116    const psPlane* chipCoord,
     
    233241}
    234242
     243// EAM : this function does not handle non-linear transformations.  is it used?
    235244psPlane* pmCoordChipToCell(
    236245    psPlane* cellCoord,
  • trunk/psModules/src/camera/pmFPAfile.c

    r36834 r41535  
    3838    psTrace ("pmFPAfileFree", 5, "freeing %s %p\n", file->name, file->fits);
    3939    psAssert(!fpaFileFreeStrict || file->fits == NULL, "File %s wasn't closed.", file->name);
     40
     41    int testFile = FALSE;                                                       
     42    testFile = testFile || !strcmp(file->name, "GDIFF.OUTPUT.SOURCES");
     43    testFile = testFile || !strcmp(file->name, "GDIFF.POS1.SOURCES");   
     44    testFile = testFile || !strcmp(file->name, "GDIFF.POS2.SOURCES");   
     45    if (FALSE && testFile) {                                                   
     46      fprintf (stderr, "%s : %d : %d", file->name, file->state, file->mode);
     47      fprintf (stderr, "\n");
     48    }
    4049
    4150    psTrace ("pmFPAfileFree", 5, "freeing %s\n", file->name);
  • trunk/psModules/src/camera/pmFPAfileIO.c

    r36856 r41535  
    6262
    6363#include "pmFPAfileIO.h"
     64
     65void CatchTestFile (pmFPAfile *file, const char *function) {
     66
     67  int testFile = FALSE;                                                 
     68  testFile = testFile || !strcmp(file->name, "GDIFF.OUTPUT.SOURCES");   
     69  testFile = testFile || !strcmp(file->name, "GDIFF.POS1.SOURCES");     
     70  testFile = testFile || !strcmp(file->name, "GDIFF.POS2.SOURCES");     
     71  if (FALSE && testFile) {                                                     
     72    fprintf (stderr, "%s : %d : %d (%s)", file->name, file->state, file->mode, function);
     73    fprintf (stderr, "\n");
     74  }
     75}
    6476
    6577// attempt create, read, write, close, or free pmFPAfiles available in files files are
Note: See TracChangeset for help on using the changeset viewer.