get_full_dose.m 533 B

1234567891011
  1. function get_full_dose()
  2. optResultsFile = 'C:\010-work\003-localGit\WiscPlan\WiscPlanPhotonkV125\PatientData\matlab_files\optResults.mat';
  3. load(optResultsFile);
  4. D = read_ryan_beamlets('C:\010-work\003-localGit\WiscPlan\WiscPlanPhotonkV125\PatientData\beamlet_batch_files\beamletbatch0.bin','ryan sum', optResults.weights{end});
  5. optResults.batchNames{end+1} = optResults.batchNames{end};
  6. optResults.dose{end+1} = D;
  7. optResults.weights{end+1} = optResults.weights{end};
  8. save(optResultsFile, 'optResults', 'optSettings');