IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 1, 2009, 11:55:34 AM (17 years ago)
Author:
eugene
Message:

re-factored ppSubReadout into a sequence of logical steps; defined convolved images as their own pmFPAfiles; switched to new psphot functions (psphotReadoutFindPSF and psphotReadoutMinimal); simplified mask and psphot visualization handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubLoop.c

    r20117 r21257  
    1 #ifdef HAVE_CONFIG_H
    2 #include <config.h>
    3 #endif
    4 
    5 #include <stdio.h>
    6 #include <string.h>
    7 #include <pslib.h>
    8 #include <psmodules.h>
    9 #include <ppStats.h>
    10 
    111#include "ppSub.h"
    122
     
    2818        }
    2919        psFree(resolved);
    30     }
    31 
    32     if (!pmConfigMaskSetBits(NULL, NULL, config)) {
    33         psError(PS_ERR_UNKNOWN, false, "Unable to determine mask value.");
    34         return false;
    3520    }
    3621
     
    141126                    return false;
    142127                }
    143                 ppStatsFPA(stats, output->fpa, view, pmConfigMaskGet("MASK.VALUE", config), config);
     128                psImageMaskType maskValue = pmConfigMaskGet("MASK.VALUE", config);
     129                ppStatsFPA(stats, output->fpa, view, maskValue, config);
    144130            }
    145131
Note: See TracChangeset for help on using the changeset viewer.