Update correlation plot and screen panel

This commit is contained in:
root
2018-07-25 17:14:25 +02:00
parent 82306b88b4
commit b9115c90b8
29 changed files with 1734 additions and 118 deletions

View File

@@ -2092,7 +2092,7 @@ public class ScreenPanel3 extends Panel {
}
ArrayList<Frame> frames = new ArrayList<>();
frames.add(frame);
this.saveFrames("camera_snapshot", frames);
this.saveFrames(cameraName + "_camera_snapshot", frames);
//Enforce the same timestamp to data & image files.
snapshotFile = getContext().getExecutionPars().getPath() + ".png";
@@ -2140,7 +2140,7 @@ public class ScreenPanel3 extends Panel {
void saveStack() throws Exception {
synchronized (imageBuffer) {
saveFrames("camera_stack", imageBuffer);
saveFrames(cameraName + "_camera_stack", imageBuffer);
}
SwingUtils.showMessage(getTopLevel(), "Success", "Generated data file:\n" + getContext().getExecutionPars().getPath());
}