Pymonaco y Autoflow herramientas de automatizacin para planificador

  • Slides: 17
Download presentation
Pymonaco y Autoflow, herramientas de automatización para planificador Elekta Monaco Rafael Ayala Lázaro Servicio

Pymonaco y Autoflow, herramientas de automatización para planificador Elekta Monaco Rafael Ayala Lázaro Servicio de Dosimetría y Radioprotección H. G. U. Gregorio Marañón

SITUACIÓN HGUGM 2018 • MAÑANAS: 8 potenciales usuarios para 3 Monacos • TARDES: 3

SITUACIÓN HGUGM 2018 • MAÑANAS: 8 potenciales usuarios para 3 Monacos • TARDES: 3 potenciales usuarios para 3 Monacos Reparto de técnicas de irradiación AÑO 2018 620 PACIENTES CON MONACO EN 2018 (34%) [CATEGORY NAME], [VALUE ] Planificaciones complicadas tardaban más de 2 horas en optimizar SARCOMAS GRANDES , NEUROEJES …. [CATEGORY NAME], [VALUE ]

Pymonaco Control programático del planificador y cola de trabajo

Pymonaco Control programático del planificador y cola de trabajo

Pywinauto © Mark Mc Mahon and Contributors, 2006 -2018 • “Pywinauto es una librería

Pywinauto © Mark Mc Mahon and Contributors, 2006 -2018 • “Pywinauto es una librería de automatización de entornos gráficos (GUI) escrito en Python y bien desarrollado para Windows. En su forma más básica permite enviar acciones de teclado o ratón a cuadros de diálogo y controles en Windows y Linux, interacciones más complejas solo están soportadas en Windows. ” Pymonaco (HGUGM) Módulo basado en Pywinauto para control del planificador Monaco.

PROGRAMADOR PARA MONACO

PROGRAMADOR PARA MONACO

PROGRAMADOR DE TAREAS PARA MONACO Crear nueva tarea COLA DE CÁLCULO

PROGRAMADOR DE TAREAS PARA MONACO Crear nueva tarea COLA DE CÁLCULO

Autoflow Planificación Automática

Autoflow Planificación Automática

Modificación de planificaciones de forma externa al planificador (archivo. hyp) !VOIDEF name=PTV 3000 storenodose=0

Modificación de planificaciones de forma externa al planificador (archivo. hyp) !VOIDEF name=PTV 3000 storenodose=0 conformalavoidance=0 !COSTFUNCTION type=qp usedensity=0 effectweighting=0 totalvolume=0 sanesurfacedose=1 multicriterial=0 relaxfirst=0 usebiasdose=1 shrinkmargin=0 alpha=0 beta_alpha=0 celldensity=0 refdose=0 functreserve=50 refvolume=0. 9800000009 exponent=1 thresholddose=1 isoconstraint=30 isoeffect=29. 554040539001843 relativeimpact=0 status=1 manual=0 weight=1 !END !COSTFUNCTION type=o_q usedensity=0 effectweighting=0 totalvolume=0 sanesurfacedose=0 multicriterial=0 relaxfirst=0 usebiasdose=1 shrinkmargin=0 alpha=0 beta_alpha=0 celldensity=0 refdose=0 functreserve=50 refvolume=0 exponent=1 thresholddose=30 isoconstraint=1 isoeffect=0. 95277031351470531 relativeimpact=0. 55780339594463191 status=1 manual=0 weight=1. 000000004 !END type=u_q usedensity=0 effectweighting=0 totalvolume=0 sanesurfacedose=1 multicriterial=0 relaxfirst=1 usebiasdose=1 shrinkmargin=0 alpha=0 beta_alpha=0 celldensity=0 refdose=0 functreserve=50 refvolume=0 exponent=1 thresholddose=30 isoconstraint=0. 5 isoeffect=0. 10634201612522684 relativeimpact=0 status=1 manual=0 weight=0. 01 !END

Optimización en Monaco

Optimización en Monaco

AUTOFLOW

AUTOFLOW

