IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 28, 2015, 8:29:33 PM (11 years ago)
Author:
eugene
Message:

add -stilts option; fix stilts and regex for detectionbatch; add tableprefix option for stacks; alter photcode.type to type_as_int

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/detectionbatch.py

    r38973 r38995  
    844844        self.updateDvoIDs("Detection_" + chipname, self.imageIDs[chipname])
    845845        self.logger.info("updated dvoids")
     846
    846847        results['NULLOBJID'] = self.scratchDb.reportAndDeleteRowsWithNULLS("Detection_" + chipname, "objID")
    847848        self.logger.info("deleted nulls")
     
    10601061    def importIppTables(self, filter=""):
    10611062       
    1062         ## XXX does the regex work?
    1063         regex = "XY*"
     1063        ## regex only works for -stilts import
     1064        regex = ".*"
    10641065   
    10651066        ## for a quick test, just do the first chip:
     
    10761077            columns = "IPP_IDET X_PSF Y_PSF X_PSF_SIG Y_PSF_SIG POSANGLE PLTSCALE PSF_INST_FLUX PSF_INST_FLUX_SIG PSF_FWHM_MAJ PSF_FWHM_MIN PSF_THETA PSF_CORE PSF_QF PSF_QF_PERFECT PSF_CHISQ EXT_NSIGMA MOMENTS_XX MOMENTS_XY MOMENTS_YY MOMENTS_R1 MOMENTS_RH MOMENTS_M3C MOMENTS_M3S MOMENTS_M4C MOMENTS_M4S AP_FLUX AP_FLUX_SIG AP_NPIX AP_MAG_RADIUS KRON_FLUX KRON_FLUX_ERR SKY SKY_SIGMA FLAGS FLAGS2"
    10771078
    1078             #### crap crap crap
    1079 
    1080         ## this is apparently over-riding the choices above
    1081         ## regex = ".*"
    1082 
    10831079        ## the list of columns above works fine for *.psf, but breaks the *.deteff tables
    10841080        ## just read all columns
Note: See TracChangeset for help on using the changeset viewer.