top of page
CARLOS ANDERSON
Jan 10, 20181 min read
Determine Whether a Structure Is a Target or an Organ
There may are cases where you need to know whether a structure is a target, an organ, or something else. For example, you may want to...
Dec 11, 20171 min read
Announcement: Free ESAPI Webinar by Matt Schmidt
What: Free ESAPI webinar by Matt Schmidt When: Wednesday, December 13, 2017 at 11 AM (EST) Where: Online (register here: Eclipse...
Nov 30, 20176 min read
Log Software Events and User Actions with NLog
Why logging? Logging errors and other abnormal situations can be very helpful in identifying problems in your apps, especially when...
Oct 28, 20172 min read
Use the DEBUG Symbol to Run Debug Code
In C#, you can write preprocessor directives to give special instructions to the compiler. Here I'll show you how to use the #if...
Oct 22, 20175 min read
Create a "Smart Search" Control for Standalone Apps
The Need for Smart Search Unlike plug-in scripts, standalone apps don't get a ScriptContext with an opened patient. Instead, standalone...
Sep 30, 20173 min read
Book Review: The Inmates Are Running the Asylum
The Inmates Are Running the Asylum, by Alan Cooper, is a book about designing software in a way that actually solves the user's problems....
Sep 16, 20177 min read
Generate a PDF report using PDFsharp and MigraDoc
PDFsharp and MigraDoc In this blog post, I'll show you how to use the .NET libraries PDFsharp and MigraDoc to generate a simple PDF...
Aug 26, 20175 min read
Authentication and Authorization Using the OSP
Authentication and Authorization As I mentioned in my last post, Using the OSP to Get the Current User’s Name, the Oncology System...
Aug 11, 20173 min read
Using the OSP to Get the Current User's Name
There may be cases when you want to obtain the full name of the user currently running your script. For example, you may want to generate...
Jul 19, 20172 min read
An Easy Way to Launch Stand-Alone Apps from Eclipse
In a previous post (Launch Stand-Alone Apps from Eclipse), I discussed how to implement a plug-in script that can launch any stand-alone...
Jul 2, 20175 min read
Understanding the ScriptContext Class
In Eclipse, the left panel is called the scope window, and it shows you the objects you have open. These objects include the patient,...
Mar 11, 20173 min read
Export All ARIA Database Table and Column Names Using Python
The Eclipse Scripting API (ESAPI) doesn't always provide you with the data you need. Usually, however, you can get that data from the...
Feb 25, 20173 min read
Simple DVH Summary Script using WPF and MVVM
WPF and MVVM If you're going to write an ESAPI script with a graphic user interface (GUI), I recommend using the Windows Presentation...
Jan 21, 20173 min read
Why I Don't Use the Eclipse Script Wizard
The Eclipse Script Wizard is a program that allows you to easily create single-file plug-ins, binary plug-ins, and stand-alone apps based...
Jan 12, 20173 min read
Single-File Plug-In vs. Binary Plug-In vs. Stand-Alone App
ESAPI allows you to write single-file plug-ins, binary plug-ins, and stand-alone apps. The ESAPI Reference Guide explains how to create...
Dec 4, 20161 min read
Automate converting CSV files to Excel files
When generating results for some data analysis, I usually output the results to CSV (comma separated values) files because it's pretty...
Nov 3, 20162 min read
Run Eclipse (and ESAPI Scripts) Using a Remote ARIA System
If you have Eclipse installed on your computer, it'll likely point to a default ARIA system (database and file system) on your computer....
Sep 26, 20162 min read
Calculating Aperture Complexity Metrics
Our group recently published the article Predicting deliverability of volumetric-modulated arc therapy (VMAT) plans using aperture...
Sep 11, 20163 min read
Export DVHs to a CSV File Using Python
This blog post was inspired by a question in the Varian Developer Forum: From File > Export > DVH in Tabular format, one can export DVH...
Aug 31, 20164 min read
Run and Test Plug-In Scripts from Visual Studio
Testing Plug-in Scripts Testing plug-in scripts in Eclipse is annoying at best. For one, any time you make a change to the script you...
bottom of page