Changeset 18011 for trunk/ppSim/notes.txt
- Timestamp:
- Jun 8, 2008, 4:03:31 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppSim/notes.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSim/notes.txt
r14657 r18011 1 2 3 2008.05.17 4 5 pmFPAfiles used in ppSim: 6 7 PPSIM.INPUT : an input image loaded by ppSim; the simulated features 8 may be added to this image. In fact, the features are 9 generated in the output image, and the two images are 10 added (as images) together. 11 12 PPSIM.OUTPUT : the output image. this file is used for the main 13 ppSimLoop function 14 15 PPSIM.CHIP : chip-mosaiced version of the output image. only 16 generated if photometry is requested. Is this 17 actually used as an output image? 18 19 PPSIM.REAL.SOURCES : real sources loaded by PPSIM. these sources 20 are subtracted from the image before testing 21 for the detectability of the fake sources and 22 before measuring the flux of fake or forced 23 soures. They should be the sources measured in 24 a previous psphot run, though any input list 25 could be used. Results are very ill-defined if 26 the sources do not correspond to actual image 27 sources! 28 29 PSPHOT.PSF.LOAD : input PSF model used to measure the input sources 30 31 PPSIM.SOURCES : output fake sources (injected fake sources with real values) 32 PPSIM.FAKE.SOURCES : output fake photometry (measured photometry for all fake sources) 33 PPSIM.FORCE.SOURCES : output force photometry 34 35 ** used within psphot functions: 36 PSPHOT.BACKMDL : model background generated by psphotModelBackground 37 PSPHOT.BACKMDL.STDEV : model background error generated by psphotModelBackground 38 PSPHOT.BACKGND : full-scale model background generated by psphotSubtractBackground 39 PSPHOT.BACKSUB : background-subtracted image 40 41 2008.05.15 42 43 For fake and force photometry, we need to load the known existing 44 sources, then perform a complete linear fit solution to the complete 45 set of both real (known) sources plus the fake and/or forced 46 photometry positions (as PSFs). The fake and forced photometry 47 positions need to be measured independently. This provides the real 48 photometry for these sources ** in the presence of the other real 49 sources **. In order to test the detectability of the fake sources 50 (or the forced sources, for that matter), we need to generate the 51 smoothed detection image, and determine the peak value at the 52 positions of the sources. 53 54 ppSimPhotomReadout outline: 55 56 * we have three source lists (loaded before the function is called): 57 * realSources : these are loaded from a CMF-style file (or equiv) 58 * fakeSources : these are defined internally, and need a link from 59 the input fake source to the measured fake source 60 * forceSources : these are loaded from a DVO database via getstar 61 62 * we require a supplied PSF 63 64 * need to subtract the background (before or after subtracting the 65 sources?) 66 67 * subtract the real sources 68 * model the background 69 * build the detection image 70 * measure the detectability of the fake and force sources 71 * replace the real sources 72 73 * merge real + fake sources 74 * linear fit to merged source list 75 * replace the sources (make 'no-subtract' option?) 76 77 * merge real + forced sources 78 * linear fit to merged source list 79 * replace the sources (make 'no-subtract' option?) 80 81 1 82 2 83 ppSim development work still needed:
Note:
See TracChangeset
for help on using the changeset viewer.
