Changeset 26542 for branches/eam_branches/20091201/psphot/doc/stack.txt
- Timestamp:
- Jan 7, 2010, 5:07:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/psphot/doc/stack.txt
r24583 r26542 1 2 20100107 : updates for stack processing 3 4 I am building a new version of psphot that operates on a set of 5 images (eg, multi-filter or multi-epoch). The assumptions are: 6 7 * each input image represents the same sky pixels : they are warped to a common frame. 8 * each image has been previously processed, with the background 9 subtracted (and the psf model determined?) 10 * all planes are / can be loaded into memory at once (otherwise I 11 need to add a lot of I/O layers) 12 13 psphot currently expects the pmFPAfile of interest to be available in 14 config->files with the name PSPHOT.INPUT. To update the code for 15 stacks, I am extending this concept with the pmFPAfileSelectSingle 16 API: config->files may contain multiple PSPHOT.INPUT entries, and 17 functions which access this file / these files need to specify 18 *which* image they want. The number of PSPHOT.INPUT entries is 19 saved in config->arguments as PSPHOT.INPUT.NUM (this can be 20 generated from the filerule PSPHOT.INPUT for extension). 21 22 As a result, we need a number of wrapper functions which loop over 23 all PSPHOT.INPUT.NUM entries and perform a particular operation on 24 one of the entries. Here are the functions which I have modified 25 in this way (function -> child) 26 27 * psphotAddPhotcode -> psphotAddPhotcodeReadout 28 * note that the photcode is now saved on readout->analysis 29 * psphotSetMaskAndVariance -> psphotSetMaskAndVarianceReadout 30 * psphotModelBackground -> psphotModelBackgroundReadoutFileIndex 31 * psphotSubtractBackground -> psphotSubtractBackgroundReadout 32 33 side notes on 34 35 * psphotModelBackground vs psphotBackgroundModel : I've renamed 36 psphotBackgroundModel (used only by ppStack for now) to 37 psphotModelBackgroundReadoutNoFile. I've also named the 38 single-readout version used by psphotModelBackground to 39 psphotModelBackgroundReadoutFileIndex. These two functions do the 40 same thing, but psphotModelBackgroundReadoutNoFile does not save 41 a pmFPAfile on config->files 42 1 43 2 44 20090606 : design notes on the multi-image photometry analysis
Note:
See TracChangeset
for help on using the changeset viewer.
