IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17955


Ignore:
Timestamp:
Jun 5, 2008, 4:05:16 PM (18 years ago)
Author:
Paul Price
Message:

Don't let psphot use a fake PSF --- a proper PSF is required for stacking.

Location:
trunk/pswarp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarp.h

    r15608 r17955  
    1 # ifdef HAVE_CONFIG_H
    2 # include <config.h>
    3 # endif
     1#ifdef HAVE_CONFIG_H
     2#include <config.h>
     3#endif
    44
    5 # include <stdio.h>
    6 # include <string.h>
    7 # include <strings.h>  // for strcasecmp
    8 # include <unistd.h>   // for unlink
    9 # include <pslib.h>
    10 # include <psmodules.h>
    11 # include <psphot.h>
     5#include <stdio.h>
     6#include <string.h>
     7#include <strings.h>  // for strcasecmp
     8#include <unistd.h>   // for unlink
     9#include <pslib.h>
     10#include <psmodules.h>
     11#include <psphot.h>
    1212
    13 # include "pswarpErrorCodes.h"
    14 # define PSWARP_RECIPE  "PSWARP" // Name of the recipe to use
    15 # define PSASTRO_RECIPE "PSASTRO" // Name of the recipe to use
     13#include "pswarpErrorCodes.h"
     14#define PSWARP_RECIPE  "PSWARP" // Name of the recipe to use
     15#define PSASTRO_RECIPE "PSASTRO" // Name of the recipe to use
    1616
    1717// a single pswarpMap converts coordinates from one image to a second image
  • trunk/pswarp/src/pswarpLoop.c

    r17781 r17955  
    1 # include "pswarp.h"
     1#include "pswarp.h"
    22#include <ppStats.h>
    33
     
    291291        psMetadataAddStr(psphotRecipe, PS_LIST_TAIL, "BREAK_POINT", PS_META_REPLACE,
    292292                         "Break point for psphot operations", "PSFMODEL");
     293        psMetadataAddBool(psphotRecipe, PS_LIST_TAIL, PSPHOT_RECIPE_PSF_FAKE_ALLOW, PS_META_REPLACE,
     294                          "Don't allow psphot to fit a fake PSF!", false);
    293295
    294296        // Get rid of the transformed sources so that we can measure the PSF
Note: See TracChangeset for help on using the changeset viewer.