Example #1
0
  public SpotHelper(
      IInPUT input,
      IDesign config,
      String studyId,
      boolean minProblem,
      List<IDesign> problems,
      boolean resumeExisting)
      throws InPUTException {
    experimentalFolder = initExperimentalFolder(studyId, config, problems, resumeExisting);

    this.studyId = experimentalFolder.getName();

    investigationId = initExperimentId(studyId, config, experimentalFolder);
    this.config = initConfig(investigationId, config);

    printInfo(config, minProblem);

    this.input = input;
    initInverseFunction();
    checkSPOTIsInstalled();
    inputROI = new SpotROI(input);
    outputROI = new SpotROI(input.getOutputSpace());
    currentRES = new SpotRES(inputROI, outputROI);

    if (resumeExisting) loadSPOTWorkspace();
    else initExperimentalFolder();
  }
Example #2
0
 public void initSPOTinitialDesign() {
   initInverseFunction();
   runCommand("inputConfig<-spot(inputFile,\"init\")", false);
 }