IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 7, 2005, 6:32:40 PM (21 years ago)
Author:
eugene
Message:

cleanup, organization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/doc/psphot.txt

    r4954 r4977  
     1
     2TBD priorities:
     3
     4- test psImageSmooth / remove psImageSmooth_EAM
     5- unify pmSourceLocalSky / pmSourceLocalSky_EAM
     6- unify pmSourceMoments_EAM / pmSourceMoments_EAM
     7- merge with image data hierarchy stuff
     8- better name for psPSF_Test
    19
    210Defined APIs:
    311
    4 pmMoments           *pmMomentsAlloc();
    5 pmModel             *pmModelAlloc();
    6 pmSource            *pmSourceAlloc();
    7 psVector            *pmFindVectorPeaks()
    8 psArray             *pmFindImagePeaks()
    9 psList              *pmCullPeaks()
    10 pmSource            *pmSourceLocalSky()
    11 bool                 pmSourceMoments()
    12 pmPSFClump           pmSourcePSFClump()
    13 bool                 pmSourceRoughClass()
    14 bool                 pmSourceSetPixelsCircle()
    15 pmModel             *pmSourceModelGuess()
    16 psArray             *pmSourceContour()
    17 bool                 pmSourceFitModel()
    18 bool                 pmSourceAddModel()
    19 bool                 pmSourceSubModel()
    20 int                  pmModelParameterCount ();
    21 char                *pmModelGetType ();
    22 pmModelType          pmModelSetType ();
    23 pmModelFunc          pmModelFunc_GetFunction ();
    24 pmModelFlux          pmModelFlux_GetFunction ();
    25 pmModelRadius        pmModelRadius_GetFunction ();
    26 pmModelLimits        pmModelLimits_GetFunction ();
    27 pmModelGuessFunc     pmModelGuessFunc_GetFunction ();
    28 pmModelFromPSFFunc   pmModelFromPSFFunc_GetFunction ();
    29 pmModelFitStatusFunc pmModelFitStatusFunc_GetFunction ();
     12top-level psphot functions : these do not need to be in psModules
     13  psMetadata  *psphotArguments ();
     14  psImageData *psphotSetup ();
     15  psStats     *psphotImageStats ();
     16  psArray     *pmPeaksSigmaLimit ();
     17  psArray     *psphotSourceStats ();
     18  pmPSF       *psphotChoosePSF ();
     19  bool         psphotApplyPSF ();
     20  bool         psphotFitGalaxies ();
     21  void         psphotOutput ();
     22
     23psphot-specific functions
     24  bool         psphotMarkPSF ();
     25  bool         psphotSubtractPSF ();
     26  int          psphotSortBySN ();
     27  int          psphotSaveImage ();
     28
     29** add the following entries to the psLibSDRS
     30
     31psLib extra utilities
     32  bool         psTimerStart ();         - already in SDRS
     33  void         psTimerFree ();          - already in SDRS
     34  bool         psTimerClear ();         - add to psLibSDRS
     35  psF64        psTimerMark ();          - already in SDRS
     36  psS32        psLogArguments ();       - now: psArgumentVerbosity in SDRS
     37  psS32        psTraceArguments ();     - now: psArgumentVerbosity in SDRS
     38  int          psArgumentGet ();        - already in SDRS
     39  int          psArgumentRemove ();     - already in SDRS
     40  psVector    *psVectorCreate ();       - add to psLibSDRS
     41  int          psImageCountPixelMask ();- add to psLibSDRS
     42  psVector    *psGetRowVectorFromImage(); - add to psLibSDRS?
     43  bool         p_psVectorPrintRow ();     - add to psLibSDRS?
     44
     45// basic image functions
     46  bool         psImageInit ();          - already in SDRS
     47  void         psImageSmooth_EAM ();    - test psLib version and drop
     48
     49// psLine functions
     50  psLine      *psLineAlloc ();          - add to psLibSDRS
     51  bool         psLineInit ();           - add to psLibSDRS
     52  bool         psLineAdd ();            - add to psLibSDRS
     53
     54** compare with current implementation / update psLib
     55   we need to define a mechanism to carry the beta values and the
     56   parameter limits
     57
     58// minimize
     59  psBool       p_psMinLM_GuessABP_EAM ();
     60  psBool       psMinimizeLMChi2_EAM();
     61  psF64        p_psMinLM_dLinear ();  -- not included in pslib.h files
     62
     63** already in psLib : some need to be cleaned up by MHPCC
     64
     65// polynomial functions
     66  psF64           Polynomial2DEval();
     67  psImage        *psBuildSums2D();
     68  psPolynomial2D *VectorFitPolynomial2DOrd_EAM();
     69  psPolynomial2D *Polynomial2DAlloc();
     70  void            psPolynomial2DDump ();
     71  psPolynomial2D *RobustFit2D_nomask();
     72  psPolynomial2D *RobustFit2D();
     73  psVector       *Polynomial2DEvalVector();
     74
     75  psVector       *psBuildSums1D();
     76  void            psPolynomial1DDump ();
     77  psF64           Polynomial1DEval_EAM();
     78  psVector       *Polynomial1DEvalVector_EAM();
     79  psPolynomial1D *Polynomial1DAlloc();
     80  psPolynomial1D *VectorFitPolynomial1DOrd_EAM();
     81
     82** make sure these are all in the psModules SDRS:
     83
     84pmObjects.h:
     85  pmMoments           *pmMomentsAlloc();
     86  pmModel             *pmModelAlloc();
     87  pmSource            *pmSourceAlloc();
     88  psVector            *pmFindVectorPeaks()
     89  psArray             *pmFindImagePeaks()
     90  psList              *pmCullPeaks()
     91  pmSource            *pmSourceLocalSky()
     92  bool                 pmSourceMoments()
     93  pmPSFClump           pmSourcePSFClump()
     94  bool                 pmSourceRoughClass()
     95  bool                 pmSourceSetPixelsCircle()
     96  pmModel             *pmSourceModelGuess()
     97  psArray             *pmSourceContour()
     98  bool                 pmSourceFitModel()
     99  bool                 pmSourceAddModel()
     100  bool                 pmSourceSubModel()
     101  int                  pmModelParameterCount ();
     102  char                *pmModelGetType ();
     103  pmModelType          pmModelSetType ();
     104  pmModelFunc          pmModelFunc_GetFunction ();
     105  pmModelFlux          pmModelFlux_GetFunction ();
     106  pmModelRadius        pmModelRadius_GetFunction ();
     107  pmModelLimits        pmModelLimits_GetFunction ();
     108  pmModelGuessFunc     pmModelGuessFunc_GetFunction ();
     109  pmModelFromPSFFunc   pmModelFromPSFFunc_GetFunction ();
     110  pmModelFitStatusFunc pmModelFitStatusFunc_GetFunction ();
    30111
    31112model function abstractions:
     
    37118  typedef bool (*pmModelFromPSFFunc)(pmModel *modelPSF, pmModel *modelFLT, pmPSF *psf);
    38119  typedef bool (*pmModelFitStatusFunc)(pmModel *model);
     120
     121conversions between elliptical shape representations
     122  EllipseAxes  EllipseMomentsToAxes ();
     123  EllipseShape EllipseAxesToShape ();
     124  EllipseAxes  EllipseShapeToAxes ();
     125
     126output functions
     127  bool         pmSourcesWriteText ();   -- be careful about psImageData...
     128  bool         pmSourcesWriteOBJ ();    -- be careful about psImageData...
     129  bool         pmSourcesWriteCMP ();    -- be careful about psImageData...
     130  bool         pmSourcesWriteCMF ();    -- be careful about psImageData...
     131  bool         pmSourcesWriteSX ();     -- be careful about psImageData...
     132  int          pmSourcesDophotType ();
     133  bool         pmPeaksWriteText ();
     134  bool         pmMomentsWriteText ();
     135  bool         pmModelWritePSFs ();
     136  bool         pmModelWriteFLTs ();
     137  bool         pmModelWriteNULLs ();
     138
     139// psf utilities
     140  pmPSF       *pmPSFAlloc ();
     141  pmPSF_Test  *pmPSF_TestAlloc ();
     142  pmPSF_Test  *pmPSF_TestModel ();
     143  bool         pmPSFFromModels ();
     144  pmModel     *pmModelFromPSF ();
     145  bool         pmSourcePhotometry ();
     146  bool         pmPSFMetricModel ();
     147
     148// psModule extra utilities
     149  bool         pmSourceFitModel_EAM();  -- requires updated version of psMinimize...
     150  bool         pmSourceLocalSky_EAM (); -- compare with pmSourceLocalSky & choose
     151  bool         pmSourceMoments_EAM();   -- compare with pmSourceMoments & choose
     152  bool         pmSourceDefinePixels();  -- be careful about psImageData...
     153  bool         pmModelFitStatus ();
     154  int          pmSourceDophotType ();
     155  psF32        pmConfigLookupF32 ();    -- merge with Paul's image container hierarchy
     156
     157** this needs to be confronted with the phase2 / image container hierarchy
     158
     159// psImageData functions
     160  psImageData *psImageDataAlloc ();
Note: See TracChangeset for help on using the changeset viewer.