- Timestamp:
- Sep 7, 2026, 4:51:13 PM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pstamp-20260421/ppSim/src/ppSimSequenceDark.c
r27967 r43081 27 27 for (int j = 0; j < n; j++) { 28 28 29 // XXX need to add output filename30 psString filename = NULL;31 if (path) {32 psStringAppend (&filename, "%s/%s.%03d.%03d", path, basename, nSeq, nImage);33 } else {34 psStringAppend (&filename, "%s.%03d.%03d", basename, nSeq, nImage);35 }36 37 29 // define the ppSim command 38 30 psString command = NULL; … … 48 40 psStringAppend (&command, " -exptime %f", exptime); 49 41 42 // define the exposure name and output filename 43 psString expname = ppSimDefineExpname (basename, nSeq, nImage); 44 psString filename = ppSimDefineFilename (path, expname); 45 46 // add output filename to the end of the full command 50 47 psStringAppend (&command, " %s", filename); 51 48 … … 59 56 for (int i = 0; i < files->n; i++) { 60 57 command = psStringCopy (injectCommand); 61 psStringAppend (&command, " %s.%s", filename, (char *) files->data[i]);58 psStringAppend (&command, " --exp_name %s %s.%s", expname, filename, (char *) files->data[i]); 62 59 fprintf (inject, "%s\n", command); 63 60 psFree (command); 64 61 } 65 62 63 psFree (expname); 66 64 psFree (filename); 67 65 nImage ++;
Note:
See TracChangeset
for help on using the changeset viewer.
