Dvha Readthedocs Io en Stable
Dvha Readthedocs Io en Stable
Release 0.9.7
Dan Cutright
1 DVH Analytics 2
1.1 Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Executables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 About . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.5 Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.6 Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.7 Cite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.8 Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.9 Selected Studies Using DVHA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 Usage 5
2.1 Database Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 QuerySQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 DVH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.4 DVH Plotting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.5 Population DVH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.6 DTH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 DVH Analytics 10
3.1 dvha.models.dvh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2 dvha.db . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.3 dvha.tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4 Data Dictionary 31
4.1 DVHs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.2 Plans . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.3 Rxs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.4 Beams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5 Credits 36
5.1 Development Lead . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.2 Contributors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Index 39
i
DVH Analytics, Release 0.9.7
The documentation here is largely geared towards advanced uses of DVHA involving custom scripts with python. Basic
use of the graphical user interface is documented in the user manual PDFs included with each release on GitHub.
CONTENTS 1
CHAPTER
ONE
DVH ANALYTICS
DVH Analytics (DVHA) is a software application for building a local database of radiation oncology treatment plan-
ning data. It imports data from DICOM-RT files (i.e., plan, dose, and structure), creates a SQL database, provides
customizable plots, and provides tools for generating linear, multi-variable, and machine learning regressions.
1.1 Documentation
Be sure to check out the latest release for the user manual PDF, which is geared towards the user interface. For power-
users, dvha.readthedocs.io contains detailed documentation for backend tools (e.g., if you want to perform queries with
python commands).
1.2 Executables
Executable versions of DVHA can be found here. Please keep in mind this software is still in beta. If you have issues,
compiling from source may be more informative.
1.3 About
2
DVH Analytics, Release 0.9.7
1.4 Installation
If you’ve installed via pip or setup.py, launch from your terminal with:
$ dvha
If you’ve cloned the project, but did not run the setup.py installer, launch DVHA with:
$ python dvha_app.py
See our installation notes for potential Shapely install issues on MS Windows and help setting up a PostgreSQL database
if it is preferred over SQLite3.
1.5 Dependencies
• Python >3.5
• wxPython Phoenix >= 4.0.4, < 4.1.0
• Pydicom >=1.4.0
• dicompyler-core >= 0.5.4
• Bokeh >= 1.2.0, < 2.0.0
• PostgreSQL (optional) and psycopg2
• SQLite3
• SciPy
• NumPy
• Shapely < 1.7.0
• Statsmodels >=0.8.0
• Scikit-image
• Scikit-learn >= 0.21.0
• regressors
• RapidFuzz
• selenium
• PhantomJS
• DVHA MLC Analyzer
1.4. Installation 3
DVH Analytics, Release 0.9.7
1.6 Support
If you like DVHA and would like to support our mission, all we ask is that you cite us if we helped your publication,
or help the DVHA community by submitting bugs, issues, feature requests, or solutions on the issues page.
1.7 Cite
DOI: https://doi.org/10.1002/acm2.12401 Cutright D, Gopalakrishnan M, Roy A, Panchal A, and Mittal BB. “DVH
Analytics: A DVH database for clinicians and researchers.” Journal of Applied Clinical Medical Physics 19.5
(2018): 413-427.
The previous web-based version described in the above publication can be found here but is no longer being developed.
5,000 Patients National Cancer Institute (5R01CA219013-03): Active 8/1/17 → 7/31/22 Retrospective NCI Phantom-
Monte Carlo Dosimetry for Late Effects in Wilms Tumor Brannigan R (Co-Investigator), Kalapurakal J (PD/PI), Kazer
R (Co-Investigator)
265 Patients DOI: https://doi.org/10.1016/j.ijrobp.2019.06.2509 Gross J, et al. “Determining the organ at risk for
lymphedema after regional nodal irradiation in breast cancer.” International Journal of Radiation Oncology* Biology*
Physics 105.3 (2019): 649-658.
1.6. Support 4
CHAPTER
TWO
USAGE
Assuming you’ve setup a successful connection and imported data through the GUI, you can connect to the SQL
database with the DVH_SQL class object. This level of interaction with DVHA requires basic knowledge of SQL. Refer
to Data Dictionary for table and column names.
Below is an example SQL statement requesting a table with column headers of mrn, roi_name, and dvh_string such
that the physician_roi is ‘brainstem’.
table = 'DVHs'
columns = 'mrn, roi_name, dvh_string'
condition = "physician_roi = 'brainstem'"
cnx = DVH_SQL()
mandible = cnx.query(table, columns, condition)
cnx.close()
If no parameters are provided to DVH_SQL, it will automatically pick up your Group 1 connection settings last used in
the GUI. See the dvha.db.sql_connector.DVH_SQL() documentation for custom connection settings.
5
DVH Analytics, Release 0.9.7
2.2 QuerySQL
Use dvha.db.sql_to_python.QuerySQL() if you’d like to query a table and automatically convert the results into
a python object more convenient than a list of lists (as in DVH_SQL.query). The equivalent of the previous example,
using QuerySQL is below:
QuerySQL automatically adds properties based on the column name. So the mrns are accessible with data.mrns,
roi_name with data.roi_name, etc. This works with DVHs, Plans, Rxs, and Beams tables.
2.3 DVH
Some data you may want with each of your DVHs is spread across multiple tables. The dvha.models.dvh.DVH()
object uses dvha.db.sql_to_python.QuerySQL() to query the database, adds some pertinent data from other tables,
and provides many commonly used functions dealing with DVHs.
The equivalent of the previous example, using DVH is below:
2.2. QuerySQL 6
DVH Analytics, Release 0.9.7
x = dvh.x_data[0]
mean = dvh.get_stat_dvh('mean')
q1 = dvh.get_percentile_dvh(25)
q3 = dvh.get_percentile_dvh(75)
2.6 DTH
Although not accessible in the GUI or DVHA session data, DTHs can be extracted from the database as shown below.
2.6. DTH 8
DVH Analytics, Release 0.9.7
2.6. DTH 9
CHAPTER
THREE
DVH ANALYTICS
3.1 dvha.models.dvh
Class to retrieve DVH data from SQL, calculate parameters dependent on DVHs, and extract plotting data
class dvha.models.dvh.DVH(uid=None, dvh_condition=None, dvh_bin_width=5, group=1)
Bases: object
This class will retrieve DVHs and other data in the DVH SQL table meeting the given constraints, it will also
parse the DVH_string into python lists and retrieve the associated Rx dose
Parameters
• uid (list) – study_instance_uid’s to be included in results
• dvh_condition (str) – a string in SQL syntax applied to a DVH Table query
• dvh_bin_width (int) – retrieve every nth value from dvh_string in SQL
• group (int) – either 1 or 2
dvhs_to_abs_vol(dvhs)
Get DVHs in absolute volume
Parameters dvhs (np.ndarray) – relative DVHs (dvh[bin, roi_index])
Returns absolute DVHs
Return type np.ndarray
get_cds_data(keys=None)
Get data from this class in a format compatible with bokeh’s ColumnDataSource.data
Parameters keys (list, optional) – Specify a list of DVH properties to be included
Returns data from this class
Return type dict
get_dose_to_volume(volume, volume_scale='absolute', dose_scale='absolute', compliment=False)
Get the minimum dose to a specified volume
Parameters
• volume (int, float) – the specified volume in cm^3
• volume_scale (str, optional) – either ‘relative’ or ‘absolute’
• dose_scale (str, optional) – either ‘relative’ or ‘absolute’
• compliment (bool, optional) – return the max dose - value
10
DVH Analytics, Release 0.9.7
3.1. dvha.models.dvh 11
DVH Analytics, Release 0.9.7
get_summary()
Get a summary of the data in this class. Used in bottom left of main GUI
Returns Summary data
Return type str
get_volume_of_dose(dose, dose_scale='absolute', volume_scale='absolute', compliment=False)
Get the volume of an isodose contour defined by dose
Parameters
• dose (int, float) – input dose use to calculate a volume of dose for entire sample
• dose_scale (str, optional) – either ‘absolute’ or ‘relative’
• volume_scale (str, optional) – either ‘absolute’ or ‘relative’
• compliment (bool, optional) – return the ROI volume - value
Returns a list of V_dose
Return type list
property has_data
Check that this class has queried data
Returns True if there is data returned from SQL
Return type bool
resample_dvh(resampled_bin_count=5000)
Resample DVHs with a new bin count
Parameters resampled_bin_count (int) – Number of bins in reampled DVH
Returns x-axis, y-axis of resampled DVHs
Return type tuple
property x_axis
Get the x-axis for plotting
Returns Dose axis
Return type list
property x_data
Get the x-axes for plotting (one row per DVH)
Returns x data for plotting
Return type list
property y_data
Get y-values of the DVHs
Returns all DVHs in order (i.e., same as mrn, study_instance_uid)
Return type list
dvha.models.dvh.calc_eud(dvh, a, dvh_bin_width=1)
EUD = sum[ v(i) * D(i)^a ] ^ [1/a]
Parameters
• dvh (np.ndarray) – a single DVH as a list of numpy 1D array with 1cGy bins
• a (float) – standard a-value for EUD calculations, organ and dose fractionation specific
3.1. dvha.models.dvh 12
DVH Analytics, Release 0.9.7
3.2 dvha.db
3.2. dvha.db 13
DVH Analytics, Release 0.9.7
• config (dict) – optional SQL login credentials, stored values used if nothing provided.
Allowed keys are ‘host’, ‘port’, ‘dbname’, ‘user’, ‘password’
• db_type (str, optional) – either ‘pgsql’ or ‘sqlite’
• group (int, optional) – use a group-specific connection, either 1 or 2
change_mrn(old, new)
Edit all mrns in database
Parameters
• old (str) – current mrn
• new (str) – new mrn
change_uid(old, new)
Edit study instance uids in database
Parameters
• old (str) – current study instance uid
• new (str) – new study instance uid
check_table_exists(table_name)
Check if a table exists
Parameters table_name (st) – the SQL table to check
Returns True if table_name exists
Return type bool
close()
Close the SQL DB connection
delete_dvh(roi_name, study_instance_uid)
Delete a specified DVHs table row
Parameters
• roi_name (str) – the roi name for the row to be deleted
• study_instance_uid (str) – the associated study instance uid
delete_rows(condition_str, ignore_tables=None)
Delete all rows from all tables not in ignore_table for a given condition. Useful when deleting a plan/patient
Parameters
• condition_str (str: str) – a condition in SQL syntax
• ignore_tables (list, optional) – tables to be excluded from row deletions
does_db_exist()
Check if database exists
Returns True if the database exists
Return type bool
drop_table(table)
Delete a table in the database if it exists
Parameters table (str) – SQL table
3.2. dvha.db 14
DVH Analytics, Release 0.9.7
drop_tables()
Delete all tables in the database if they exist
execute_file(sql_file_name)
Executes lines within provided text file to SQL
Parameters sql_file_name (str) – absolute file path of a text file containing SQL commands
execute_str(command_str)
Execute and commit a string in proper SQL syntax, can handle multiple lines split by
Parameters command_str (str) – command or commands to be executed and committed
export_to_sqlite(file_path, callback=None, force=False)
Create a new SQLite database and import this database’s data
Parameters
• file_path (str) – Path where the new SQLite database will be created
• callback (callable, optional) – optional function to be called on each row insertion.
Should accept table (str), current row (int), total_row_count (int) as parameters
• force (bool, optional) – ignore duplicate StudyInstanceUIDs if False
get_column_names(table_name)
Get all of the column names for a specified table
Parameters table_name (str) – SQL table
Returns All columns names in table_name
Return type list
get_dicom_file_paths(mrn=None, uid=None)
Lookup the dicom file paths of imported data
Parameters
• mrn (str, optional) – medical record number
• uid (str, optional) – study instance uid
Returns Query return from DICOM_Files table
Return type list
get_max_value(table, column, condition=None)
Get the maximum value in the database for a given table and column
Parameters
• table (str) – SQL table
• column (str) – SQL column
• condition (str, optional) – Condition in SQL syntax
Returns The maximum value for table.column
Return type any
get_min_value(table, column, condition=None)
Get the minimum value in the database for a given table and column
Parameters
• table (str) – SQL table
3.2. dvha.db 15
DVH Analytics, Release 0.9.7
Parameters
• table (str) – SQL table
• condition (str) – SQL condition
Returns Number of rows in table meeting condition
Return type int
get_sql_function_value(func, table, column, condition=None, first_value_only=True)
Helper function used by get_min_values and get_max_values
Parameters
• func – SQL compatible function
• table (str) – SQL table
• column (str) – SQL column
• condition (str, optional) – Condition in SQL syntax (Default value = None)
• first_value_only (bool, optional) – if true, only return the first value, otherwise
all values returned
Returns Results of cursor.fetchone() or cursor.fetchone()[0] if first_value_only
is True
Return type list, any
get_unique_values(table, column, *condition, **kwargs)
Uses SELECT DISTINCT to get distinct values in database
Parameters
• table (str) – SQL table
3.2. dvha.db 16
DVH Analytics, Release 0.9.7
Parameters
• cnx_src (DVH_SQL) – the source DVHA DB connection
• cnx_dst (DVH_SQL) – the destination DVHA DB connection
• callback (callable, optional) – optional function to be called on each row insertion.
Should accept table (str), current row (int), total_row_count (int) as parameters
• force (bool, optional) – ignore duplicate StudyInstanceUIDs if False
initialize_database()
Ensure that all of the latest SQL columns exist in the database
insert_data_set(data_set)
Insert an entire data set for a plan
Parameters data_set (dict) – a dictionary of data with table names for keys, and a list of row
data for values
insert_row(table, row)
Generic function to import data to the database
Parameters
• table (str) – SQL table name
• row (dict) – data returned from DICOM_Parser.get_<table>_row()
is_mrn_imported(mrn)
Check all tables to see if MRN is used
Parameters mrn (str) – medical record number
Returns True if mrn exists in any table
Return type bool
is_mrn_in_table(table_name, mrn)
Parameters
3.2. dvha.db 17
DVH Analytics, Release 0.9.7
3.2. dvha.db 18
DVH Analytics, Release 0.9.7
3.2. dvha.db 19
DVH Analytics, Release 0.9.7
3.2. dvha.db 20
DVH Analytics, Release 0.9.7
Query a DVHA SQL table and parse the return into a python object
class dvha.db.sql_to_python.QuerySQL(table_name, condition_str, unique=False, columns=None,
group=1)
Bases: object
Object to generically query a specified table. Each column is stored as a property of the object
For example, if you query ‘dvhs’ with condition string of “mrn = ‘some_mrn’” you can access any column
name ‘some_column’ with QuerySQL.some_column which will return a list of values for ‘some_column’. All
properties contain lists with the order of their values synced, unless unique=True
Parameters
• table_name (str) – Beams’, ‘DVHs’, ‘Plans’, or ‘Rxs’
• condition_str (str) – condition in SQL syntax
• unique (bool, optional) – If True, only unique values stored
• columns (list, optional) – A list of SQL column names to be included in the return. If
left as None, all columns will be returned
• group (int, optional) – either 1 or 2
cursor_to_list(force_date=False)
Convert a cursor return into a list of values
Parameters force_date (bool, optional) – Apply dateutil.parser to values
Returns queried data
Return type list
dvha.db.sql_to_python.get_database_tree()
Query SQL to get all columns of each table
Returns column data sorted by table
Return type dict
dvha.db.sql_to_python.get_unique_list(input_list)
Remove duplicates in list and retain order
Parameters input_list (list) – any list of objects
Returns input_list without duplicates
Return type list
3.2. dvha.db 21
DVH Analytics, Release 0.9.7
3.2.3 DB Updater
3.3 dvha.tools
3.3. dvha.tools 22
DVH Analytics, Release 0.9.7
The code for DVHA’s MLC analysis has been exported to a stand-alone library.
• GitHub: mlca.dvhanalytics.com
• Docs: dvha-mlca.readthedocs.io
3.3. dvha.tools 23
DVH Analytics, Release 0.9.7
Parameters
• shapely_dict (dict) – output from get_shapely_from_sets_of_points
• sample_res (int, float) – If set to a numeric value, sample each polygon with this res-
olution (mm)
Returns a list of numpy arrays, each array is the x, y, z coordinates of the given point
Return type list
dvha.tools.roi_formatter.get_roi_coordinates_from_string(roi_coord_string)
Parameters
• sets_of_points (dict) – a “sets of points” formatted dictionary
• tolerance (bool, optional) – If set to a number, will use Shapely’s simplify on each
contour with the given tolerance
• preserve_topology (bool, optional) – Passed to Shapely’s simplify if
simplify_tolerance is set
Returns roi_slices which is a dictionary of lists of z, thickness, and a Shapely Polygon class object
Return type dict
dvha.tools.roi_formatter.points_to_shapely_polygon(sets_of_points)
3.3. dvha.tools 24
DVH Analytics, Release 0.9.7
3.3. dvha.tools 25
DVH Analytics, Release 0.9.7
Parameters
• oar (dict) – organ-at-risk as a “sets of points” formatted dictionary
• tv (dict) – treatment volume as a “sets of points” formatted dictionary
dvha.tools.roi_geometry.planes_to_voxel_centers(planes, res=1, max_progress=None)
Convert a sets of points into a 3D voxel centers within ROI
Parameters
• planes (dict) – a “sets of points” dictionary representing the union of the rois
• res (float) – resolution factor for voxels
• max_progress (float) – if not None, set the maximum progress bar value (with up-
date_dvh_progress)
Returns A list of 3D points inside the ROI defined by planes
Return type list
dvha.tools.roi_geometry.process_dth_string(dth_string)
Convert a dth_string from the database into data and bins DVHA stores 1-mm binned surface DTHs with an odd
number of bins, middle bin is 0.
Parameters dth_string – a value from the dth_string column
Returns counts, bin positions (mm)
Return type type
dvha.tools.roi_geometry.spread(roi)
3.3. dvha.tools 26
DVH Analytics, Release 0.9.7
3.3.5 Stats
The code from DVHA’s statistical modules have been exported to a stand-alone library, however, DVHA does not use
this internally (yet).
• GitHub: stats.dvhanalytics.com
• Docs: dvha-stats.readthedocs.io
Take numerical data from main app and convert to a format suitable for statistical analysis in Regression and Control
Chart tabs
class dvha.tools.stats.MultiVariableRegression(X, y, saved_reg=None)
Bases: object
Perform a multi-variable regression using sklearn
Parameters
• X (np.array) – independent data
• y (list) – dependent data
class dvha.tools.stats.StatsData(dvhs, table_data, group=1)
Bases: object
Class used to to collect data for Regression and Control Chart This process is different than for Time Series since
regressions require all variables to be the same length
Parameters
• dvhs (DVH) – data from DVH query
• table_data (dict) – table data other than from DVHs. Has keys of ‘Plans’, ‘Rxs’, ‘Beams’
with values of QuerySQL objects
add_variable(variable, values, units='')
Add a new variable to StatsData.data, will not over-write
Parameters
• variable (str) – variable name to be used as a key and plot title
• values (list) – values to be stored for variable
• units (str, optional) – Define units for display on plot
del_variable(variable)
Delete a variable from StatsData.data
Parameters variable (str) – variable name
get_X_and_y(y_variable, x_variables, include_patient_info=False)
Collect data for input into multi-variable regression
Parameters
• y_variable (str) – dependent variable
• x_variables (list) – independent variables
• include_patient_info (bool) – If True, return mrn, uid, dates with X and y
3.3. dvha.tools 27
DVH Analytics, Release 0.9.7
3.3. dvha.tools 28
DVH Analytics, Release 0.9.7
3.3. dvha.tools 29
DVH Analytics, Release 0.9.7
3.3. dvha.tools 30
CHAPTER
FOUR
DATA DICTIONARY
Each table below describes a SQL table (of the same name as the section header). This is manually generated, so best
to check out dvha.db.create_tables.sql and dvha.db.create_tables_sqlite.sql for any changes.
4.1 DVHs
31
DVH Analytics, Release 0.9.7
4.2 Plans
4.2. Plans 32
DVH Analytics, Release 0.9.7
4.3 Rxs
4.4 Beams
4.3. Rxs 33
DVH Analytics, Release 0.9.7
4.4. Beams 34
DVH Analytics, Release 0.9.7
4.4. Beams 35
CHAPTER
FIVE
CREDITS
• Dan Cutright
5.2 Contributors
• Mahesh Gopalakrishnan
• Arkajyoti Roy
• Aditya Panchal
• Max Grohmann
36
CHAPTER
SIX
• genindex
• modindex
• search
37
PYTHON MODULE INDEX
d
dvha.db.sql_connector, 13
dvha.db.sql_to_python, 21
dvha.models.dvh, 10
dvha.tools.name_prediction, 22
dvha.tools.roi_formatter, 23
dvha.tools.roi_geometry, 25
dvha.tools.stats, 27
38
INDEX
39
DVH Analytics, Release 0.9.7
method), 22 dvha.db.sql_to_python), 21
get_combined_fuzz_scores() get_unique_values()
(dvha.tools.name_prediction.ROINamePredictor (dvha.db.sql_connector.DVH_SQL method), 16
method), 23 get_volume_of_dose() (dvha.models.dvh.DVH
get_contour_sample() (in module method), 12
dvha.tools.roi_formatter), 23 get_X_and_y() (dvha.tools.stats.StatsData method), 27
get_control_limits() (in module dvha.tools.stats),
29 H
get_corr_matrix_data() (dvha.tools.stats.StatsData has_data (dvha.models.dvh.DVH property), 12
method), 28
get_database_tree() (in module I
dvha.db.sql_to_python), 21 ignore_dvh() (dvha.db.sql_connector.DVH_SQL
get_dicom_file_paths() method), 17
(dvha.db.sql_connector.DVH_SQL method), 15 import_db() (dvha.db.sql_connector.DVH_SQL static
get_dose_to_volume() (dvha.models.dvh.DVH method), 17
method), 10 initialize_database()
get_index_of_nan() (in module dvha.tools.stats), 29 (dvha.db.sql_connector.DVH_SQL method), 17
get_max_value() (dvha.db.sql_connector.DVH_SQL initialize_db() (in module dvha.db.sql_connector),
method), 15 20
get_min_value() (dvha.db.sql_connector.DVH_SQL insert_data_set() (dvha.db.sql_connector.DVH_SQL
method), 15 method), 17
get_p_values() (in module dvha.tools.stats), 30 insert_row() (dvha.db.sql_connector.DVH_SQL
get_percentile_dvh() (dvha.models.dvh.DVH method), 17
method), 11 is_file_sqlite_db() (in module
get_plan_index() (dvha.tools.stats.StatsData dvha.db.sql_connector), 20
method), 28 is_mrn_imported() (dvha.db.sql_connector.DVH_SQL
get_plan_values() (dvha.models.dvh.DVH method), method), 17
11 is_mrn_in_table() (dvha.db.sql_connector.DVH_SQL
get_planes_from_string() (in module method), 17
dvha.tools.roi_formatter), 24 is_point_inside_roi() (in module
get_ptv_counts() (dvha.db.sql_connector.DVH_SQL dvha.tools.roi_geometry), 25
method), 16 is_roi_imported() (dvha.db.sql_connector.DVH_SQL
get_resampled_x_axis() (dvha.models.dvh.DVH method), 18
method), 11 is_sql_table_empty()
get_roi_coordinates_from_planes() (in module (dvha.db.sql_connector.DVH_SQL method), 18
dvha.tools.roi_formatter), 24 is_sqlite_column_datetime()
get_roi_coordinates_from_shapely() (in module (dvha.db.sql_connector.DVH_SQL method), 18
dvha.tools.roi_formatter), 24 is_study_instance_uid_in_table()
get_roi_coordinates_from_string() (in module (dvha.db.sql_connector.DVH_SQL method), 18
dvha.tools.roi_formatter), 24 is_uid_imported() (dvha.db.sql_connector.DVH_SQL
get_roi_count_from_query() method), 18
(dvha.db.sql_connector.DVH_SQL method), 16 is_value_in_table()
get_row_count() (dvha.db.sql_connector.DVH_SQL (dvha.db.sql_connector.DVH_SQL method), 18
method), 16
get_rx_values() (dvha.models.dvh.DVH method), 11 M
get_shapely_from_sets_of_points() (in module min_distances_to_target() (in module
dvha.tools.roi_formatter), 24 dvha.tools.roi_geometry), 25
get_sql_function_value() module
(dvha.db.sql_connector.DVH_SQL method), 16 dvha.db.sql_connector, 13
get_standard_stat_dvh() (dvha.models.dvh.DVH dvha.db.sql_to_python, 21
method), 11 dvha.models.dvh, 10
get_stat_dvh() (dvha.models.dvh.DVH method), 11 dvha.tools.name_prediction, 22
get_summary() (dvha.models.dvh.DVH method), 11 dvha.tools.roi_formatter, 23
get_unique_list() (in module dvha.tools.roi_geometry, 25
Index 40
DVH Analytics, Release 0.9.7
Index 41