voxtox.roi_names package

Submodules

Module contents

Package providing dictionaries for standardising ROI labels.

voxtox.roi_names.get_roi(structure_set, roi_name, data_type='plan')

Obtain named ROI from structure set.

A standardised name is passed as argument, and the possible actual names are determined based on data type.

Parameters:

structure_setskrt.structures.StructureSet

Structure set from which ROI is to be retrieved.

roi_namestr

Name identifying ROI to be retrieved.

data_typestr, default=’plan’

Type of data considered. This affects the possible actual ROI names corresponding to a standardised name. The available data types include: ‘plan’, ‘voxtox’, ‘iov’, ‘mvct’.