Ajuste de isoconstraints Apretar constraints Relajar constraints cv>0. 95 cv<=0. 95 Relative impact New

Ajuste de isoconstraints Apretar constraints Relajar constraints cv>0. 95 cv<=0. 95 Relative impact New isoconstraint < 0. 25 Isoeffect × 0. 92 [0. 25, 0. 75) Isoeffect × 0. 95 [0. 75, 1) Isoeffect × 0. 98 = 1 Isoeffect (unchanged) New isoconstraint Isoeffect > isoconstraint No se modifican las funciones de coste pertenecientes a PTVs ni Maximum Dose Isoeffect × 1, 05

Estudio de tratamientos de próstata Ayala R, Ruiz G, Valdivielso T. Automatizing a nonscripting

Estudio de tratamientos de próstata Ayala R, Ruiz G, Valdivielso T. Automatizing a nonscripting TPS for optimizing clinical workflow and reoptimizing IMRT/VMAT plans. Med Dosim. abril de 2019

Vejiga Prescripción Recto PTV 56 PTV 70 CABEZA FEMORALES 71 pacientes

Vejiga Prescripción Recto PTV 56 PTV 70 CABEZA FEMORALES 71 pacientes

Plantilla • 1 Haz de VMAT con doble arco • FLUENCE SMOOTHING HIGH •

Plantilla • 1 Haz de VMAT con doble arco • FLUENCE SMOOTHING HIGH • CONSTRAINED OPTIMIZATION Tiempo promedio de secuencia AUTOFLOW: 2 horas y media Intel Xeon E 5 -2695 / 24 cores / 32 GB RAM Structure Name PTV 7000 PTV 5600 Rectum Bladder Patient Cost Function 7000 6750 5600 Initial Isoconstraint 7000 c. Gy 100 c. Gy 5600 c. Gy 120 c. Gy Quadratic underdose Serial Parallel Conformality 5600 4000 2800 5200 3500 50 c. Gy 6000 c. Gy 40% 80% 6000 c. Gy 45% 70% 0. 9 Maximum dose 7700 c. Gy Quadratic overdose 3500 120 c. Gy Quadratic overdose 2500 150 c. Gy Target penalty Quadratic overdose Quadratic underdose Target penalty Quadratic overdose Threshold c. Gy Additional Settings Min. vol: 98% Shrink margin: 0. 7 cm Power law exp. : 10 Power law exp: 2 Power law exp: 10 Power law exp: 2 Optimize over all voxels: Yes Shrink margin: 2 cm Shrink margin: 3 cm

PLANTILLA INICIAL AUTO 3

PLANTILLA INICIAL AUTO 3

RESULTADOS ESTUDIO Prueba de los rangos con signo de Wilcoxon (two-sided Wilcoxon signed-rank) -

RESULTADOS ESTUDIO Prueba de los rangos con signo de Wilcoxon (two-sided Wilcoxon signed-rank) - Significación estadística p<0, 05 PTVs PTV 70 Gy PTV 56 Gy DV 95% (%) DV 107% (%) DHI DCI median -0. 17 0. 00 -0. 04 -0. 03 0. 73 0. 00 -0. 03 p-value 0. 018 0. 077 0. 051 0. 004 0. 342 0. 023 0. 026 <0. 001 OARs RECTO VEJIGA DV 30 Gy (%) DV 40 Gy (%) DV 60 Gy (%) DV 70 Gy (%) DDmean (c. Gy) DV 35 Gy (%) DV 50 Gy (%) DV 70 Gy (%) DDmean (c. Gy) median -3. 17 -0. 15 -1. 03 -0. 45 -128. 30 -7. 14 -2. 67 -0. 17 -451. 30 p-value 0. 014 0. 358 0. 007 <0. 001 0. 096 <0. 001

https: //bitbucket. org/hgugmradiofisica/pymonaco/src/master/ OPEN SOURCE

https: //bitbucket. org/hgugmradiofisica/pymonaco/src/master/ OPEN SOURCE