IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32307


Ignore:
Timestamp:
Sep 4, 2011, 5:34:00 PM (15 years ago)
Author:
eugene
Message:

make the output cleaner

Location:
branches/eam_branches/ipp-20110710/psphot/src
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110710/psphot/src/psphotApResid.c

    r32238 r32307  
    99{
    1010    bool status = true;
     11
     12    fprintf (stdout, "\n");
     13    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Aperture Residuals ---");
    1114
    1215    // select the appropriate recipe information
  • branches/eam_branches/ipp-20110710/psphot/src/psphotBlendFit.c

    r32242 r32307  
    55{
    66    bool status = true;
     7
     8    fprintf (stdout, "\n");
     9    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Fit Sources (Non-Linear) ---");
    710
    811    // select the appropriate recipe information
  • branches/eam_branches/ipp-20110710/psphot/src/psphotChoosePSF.c

    r32238 r32307  
    55{
    66    bool status = true;
     7
     8    fprintf (stdout, "\n");
     9    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Choose PSF ---");
    710
    811    // select the appropriate recipe information
     
    443446            psVectorAppend (fwhmMinor, FWHM_MINOR);
    444447
    445             if (modelPSF->params->n >= 7) {
     448            if (modelPSF->params->n > 7) {
    446449              psVectorAppend (psfExtra1, modelPSF->params->data.F32[7]);
    447450            }
    448             if (modelPSF->params->n >= 8) {
     451            if (modelPSF->params->n > 8) {
    449452              psVectorAppend (psfExtra2, modelPSF->params->data.F32[8]);
    450453            }
  • branches/eam_branches/ipp-20110710/psphot/src/psphotEfficiency.c

    r32238 r32307  
    170170    bool status = true;
    171171
     172    fprintf (stdout, "\n");
     173    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Efficiency ---");
     174
    172175    // select the appropriate recipe information
    173176    psMetadata *recipe  = psMetadataLookupPtr (&status, config->recipes, PSPHOT_RECIPE);
  • branches/eam_branches/ipp-20110710/psphot/src/psphotFindDetections.c

    r31154 r32307  
    77{
    88    bool status = true;
     9
     10    fprintf (stdout, "\n");
     11    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Find Detections ---");
    912
    1013    // select the appropriate recipe information
  • branches/eam_branches/ipp-20110710/psphot/src/psphotFitSourcesLinear.c

    r32238 r32307  
    1717    bool status = true;
    1818
     19    fprintf (stdout, "\n");
     20    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Fit Source (Linear) ---");
     21
    1922    // select the appropriate recipe information
    2023    psMetadata *recipe  = psMetadataLookupPtr (&status, config->recipes, PSPHOT_RECIPE);
     
    2326    int num = psphotFileruleCount(config, filerule);
    2427
     28    // skip the chisq image (optionally?)
     29    int chisqNum = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.CHISQ.NUM");
     30    if (!status) chisqNum = -1;
     31
    2532    // loop over the available readouts
    2633    for (int i = 0; i < num; i++) {
     34        if (i == chisqNum) continue; // skip chisq image
    2735
    2836        // find the currently selected readout
  • branches/eam_branches/ipp-20110710/psphot/src/psphotKronIterate.c

    r32299 r32307  
    1212
    1313    // return true;
     14
     15    fprintf (stdout, "\n");
     16    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Kron Iterate ---");
    1417
    1518    // select the appropriate recipe information
  • branches/eam_branches/ipp-20110710/psphot/src/psphotMagnitudes.c

    r32238 r32307  
    44{
    55    bool status = true;
     6
     7    fprintf (stdout, "\n");
     8    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Magnitudes ---");
    69
    710    // select the appropriate recipe information
  • branches/eam_branches/ipp-20110710/psphot/src/psphotModelBackground.c

    r32288 r32307  
    413413    int num = psphotFileruleCount(config, filerule);
    414414
     415    fprintf (stdout, "\n");
     416    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Model Background ---");
     417
    415418    // loop over the available readouts
    416419    for (int i = 0; i < num; i++) {
  • branches/eam_branches/ipp-20110710/psphot/src/psphotRoughClass.c

    r32238 r32307  
    1111{
    1212    bool status = true;
     13
     14    fprintf (stdout, "\n");
     15    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Rough Class ---");
    1316
    1417    // select the appropriate recipe information
  • branches/eam_branches/ipp-20110710/psphot/src/psphotSourceSize.c

    r32205 r32307  
    4444{
    4545    bool status = true;
     46
     47    fprintf (stdout, "\n");
     48    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Source Size ---");
    4649
    4750    // select the appropriate recipe information
  • branches/eam_branches/ipp-20110710/psphot/src/psphotSourceStats.c

    r32238 r32307  
    99{
    1010    bool status = true;
     11
     12    fprintf (stdout, "\n");
     13    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Source Stats ---");
    1114
    1215    // select the appropriate recipe information
Note: See TracChangeset for help on using the changeset viewer.