lmejn / RoentgenPlots.jl

Plotting Radiotherapy Beam-Limiting Devices using Plots.jl

Home Page:https://lmejn.github.io/RoentgenPlots.jl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Plotting Radiotherapy Beam-Limiting Devices using Plots.jl

https://lmejn.github.io/RoentgenPlots.jl

License:MIT License


Languages

Language:Julia 100.0%