BreastWatch is an ESAPI Plugin for Varian Eclipse TPS.
This page refers to the old version BreastWatch v.1.6.5.0 for Eclipse v.13.5. This was the last version developed for this Eclipse version.
BreastWatch v.1.7.5.0 is available on GitHub BreastWatch repo with similar features for Eclipse v.18.
Versions 1.6.5.0 and 1.7.5.0 were described in our BreastWatch paper on JAMP.
Information to the previous BreastWatch v.1.3.5 has been retained for backward compatibility: please refer to v.1.3.5.0 BreastWatch Plugin Home Page.
IMPORTANT: please refer to Plugins Home for information about usage, license and AgolabsPreferences.txt text file.
IMPORTANT: Since v.1.5 BreastWatch uses the OxyPlot .NET library which is licensed under MIT license. The author gratefully thanks OxyPlot developers for their work.
BreastWatch allows to examine and export in a Plan Library, in CSV format, the main dosimetric data of an Eclipse External Beam Plan for Breast treatment. The Plan dose distribution is evaluated using DVH data against built-in international Breast Protocols including:
- RTOG1005 protocol: 40.05 Gy to Breast PTV | opt 48 Gy Boost PTV | opt 40.05 Gy Supraclavicular/N PTV
- FAST protocol: 28.5 Gy to Breast PTV | opt 31 Gy Boost PTV
- FAST FORWARD protocol: 26 Gy to Breast PTV | opt 30 Gy Boost PTV
- EUROPA TRIAL WBI protocol: 26 Gy to Breast PTV
- EUROPA TRIAL WBI protocol: 40.05 Gy to Breast PTV
- EUROPA TRIAL PBI protocol: 30 Gy to Partial Breast PTV
Since v.1.5 BreastWatch is able to read back the Plan Library and compare the plan results with Plan Library data for similar plans (Community Based approach). For further details refer to the BreastWatch paper on JACMP.
How it works
Note 1: in the following we will often assume BreastWatch is examining an Eclipse External Beam Plan, but the same things apply to Eclipse Plan Sums and Dose Plans. For Plan Sums the Info panel reports Prescription and Plan information for all the Plans in the Plan Sum.
Note 2: BreastWatch supports Dose Plans, i.e. plans which do not contain actual Eclipse beams, but just a Prescription and a Dose distribution attached to a planning CT and structure set. For Dose Plans the user should manually select the Technique before saving.
IMPORTANT: before using BreastWatch, please edit the AgolabsPreferences.txt file to configure the ExportPath and other script settings.
- In Eclipse, open/create an External Beam Plan. Calculate dose and prescribe to have valid dose distribution in the Plan.
- BreastWatch expects to find in the Plan a main Breast PTV and optional Boost and Supraclavicular/N PTVs. If the treatment comprises two or more Plans, BreastWatch can analyze the Plan Sum.
- Once you’ve opened the Plan or Plan Sum, launch BreastWatch plugin.
- The BreastWatch window opens.

- Look at the box and the icon on the right of the Export File box to know how many records (RECS) have been found in the Plan Library and if your user is able to access the whole Library or not.
- Check Patient, Prescription and Plan information on the Info panel.
- Check/modify the Protocol used for analysis in the Protocol box.
- Check/modify data in Technique, Laterality and Bolus panels.
- Control/modify the matching of the structures in the listview boxes.
- Examine BreastWatch Results using colors, values in the Results columns of the listview boxes and BreastWatch Score bar. Results can be expressed in Gy, cc (cubic centimeter) or % (point to the Legend popup for details). Some Results in Gy are also reported in % of Prescription Dose in the PD columns of the listview boxes.
- If the Plan Library is available you can double click in the listview boxes on each result. A Data Inspector window opens.

