Changeset 8035 for trunk/ippTools/doc/install.pod
- Timestamp:
- Aug 1, 2006, 12:20:48 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/doc/install.pod (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/doc/install.pod
r8029 r8035 33 33 make 34 34 make install 35 36 =head2 jhbuild Build Procedure 37 38 If you are using one of the C<ippdev> modulesets jhbuild can build and install C<pXtools> for you. E.g. 39 40 jhbuild build pxtools 35 41 36 42 =head2 Database Setup … … 111 117 23 rows in set (0.00 sec) 112 118 119 =head1 USE 120 121 The workflow is as follows: 122 123 XXX 124 125 =head2 Phase 0 tools 126 127 The primary C<pXtools> utility for handling Phase 0 is C<p0search>. This tool 128 has two modes C<-pending> and C<-update>. The pending mode lists all 129 C<newImfile>s that are part of an exposure that I<has not> yet been classified 130 as either science or detrend data. 131 132 For example: 133 134 p0search -pending 135 136 Would output something like: 137 138 newImfile MULTI # 139 140 newImfile METADATA 141 exp_id STR 10 142 class STR OTA 143 class_id STR 0 144 uri STR file://0 145 END 146 147 newImfile METADATA 148 exp_id STR 10 149 class STR OTA 150 class_id STR 1 151 uri STR file://1 152 END 153 154 newImfile METADATA 155 exp_id STR 10 156 class STR OTA 157 class_id STR 2 158 uri STR file://2 159 END 160 161 newImfile METADATA 162 exp_id STR 10 163 class STR OTA 164 class_id STR 3 165 uri STR file://3 166 END 167 168 To declare C<exp_id 10> as science data, you would invoke C<p0search> like this: 169 170 p0search -update -exp_id 10 171 172 Note that by default C<-update> flags the exposure as science data. To declare it to be detrend data the command would be: 173 174 p0search -update -exp_id 10 -detrend 175 176 Also keep in mind that this is a one time declaration. Once it has been 177 declared as either science or detrend data this decision can not be undone 178 (without manually editing the database) 179 180 =head2 Phase 1 tools 181 182 These tools are not yet in use. 183 184 =head2 Phase 2 tools 185 186 C<p2search> handles all of state for Phase 2. It has four basic modes: 187 188 =over 4 189 190 =item * C<-quick> 191 192 =item * C<-define> 193 194 =item * C<-pending> 195 196 =item * C<-done> 197 198 =head2 Administrative tools 199 200 =over 4 201 202 =item * C<pxadmin> 203 204 =item * C<pxinject> 205 113 206 =cut 207 208 =head2 Bypassing 'Summit Copy' 209 210 The C<pXtools> suite assumes that exposures and image data are initially 211 registered with the C<pz*> set of I<Summit Copy step> tools. Sometimes this is 212 inconvenient as you want to work with local data and bypass this set. This is 213 what the C<pxinject> utility is for. C<pxinject> directly inserts data into 214 the database, side stepping any ordering rules or sanity checking. 215 216 The end result of the C<pz*> utilities is that new exposures are registered in the C<newExp> table and raw image data is in the C<newImfile> table. You can insert this data yourself, preparing the system to run I<phase 0>. 217 218 Here is an example of inserting an exposure that has 4 component image files. 219 220 #!//bin/sh 221 222 inject="./pxinject" 223 224 $inject -newExp -exp_id 10 -inst gpc -telescope ps1 -exp_type object -imfiles 4 225 226 `$inject -newImfile -exp_id 10 -class OTA -class_id 0 -uri file://0` 227 `$inject -newImfile -exp_id 10 -class OTA -class_id 1 -uri file://1` 228 `$inject -newImfile -exp_id 10 -class OTA -class_id 2 -uri file://2` 229 `$inject -newImfile -exp_id 10 -class OTA -class_id 3 -uri file://3` 230 231 =cut
Note:
See TracChangeset
for help on using the changeset viewer.
