- 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/ppSimSequenceFlat.c
r27967 r43081 27 27 for (int j = 0; j < nSetup; j++) { 28 28 29 // define the 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 comand 38 30 psString command = NULL; 39 31 40 32 psStringAppend (&command, "%s -type FLAT", ppSimCommand); 41 42 33 psStringAppend (&command, " -filter %s", (char *) filters->data[i]); 43 34 psStringAppend (&command, " -exptime %f", exptimes->data.F32[i]); 35 36 // define the exposure name and output filename 37 psString expname = ppSimDefineExpname (basename, nSeq, nImage); 38 psString filename = ppSimDefineFilename (path, expname); 44 39 45 40 psStringAppend (&command, " %s", filename); … … 54 49 for (int i = 0; i < files->n; i++) { 55 50 command = psStringCopy (injectCommand); 56 psStringAppend (&command, " %s.%s", filename, (char *) files->data[i]);51 psStringAppend (&command, " --exp_name %s %s.%s", expname, filename, (char *) files->data[i]); 57 52 fprintf (inject, "%s\n", command); 58 53 psFree (command); 59 54 } 60 55 56 psFree (expname); 61 57 psFree (filename); 62 58 nImage ++;
Note:
See TracChangeset
for help on using the changeset viewer.
