Code Monkey home page Code Monkey logo

createverificationplan's Introduction

CreateVerificationPlan

createverificationplan's People

Contributors

ldclark avatar

Stargazers

 avatar  avatar

Watchers

 avatar

createverificationplan's Issues

External Beam Configuration not found

Hi,

we already discussed a bit concerning this script. I managed to understand it so far and adapted it to our clinical nomenclature. But unfortunately an error occurs: "External Beam configuration not found". I have seen that there was already a lot of discussion, but I havn't found a solution.
I already tried to change
"ExternalBeamMachineParameters MachineParameters =
new ExternalBeamMachineParameters(beam.TreatmentUnit.Id, beam.EnergyModeDisplayName, beam.DoseRate, beam.Technique.Id, string.Empty);"

to

"ExternalBeamMachineParameters MachineParameters =
new ExternalBeamMachineParameters(beam.TreatmentUnit.Id, beam.EnergyModeDisplayName, beam.DoseRate, beam.Technique.Id, "FFF");"

but it didn't work. Do you know where this error may stem from?

Best regards

Adding ReferencePoint to Verification plan

Hi,

do you know a trick to add a reference point with isocenter location to the new verification plan in the same script?

I get this error:
'Reference point can only be created for the plan that is currently open.'

here is a CodeSnippet:

        VVector isocenter = ssQA.Image.UserOrigin;
        // Create a verification plan that contains all fields (Composite).
        ExternalPlanSetup verificationPlan = CreateVerificationPlan(course, plan.Beams, plan, ssQA, calculateDose: false);
        ReferencePoint refpoint = verificationPlan.AddReferencePoint(ssQA.Structures.First(), isocenter, "Verifikation", "Verifikation");

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.