Hi, I’m new to OpenTPS and have been trying to run the examples in the repository on my computer. In this case, I ran the “photonPlanCreationAndDoseCalculation” example, but I’m getting this error. I installed it step by step as directed in the GitLab repository. I would appreciate your help, thank you very much!
Hello Nicolas,
Unfortunately, I wasn’t able to reproduce the error. Could you please provide more information about the OpenTPS version you’re using, as well as details about your virtual environment (e.g., venv or conda)? Please note that we recommend using a conda environment.
Romain Schyns
The OpenTPS team
Well, as I mentioned earlier, I’m new to using OpenTPS, so I find it very difficult to understand how the application works. I need to fully understand how it functions. I’m working on this for my final university project, and one of my objectives is to understand how OpenTPS generates the dose deposition matrix. I would really appreciate any guidance to help me achieve that goal. Thank you very much!
I’m sorry, but it’s difficult for me to assist you with the limited information provided.
If you need guidance, please visit our website where you’ll find detailed installation instructions and examples of how to use the library.
You can also check out our youtube for tutorial videos
I hope this will help you
Sincerely,
Romain Schyns
OpenTPS team
Do you have any sample patient data I can use? I haven’t found any like the ones used in the video.
Unfortunately, we can’t share clinical data online. However, you may be able to obtain such data through your organization or explore alternative sources available online.
Romain Schyns
OpenTPS team
I understand, thank you very much. I have been looking at the OpenTPS modules where the plan is created. When is the dose desposition matrix created? I’m very interested in how do you get it
The beamlet matrix is computed using a Monte Carlo simulation. The embedded simulation software is called MCsquare. You can refer to the examples to learn how to use it.
I was watching the OpenTPS seminar on YouTube where you said you’d do an example at the end of the seminar, but that part isn’t in the video. Do you have any explanatory videos on how to do the examples? And how can I reference MCsquare? Is it a module or an external program? Sorry if I’m too inquisitive, but I’m very interested in the program and how to export the matrix.
If you want to access the dose matrix, you need to use the core package rather than the GUI.
The dose matrix can be accessed after it has been computed using MCsquare, which is a separate program embedded within OpenTPS.
This process is demonstrated in the Simple dose computation example example, which you can refer to in order to learn how to use MCsquare and access the resulting dose matrix.
Romain Schyns
OpenTPS team
Hi Nicolas,
Happy to help a little more here. However, you need to clarify some things. What is your goal exactly? What do you want to export exactly?
- the beamlet matrix,
- the dose after a plan has been optimised in OpenTPS
- the dose calculated by MCsquare for a given plan (RTplan in DICOM format)
if it is 1. you can follow the path "\openTPS_workspace\Simulations\MCsquare_simulation\Outputs" and you can find Sparse_Dose.txt with information about the beamlet matrices simulated (one if you are in regular optimisation or several if you are in robust), and the Sparse_Dose.bin with the actual matrix(ces)
if it is 2 or 3, you will end up with a final dose calculation in .mhd or even DICOM format if you wish to export it, both format are possible