Git Product home page Git Product logo

raystation-scripts's Introduction

RayStation-scripts

This repository contains a set of IronPython 2.7 scripts for the RayStation Treatment Planning System for External Beam Radiotherapy. The scripts provide basic functionality and serve as examples of how the scripting environment works. The scripts are divided into two sets, one for ROI (Region of Interest) and POI (Point of Interest) functions and another one for extracting information on the plans.

ROI and POI Scripts:

  • isocenter_poi.py: Automatically creates a POI from the center of the planning target volume ROI.
  • overlapping_structures.py: Checks which ROIs overlap with the PTV (plus a margin) and creates control structures that don't overlap with the PTV, for each of the overlapping ROIs.
  • roi_characteristics.py: Gets a summary of data on all the ROIs: center coordinates, volumes, types, materials, and biological parameters.
  • roi_comparison.py: Compares 2 ROIs and check if they overlap. Calculates dice similarity coefficient, prevision, sensitivity, specificity, maximum and mean distance to agreement.
  • roi_poi_list.py: Gets a list with the names of all the POIs and ROIs, checks if a ROI or POI name exists.
  • round_poi_coordinates.py: Rounds the coordinates of the isocenter POI.

Plan information scripts:

  • 3DCRT_plan_summary.py: Exports a summary of the current beam set for a 3DCRT plan.
  • 3DCRT_plan_summary_all.py: Exports a summary of all plans for a patient.
  • dose_statistics.py: Retrieves dose statistics of all ROIs in a plan.
  • get_dvhs.py: Retrieves Dose Volume Histograms (DVH) from the current plan ROIs.
  • get_dvhs_all_plans.py: Retrieves Dose Volume Histograms (DVH) from all ROIs in the current patient case.

raystation-scripts's People

Contributors

edithvillegas avatar e-natalia avatar

Stargazers

gleesoi avatar YU-SHEN,LIN avatar

Watchers

 avatar gleesoi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.