IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 28, 2008, 8:20:44 AM (18 years ago)
Author:
Paul Price
Message:

Got photometry using the PSF determined from the sum of the convolved images --- works, but doesn't seem to fix the problem of finding objects in the noise.

File:
1 edited

Legend:

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

    r17813 r17819  
    142142            return false;
    143143        }
    144         if (input->type != PM_FPA_FILE_IMAGE) {
     144        if (psphot->type != PM_FPA_FILE_IMAGE) {
    145145            psError(PS_ERR_IO, true, "PSPHOT.INPUT is not of type IMAGE");
    146146            return false;
     
    151151            return false;
    152152        }
     153
     154        // Internal-ish file for getting the PSF from the matched addition
     155        pmFPAfile *psf = pmFPAfileDefineSkycell(config, output->fpa, "PSPHOT.PSF.LOAD");
     156        if (!psf) {
     157            psError(PS_ERR_IO, false, "Failed to build FPA from PSPHOT.PSF.LOAD");
     158            return false;
     159        }
     160        if (psf->type != PM_FPA_FILE_PSF) {
     161            psError(PS_ERR_IO, true, "PSPHOT.PSF.LOAD is not of type PSF");
     162            return false;
     163        }
     164        pmFPAfileActivate(config->files, false, "PSPHOT.PSF.LOAD");
     165
    153166    }
    154167
Note: See TracChangeset for help on using the changeset viewer.