IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20058


Ignore:
Timestamp:
Oct 10, 2008, 3:26:49 PM (18 years ago)
Author:
beaumont
Message:

Started to create psVisual.c

Location:
branches/cnb_branch_20081010/psastro/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/cnb_branch_20081010/psastro/src/Makefile.am

    r20043 r20058  
    2929        psastroDataSave.c           \
    3030        psastroMetadataStats.c      \
    31         psastroCleanup.c
     31        psastroCleanup.c           
    3232
    3333psastroModel_SOURCES = \
     
    5353        psastroErrorCodes.c         \
    5454        psastroVersion.c            \
     55        psastroVisual.c             \
    5556        psastroDefineFiles.c        \
    5657        psastroAnalysis.c           \
     
    8182        psastroZeroPoint.c          \
    8283        psastroDemoDump.c           \
    83         psastroDemoPlot.c
     84        psastroDemoPlot.c           
    8485
    8586include_HEADERS = \
  • branches/cnb_branch_20081010/psastro/src/psastro.h

    r20036 r20058  
    7171bool              psastroMosaicOneChip (pmChip *chip, pmReadout *readout, psMetadata *recipe, psMetadata *updates, int iteration);
    7272
     73// psastroVisual.c functions
     74bool psastroSetVisual (bool mode);
     75bool psastroVisualPlotLuminosityFunction (psVector *lnMag, psVector *Mag, pmLumFunc *lumFunc, pmLumFunc *rawFunc);
     76
     77
    7378// Return version strings.
    7479psString          psastroVersion(void);
  • branches/cnb_branch_20081010/psastro/src/psastroArguments.c

    r20043 r20058  
    3737        psArgumentRemove (N, &argc, argv);
    3838    }
    39    
     39
    4040    // apply the chip correction based on the reference astrometry?
    4141    if ((N = psArgumentGet (argc, argv, "-fixchips"))) {
     
    5151    status = pmConfigFileSetsMD (config->arguments, &argc, argv, "ASTROM.MODEL", "-astrommodel", "-astrommodellist");
    5252    if (status) {
    53         // if supplied, assume -fixchips is desired
     53        // if supplied, assume -fixchips is desired
    5454        psMetadataAddBool (config->arguments, PS_LIST_TAIL, "PSASTRO.FIX.CHIPS", PS_META_REPLACE, "", true);
    5555    }
     
    8888    }
    8989
     90    // show visual diagnostics?
     91    if ((N = psArgumentGet(argc, argv, "-visual"))) {
     92        psArgumentRemove (N, &argc, argv);
     93        psastroSetVisual (true);
     94    }
     95
    9096    status = pmConfigFileSetsMD (config->arguments, &argc, argv, "INPUT", "-file", "-list");
    9197    if (!status) {
  • branches/cnb_branch_20081010/psastro/src/psastroLuminosityFunction.c

    r20037 r20058  
    129129    lumFunc->sPeak = sPeak;
    130130
     131    psastroVisualPlotLuminosityFunction(lnMag, Mag, lumFunc, rawFunc);
    131132#if 0
    132133    psastroLuminosityFunctionPlot(lnMag, Mag, lumFunc, rawFunc);
Note: See TracChangeset for help on using the changeset viewer.