Extension library for the Varian Eclipse Scripting API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vs/ESAPIX/v14
DocFX
ESAPIX.AppLauncher
ESAPIX.Bootstrapper
ESAPIX.OfflineObjects
ESAPIX.StarterTemplate/ESAPIX15.1TemplateVSX/ESAPIX15.1TemplateVSX
ESAPIX.StarterWPF
ESAPIX
ESAPIXTests
ESAPIX_FacadeBuilder
Snippets
.gitattributes
.gitignore
ESAPIX.sln
LICENSE
README.md

README.md

ESAPIX

ESAPIX is an open source extension library for the Varian Eclipse Scripting API that contains extra methods, and bootstrapping frameworks to quickly develop applications for research and clinical use. It has no affiliation with Varian Medical Systems. It provides implementations for multithreading, asynchronous calls, debugging plugins, and with the ESAPIX.Bootstrapping library : dependency injection, and view model "auto finding" through the Prism 6 library.

Supported Eclipse Versions

  • 11
  • 13.6
  • 13.7
  • 15.0
  • 15.1
  • 15.5

Open Source Love


Getting Started

  1. Install the appropriate ESAPIX library (Version) through NuGet.
    • Right click your project >> Manage NuGet Packages >> (Search "ESAPI")
  2. In your project, instead of calling:
 var app = Application.CreateApplication("...");

Call :

var sac = new StandAloneContext(()=>Application.CreateApplication("..."));

StandAloneContext vs VMS...Application

Using ESAPIX StandAloneContext (SAC) wraps the real Varian classes in a thread controlled environment using Facades. This trick allows for using easy multithreading since ESAPIX will handle calling VMS proper classes on the correct thread. Additionally, these lightweight wrappers (Facades) can be used to mock Varian classes for unit testing and offline development. Also, the data can be quickly serialized into JSON using the FacadeSerializer class.

Contributing

Most of all, ESAPIX is a unified, open source framework that is designed to be used and contributed to by the medical physics community. It uses the MIT open source license to ensure that code can be used in whatever tools you need in the fight against cancer. If you are interested in contributing code, please see an example of submitting code to this repository.

WPF Application

Video Tutorial (Deprecated. For versions <1.5.0.0)

Quick Startup ESAPIX

To dive deeper, check out more examples and API documentation.