Changeset 25640
- Timestamp:
- Sep 28, 2009, 5:51:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psModules/src/objects/pmSourceVisual.c
r25595 r25640 109 109 psFree (dy); 110 110 111 // pause and wait for user input: 112 // continue, save (provide name), ?? 113 char key[10]; 114 fprintf (stdout, "[c]ontinue? "); 115 if (!fgets(key, 8, stdin)) { 116 psWarning("Unable to read option"); 117 } 111 pmVisualAskUser(NULL); 118 112 return true; 119 113 } … … 141 135 psImageInit (model, 0.0); 142 136 psImageInit (resid, 0.0); 143 144 // FILE *f = fopen ("stats.dat", "w");145 // psAssert (f, "failed to open");146 137 147 138 for (int i = sources->n - 1; i >= 0; i--) { … … 175 166 } 176 167 } 177 // fprintf (f, "%d, %d -> %f %f %f %f\n", Xo, Yo, norm, source->psfMag, source->apMag, -2.5*log10(source->moments->Sum)); 178 } 179 // fclose (f); 168 } 180 169 181 170 // KapaClearSections (kapa2); … … 202 191 psFree (resid); 203 192 204 // pause and wait for user input: 205 // continue, save (provide name), ?? 206 char key[10]; 207 fprintf (stdout, "[c]ontinue? "); 208 if (!fgets(key, 8, stdin)) { 209 psWarning("Unable to read option"); 210 } 193 pmVisualAskUser(NULL); 211 194 return true; 212 195 } … … 248 231 psFree (resid); 249 232 250 // pause and wait for user input: 251 // continue, save (provide name), ?? 252 char key[10]; 253 fprintf (stdout, "[c]ontinue? "); 254 if (!fgets(key, 8, stdin)) { 255 psWarning("Unable to read option"); 256 } 233 pmVisualAskUser(NULL); 257 234 return true; 258 235 }
Note:
See TracChangeset
for help on using the changeset viewer.
