IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of Fake


Ignore:
Timestamp:
Apr 14, 2009, 9:42:15 PM (17 years ago)
Author:
rodney
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Fake

    v1 v1  
     1In the fake stage we inject synthetic objects into real images, then run photometry on the images to test the detection efficiency and photometric accuracy.  Fake is initiated after the camera processing, before the warp stage.  The core of the fake processing is handled by ppSim.
     2
     3== ppSim ==
     4([source:trunk/ppSim source code])
     5
     6
     7
     8=== configuration ===
     9
     10Edit the {{{ppSim.config}}} file in the {{{recipes}}} configuration directory.  The principal recipes are:
     11
     12ADDFAKES : just insert the fake objects, don't do any photometry.
     13
     14FAKEPHOT : insert fake objects and perform photometry.
     15
     16=== description ===
     17
     18When injecting fake objects, ppSim can use two types of stars:
     19
     20 1. fake stars at known positions, based on a lookup with getstar to a DVO database defined by PSASTRO.CATDIR
     21 2. fake stars at fake positions, generated randomly with luminosity distribution based on the recipe -- at the moment, it is tied to the density of stars above, but needs to be adjusted to handle a flat distribution (see ppSimMakeStars.c:106)
     22
     23
     24In addition, ppSim is performing photometry in two possible ways:
     25
     26 1. at the locations of the injected fake stars (PHOTOM = true)
     27 2. at a collection of pre-specified locations (not at the location of fake sources), selected from a DVO database defined by FORCED.CATDIR (FORCED.PHOT = true)
     28
     29it seems that ppSimLoadSpots.c does not handle the case that
     30FORCED.PHOT = true, but the FORCED.CATDIR does not exist.  (or maybe
     31the error is the right thing: if you ask for it, you should at least
     32have an empty dvo db there).
     33
     34=== example ===
     35
     36ppSim outfile -seeing 1.00 -input SIMTEST/work/simtest.005.002.75/simtest.005.002.75.ch.15.ch.fits -cmf SIMTEST/work/simtest.005.002.75/simtest.005.002.75.ch.15.ch.cmf -psf SIMTEST/work/simtest.005.002.75/simtest.005.002.75.ch.15.psf -recipe PPSIM FAKEPHOT