IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2007, 1:42:41 PM (19 years ago)
Author:
magnier
Message:

added formatName to pmFPAfile (needed in some cases)
dropped const from pmConfig argument to pmFPAfileBindFromArgs
changed instances of psErrorStackPrint to psError (should only be used if we abort)
changed API names for pmPSFmodel I/O functions to put pmPSFmodel at front

File:
1 edited

Legend:

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

    r14206 r14647  
    2626#include "pmMoments.h"
    2727#include "pmResiduals.h"
     28#include "pmGrowthCurve.h"
     29#include "pmPSF.h"
    2830#include "pmModel.h"
    2931#include "pmSource.h"
    3032#include "pmSourceIO.h"
    31 #include "pmGrowthCurve.h"
    3233#include "pmResiduals.h"
    33 #include "pmPSF.h"
    3434#include "pmPSF_IO.h"
    3535#include "pmFPA_JPEG.h"
     
    188188        break;
    189189      case PM_FPA_FILE_PSF:
    190         status = pmFPAviewReadPSFmodel (view, file, config);
     190        status = pmPSFmodelReadForView (view, file, config);
    191191        break;
    192192      case PM_FPA_FILE_JPEG:
     
    335335    // (existing) fpa
    336336    if (file->type == PM_FPA_FILE_PSF) {
    337       if (!pmFPAviewCheckDataStatusForPSFmodel (view, file)) {
     337      if (!pmPSFmodelCheckDataStatusForView (view, file)) {
    338338        psTrace("psModules.camera", 6, "skip write for %s, no data for this entry", file->name);
    339339        return true;
     
    402402
    403403      case PM_FPA_FILE_PSF:
    404         status = pmFPAviewWritePSFmodel (view, file, config);
     404        status = pmPSFmodelWriteForView (view, file, config);
    405405        break;
    406406
     
    757757            return false;
    758758        }
     759        file->formatName = psStringCopy(config->formatName);
     760
    759761    } else {
    760762        bool valid;
     
    798800        break;
    799801      case PM_FPA_FILE_PSF:
    800         status = pmPSF_WritePHU (view, file, config);
     802        status = pmPSFmodelWritePHU (view, file, config);
    801803        break;
    802804      case PM_FPA_FILE_SX:
Note: See TracChangeset for help on using the changeset viewer.