RoentgenPlots.jl

Plotting Radiotherapy Beam-Limiting Devices using Plots.jl
Author lmejn
Popularity
1 Star
Updated Last
1 Year Ago
Started In
February 2023

CI codecov

RoentgenPlots.jl

RoentgenPlots.jl provides functions to plot datatypes defined in Roentgen.jl using Plots.jl.

Aperture Example

Installation

  1. Navigate to your project
  2. Open the Julia REPL
  3. [Optional] Activate a new environment
  4. Enter package mode by typing ]
  5. Install using
    add https://github.com/lmejn/RoentgenPlots.jl

Usage

Import the package using,

using RoentgenPlots

The two main function are:

plot_bld(args...; kwargs...)

To plot the geometry of beam-limiting devices. Currently supported devices are:

  • Multi-Leaf Collimator
  • Jaws
  • Bixels
axes_lims!(args...; kwargs...)

To set the axes limits of the figure based on the geometry of the beam-limiting device.

See the example notebook for usage.

Used By Packages

No packages found.