Finish my computer program (Python)

Job ID: 36642252

Budget: $250 – $750 USD

Preface: I started to make a simple Python script for my professional practice. It is intended to be used by myself, and nobody else. It is intended to be used in a medical practice to improve the robustness, and remove some uncertainty, of a medical treatment administered within a niche modality. It is not intended for retail sale (no FDA clearance required).

Purpose: The purpose of this software is to visualize, and analyze, the planned positions of a medical linear accelerator in relation to the external surface of a patient receiving radiation therapy.

Design: The software should prompt the user for the files necessary to perform this analysis--an RTStruct DICOM file containing a contour named 'Body', and a .csv file containing the planned (x, y, z) coordinates of the planned source and target points of the medical accelerator, from which the exact position and orientation of the medical accelerator can be determined (except one degree of freedom, the determination of which is outside the scope of this project).

As a minimally acceptable piece of software, the script should display, in 3D, the patient's external surface, the central axis of the linear accelerator (a line), and a rough model (two cylinders) of the accelerator at its planned position. The user should be able to click left/right buttons to cycle through the various planned positions of the accelerator (again, positions are defined by source-target coordinates provided by the user in a .csv file). The 3D visualization should be user interactive, allowing the user to rotate, pan, and zoom on the 3D models. It doesn't need to look pretty, it just needs to work.

As a maximally developed piece of software, the script would also sort the positions of the linear accelerator to match the order in which they are planned to be used for patient treatment. The script would also determine, for each planned position, the shortest distance between the surface of the modeled linear accelerator and the surface of the patient model. It would also generate a simple .pdf report of this analysis (performed for all planned positions), with some graphics.

A sample set of RTStruct DICOM file (mannequin model, not a real person) and .csv file would be provided. Specifications of the dimensions of the medical accelerator would also be provided (length, radius, etc.)

As mentioned previously in this description, this project is already started. It uses PyQt library for user interface, PyDicom and numpy to extract patient body surface contour information, VTK to display body contour and modeled medical accelerator. I could probably finish this project on my own (with the help of ChatGPT), but now I want to get a quote to see how much it would cost to expedite the development of this project by a professional. I don't expect it would require more than 10 hours for a professional to complete this... probably not more than 5 hours. Maybe less than 2 hours. Again, this is a simple script, with a very, very narrow use-case.

Willing to pay in Bitcoin (BTC).
Related categories: Python 3D Rendering Programming Data Analysis Geometry