Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic analysis in Portal Dosimetry? #120

Open
KasperLL opened this issue Dec 16, 2021 · 7 comments
Open

Automatic analysis in Portal Dosimetry? #120

KasperLL opened this issue Dec 16, 2021 · 7 comments

Comments

@KasperLL
Copy link

Hi,

Is it possible to automate the gamma-analyses in Portal Dosimetry via the Portal Dosimetry scripting interface?
If have successfully code a script that retrieves analysis results, but wonder if its possible to apply several gamma-analysis-templates via the script and then retrieve the results.

Best regards
Kasper

@Kiragroh
Copy link

I have posted this kind of script a while back.

https://github.com/Kiragroh/ESAPI_DataMiner_PortalDosimetry

But not many comments and some code will seem strange. this is often the case because the PD-API is not improved or debugged in the last years like the Eclipse API.

Extra link for similar script from someone else:
https://github.com/UNLV-MedicalPhysics/PD_AdvancedAnalysis

@KasperLL
Copy link
Author

KasperLL commented Feb 1, 2022 via email

@StyraxBenzoin
Copy link

Hi @KasperLL,

Thank for the response. Sorry I unintentionally deleted my comment. But yes, that would be great. I was just looking for a solution to pull gamma pass results from PD from the ones we've already performed, so no need for automatic analysis (yet!). I'm okay with python but very beginner C# and just working through the varian code examples. Any help or pre-made solution would be a great help, even if it's just a template to work from and get started.

Kind regards,

Ben

@Kiragroh
Copy link

Kiragroh commented Feb 1, 2022

You can find a working script on my GitHub

@StyraxBenzoin
Copy link

@Kiragroh Okay I thought you were saying that was for applying just the analysis automatically. I'll take a look. Thanks!

@Kiragroh
Copy link

Kiragroh commented Feb 1, 2022

Sorry. Did not realize I commented before.^^
Reading is possible too. Did not used PD-API for years but remember that both is possible but somewhat difficult to code with this old API.^^

@avalgoma
Copy link

avalgoma commented Feb 2, 2022

Sorry. Did not realize I commented before.^^ Reading is possible too. Did not used PD-API for years but remember that both is possible but somewhat difficult to code with this old API.^^

@Kiragroh it worked nicely to me. I adapted your DataMinerPD script as a Binary Plugin DLL within my Portal Dosimetry Workspace.

Thanks for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants