Changeset 11741
- Timestamp:
- Feb 9, 2007, 3:45:50 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/doc/ipptools/p4tool.txt (modified) (15 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/ipptools/p4tool.txt
r11740 r11741 11 11 12 12 Calculate overlaps for each exposure: 13 phase4_overlap.pl --p4_id <s tr>13 phase4_overlap.pl --p4_id <s32> 14 14 { 15 15 Get list of component imfiles for exposure: 16 p4tool -imfile -p4_id <s tr>16 p4tool -imfile -p4_id <s32> 17 17 18 18 (Calculates, in some as-yet unknown way the overlaps between imfiles … … 20 20 21 21 Set the relationship between imfiles and skycells: 22 p4tool -overlap -p4_id <s tr> -info FILE22 p4tool -overlap -p4_id <s32> -info FILE 23 23 where FILE contains: 24 24 imfile.0 STR skycell.123 skycell.456 … … 35 35 36 36 Do the warp for each skycell: 37 phase4_warp.pl --p4_id <s tr> --skycell <str>37 phase4_warp.pl --p4_id <s32> --skycell <str> 38 38 { 39 39 Get list of imfiles for skycell: 40 p4tool -imfile -p4_id <s tr> -skycell <str>40 p4tool -imfile -p4_id <s32> -skycell <str> 41 41 42 42 Do the warping: … … 44 44 45 45 Register the skycell as done warping: 46 p4tool -warped -p4_id <s tr> -skycell <str> -uri <str>46 p4tool -warped -p4_id <s32> -skycell <str> -uri <str> 47 47 } 48 48 … … 55 55 Register an exposure for subtraction processing. We need to specify which warp 56 56 is the input and which is the template. 57 p5tool -definerun -skycell <str> -input_p4_id <s tr> -template_p4_id <str>57 p5tool -definerun -skycell <str> -input_p4_id <s32> -template_p4_id <s32> 58 58 59 59 Give me all skycells that need to be subtracted: … … 61 61 62 62 Do the subtraction for each skycell: 63 phase5_subtract.pl --p5_id <s tr> --in_uri <str> --template_uri <str>63 phase5_subtract.pl --p5_id <s32> --in_uri <str> --template_uri <str> 64 64 { 65 65 Do the subtraction: … … 67 67 68 68 Register the subtraction as done: 69 p5tool -done -p5_id <s tr> -uri <str>69 p5tool -done -p5_id <s32> -uri <str> 70 70 } 71 71 … … 94 94 95 95 Do magic for each skycell: 96 magic_skycell.pl --magic_id <s tr> --skycell <str> --uri <str>96 magic_skycell.pl --magic_id <s32> --skycell <str> --uri <str> 97 97 { 98 98 Do streak finding on skycell 99 99 100 100 Register sky cell as done: 101 magictool -doneskycell -magic_id <s tr> -skycell <str> -uri <str>101 magictool -doneskycell -magic_id <s32> -skycell <str> -uri <str> 102 102 } 103 103 … … 106 106 107 107 Do magic for each imfile: 108 magic_imfile.pl --magic_id <s tr> --class_id <str>108 magic_imfile.pl --magic_id <s32> --class_id <str> 109 109 { 110 110 Get list of all magic1 output relevant to this imfile 111 magictool -skycell -magic_id <s tr> -class_id <str>111 magictool -skycell -magic_id <s32> -class_id <str> 112 112 113 113 Do streak finding for imfile 114 114 115 115 Register imfile as done: 116 magictool -doneimfile -magic_id <s tr> -class_id <str> -uri <str>116 magictool -doneimfile -magic_id <s32> -class_id <str> -uri <str> 117 117 } 118 118 … … 125 125 126 126 Do magic for each exposure: 127 magic_exp.pl --magic_id <s tr>127 magic_exp.pl --magic_id <s32> 128 128 { 129 129 Get list of all magic2 output relevant to this exposure 130 magictool -imfile -magic_id <s tr>130 magictool -imfile -magic_id <s32> 131 131 132 132 Do streak finding on exposure 133 133 134 134 Register exposure as done: 135 magictool -doneexp -magic_id <str> -uri <str> 136 } 137 138 139 [Need to generate masks, but we need to decide at what level: imfile, or 140 skycell? If imfile, we need to do the warp over again. If skycell, we 141 can never give out the flattened CCD images unless they've been warped. 142 How about doing both --- it's not too hard.] 135 magictool -doneexp -magic_id <s32> -uri <str> 136 } 137 138 139 [Need to generate masks, but we need to decide at what level: imfile, 140 or skycell? If imfile, we need to do the warp over again. If 141 skycell, we can never give out the flattened CCD images unless they've 142 been warped. Let's do both --- it's not too expensive, and means we 143 can release both without further work.] 143 144 144 145 … … 147 148 148 149 Generate mask for each imfile: 149 magic_mask_imfile.pl --magic_id <s tr> --class_id <str> --uri <str>150 magic_mask_imfile.pl --magic_id <s32> --class_id <str> --uri <str> 150 151 { 151 152 Make mask 152 153 153 154 Register mask: 154 magictool -donemaskimfile -magic_id <s tr> -class_id <str> -uri <str>155 magictool -donemaskimfile -magic_id <s32> -class_id <str> -uri <str> 155 156 } 156 157 … … 159 160 160 161 Generate mask for each skycell: 161 magic_mask_skycell.pl --magic_id <s tr> --skycell <str> --uri <str>162 magic_mask_skycell.pl --magic_id <s32> --skycell <str> --uri <str> 162 163 { 163 164 Make mask 164 165 165 166 Register mask: 166 magictool -donemaskskycell -magic_id <s tr> -skycell <str> -uri <str>167 magictool -donemaskskycell -magic_id <s32> -skycell <str> -uri <str> 167 168 } 168 169 … … 182 183 183 184 Register skycells for combination processing: 184 p6tool -definerun -skycell <stR> -p4_id <s tr> -p4_id <str> -p4_id <str>185 p6tool -definerun -skycell <stR> -p4_id <s32> -p4_id <s32> -p4_id <s32> 185 186 186 187 Give me all pending operations … … 188 189 189 190 Run phase 6: 190 phase6.pl -p6_id <s tr>191 phase6.pl -p6_id <s32> 191 192 { 192 193 Give me the list of all inputs for this run: 193 p6tool -inputs -p6_id <s tr>194 p6tool -inputs -p6_id <s32> 194 195 195 196 Combine: … … 197 198 198 199 Register the completion: 199 p6tool -done -p6_id <s tr> -uri <str>200 p6tool -done -p6_id <s32> -uri <str> 200 201 } 201 202
Note:
See TracChangeset
for help on using the changeset viewer.
