Beispiel #1
0
 public static void RunAnalysis(PathSet PS, StructureSet SS, double rxlevel)
 {
     double rxdoselevel;
     double rtogindex;
     double lomaxscheib;
     double vantreits;
     PS.DoseSpace = Matrix.Normalize(PS.DoseSpace);
     AnalysisInfo ai = new AnalysisInfo();
     RX = rxlevel;
     int startingz = PS.SlicePositions[0] - (PS.DoseCalculationThickness / 2);
     AnalyzeLesionCoverage(PS.DoseSpace,SS.fj_Tumor,startingz);
     ai.RxLevel = RX;
     ai.LesionVolume = lesionvolume;
     ai.Rx_Volume = totalvolcoveredbyrx;
     ai.RxLesion_Volume = lesioncoveragebyrx;
     ai.RTOG = totalvolcoveredbyrx / lesionvolume;
     ai.LomaxScheib = lesioncoveragebyrx / totalvolcoveredbyrx;
     ai.VantReits = (lesioncoveragebyrx * lesioncoveragebyrx) / (lesionvolume * totalvolcoveredbyrx);
     ai.TestName = System.DateTime.Now.ToShortTimeString();
     AIList.Add(ai);
 }
Beispiel #2
0
 public static void RunAnalysis(float[][,] dosespace, float[][,] tumor, double rxlevel)
 {
     double rxdoselevel;
     double rtogindex;
     double lomaxscheib;
     double vantreits;
     int startingz = 20;
     dosespace = Matrix.Normalize(dosespace);
     AnalysisInfo ai = new AnalysisInfo();
     RX = rxlevel;
     AnalyzeLesionCoverage(dosespace, tumor, startingz);
     ai.RxLevel = RX;
     ai.LesionVolume = lesionvolume;
     ai.Rx_Volume = totalvolcoveredbyrx;
     ai.RxLesion_Volume = lesioncoveragebyrx;
     ai.RTOG = totalvolcoveredbyrx / lesionvolume;
     ai.LomaxScheib = lesioncoveragebyrx / totalvolcoveredbyrx;
     ai.VantReits = (lesioncoveragebyrx * lesioncoveragebyrx) / (lesionvolume * totalvolcoveredbyrx);
     ai.TestName = System.DateTime.Now.ToShortTimeString();
     AIList.Add(ai);
 }