- Examine in the Data Inspector window how the clicked result (red bar) scores compared to the distribution of similar plans saved in the Plan Library by the Community of local planners.
- The BreastWatch analysis can reveal weak points of a Breast Plan and push the planner to further Plan optimization. If this is the case just click on the Cancel button to close BreastWatch window and proceed with Plan optimization and another BreastWatch analysis.
- Once you’re happy with the Results of your Plan, click on the Append data button to save main Plan data in your Export File (Plan Library) and close BreastWatch window.
BreastWatch UI in details
- On top left (Info panel) Patient, Prescription and Plan information is shown (see The PLAN label paragraph for more information on the special PLAN label).
- On top center you can find Protocol and Export panels:
- Pat PID = optional Protocol ID to assign to Patient
- Protocol = select the Breast Protocol to be used for analysis; only protocols with compatible dose prescriptions can be selected
- Export Drawer = file path where to find the Export File
- Export File = the file name of the exported file
- RECS = reports the number of records found in the Plan Library (saved by current user / total number of records)
- Table Icon = shows what’s the kind of access granted to the current user: FULL/USER/NONE
- write headers = check this to add a header row to Export File
- Comments = add here comments to be saved in Export File for this patient
- On top right the Technique panel contains:
- Technique = 3DCRT/IMRT/VMAT/Hybrid/SUM automatically selected by the script
- with Boost = check this to tell the script the treatment contains a Boost
- Breath Hold/Tangential/Autoplanned = flags that can be selected by the user and that will be written in the Export File for this Plan. Breath Hold is automatically selected at start if the planning CT is co-registered with a secondary CT (assumed to be the free breath CT).
- On top right the Laterality & Setup panels contain:
- Left/Right Breast = laterality of the treated breast; usually automatically selected by the script, to be confirmed by the user
- PBI = selected automatically by the script for Partial Breast Irradiation protocols
- PRONE/BILATERAL = flags that can be selected by the user and that will be written in the Export File for this patient
- The Bolus panel selects if a bolus is used Always or Partially for this treatment.
- Below the upper panels you can find a series of listview boxes, two for each structure considered in BreastWatch:
- Targets: PTV Breast, PTV Boost and PTV Supraclavicular/N
- Main OARs: Ipsi Lung, Contra Lung, Heart, Left Coronary and Contra Breast
- Other OARs: Liver, Esophagus, Thryoid, Stomach and Skin
- Please note that for PBI the Targets panel is modified and contains PBI PTV, Ipsilateral Breast and optional Breast control structure = (Ipsilateral Breast – PBI PTV).
- For each structure the upper listview box let’s the user select the right structure to consider for the matching (BreastWatch at start tries to find a match between the structures contained in the Plan, but this selection should be confirmed by user).
- The lower listview boxes show the dose constraints for the structure which are built in the selected Breast Protocol. If the constraint is an extension of the standard Breast Protocol a star (“*”) is put on the left of the constraint. In the case of optimal/mandatory constraints a slash (“/”) separates the constraint values.
- BreastWatch manages many different kinds of constraints. The user can find information about the constraints pointing to the Legend label on top right of the listview boxes (a popup window will show data legend).
- If the dose constraints are fulfilled their background is green, yellow if the optimal constraint are not fulfilled but the mandatory one are, red if the dose constraints are not fulfilled.
- In the case of starred constraints the colors are pale (pale green, pale yellow and pale red).
- On the bottom of the window you can find:
- Bottom left: the Aria user logged in
- Bottom right: the BreastWatch (BW) Score bar, which is 100% if all (starred and not) dose constraints are fullfilled. The bar is green if the BW Score is above 60% and red if it’s below.
- Bottom center: the Cancel button just closes the BreastWatch window without any saving, the Append data button adds Plan data to the Export File and closes BreastWatch window.
Data Inspector and the Community Based approach for plan analysis
In order to overcome Protocol limitations and improve plan analysis, the user can compare plan results with similar plans found in the Community Plan Library. Double-clicking on a result in the PTV or OAR listview boxes opens a Data Inspector window. In this window the plan specific result is overlapped on the distribution for similar plans found in the Plan Library and a Community Score is computed.
The title of the Data Inspector window shows the dose-constraint and the plan result under examination.
On top FILTERED RECORDS reports the number of similar plans found in the Plan Library.
The graph reports the histogram of the dose-constraint for similar plans. On the graph we find also up to 5 bars:
- RED BAR = is the plan result
- BLUE SOLID BAR = is the average value found for similar plans
- BLUE DASHED BARS = is the average +/- 1 SD for similar plans
- PURPLE SOLID BAR = is the Protocol mandatory dose-constraint
- PURPLE DASHED BAR = is the Protocol optimal dose-constraint
On the right the min, max, average and SD boxes show numerically the minimum, maximum, average and standard deviation for similar plans.
The SCORE reports the percent of similar plans “beaten” by the current plan result, the higher the better.
Protocol selection
At launch, BreastWatch examines Plan’s Prescription (Total Prescribed Dose and number of fractions) and the structures contained in the Plan. Using this information the compatible Breast Protocols are made available for user selection in the Protocol box.
What’s written in the Export File (Plan Library)
BreastWatch appends in the Export File (Plan Library) a selection of Patient and Plan information. Data is TAB separated and can be easily opened with a spreadsheet. To find out what’s written and what’s not, point to the Procotol label and a popup window will show data headers that will be written in the Export File.
The first time you write to your Export File click on the write headers checkbox to write as first row of the Export File the data headers.
The PLAN label
For Plans and Plan Sums containing Eclipse beams (no Dose Plans), the PLAN label in the info Panel signals anomalies found during the plan sanity check (psc) of the Plan/Plan Sum. If PLAN is green the psc was passed, red if the psc was not passed. Click on the PLAN label to find out what the psc signals out.
Eclipse plans:
- 3D Plans OK
- IMRT Plans OK
- VMAT Plans OK
- Plan Sums OK
- Dose Plans OK