Hi! Im currently using the Multi-Target Winston-Lutz module. I obtained 7 DICOM images varying the gantry angle (at 0º, 90º, 135º, 180º, 240º, 290º and 325º) on a certain calibration phantom (5 spheres, 7.5mm size) with a 10cm x 10cm radiation field size.
I got no problem with the bb at the centre, but when the program try to analize the bb nº1, it drops this error:
ValueError: Did not find any field/bb pairs for bb: {‘name’: ‘1’, ‘offset_left_mm’: 25, ‘offset_up_mm’: -30, ‘offset_in_mm’: -10, ‘bb_size_mm’: 7.5, ‘rad_size_mm’: 100}
The radiation field size is correct (but i dont know why it is necessary to start the calculation), could it be that the positions are not correct?
the .dcm images contains the data of the gantry angle (359.953566344993º, 135.002487499922º, 180.003316672024º, 240.002211109255º, 289.997973118414º, 325.002303239467º and 89.9950249508693º) in that order, its that relevant?
i got this message too: “Non-zero couch angles not yet allowed. Dropped 6 images” what does that means?
Thank you! I hope someone can help me!
I will drop my code here:
used_rad_size = 100
bb_size = 7.5
bbs_vision = [
{
“name”: “Iso”,
“offset_left_mm”: 0,
“offset_up_mm”: 0,
“offset_in_mm”: 0,
“bb_size_mm”: bb_size,
“rad_size_mm”: used_rad_size,
},
{
“name”: “1”,
“offset_left_mm”: 25,
“offset_up_mm”: -30,
“offset_in_mm”: -10,
“bb_size_mm”: bb_size,
“rad_size_mm”: used_rad_size,
}, # 7.55mm BB1
{
“name”: “2”,
“offset_left_mm”: 15,
“offset_up_mm”: -15,
“offset_in_mm”: 10,
“bb_size_mm”: bb_size,
“rad_size_mm”: used_rad_size,
}, # 7.55mm BB2
{
“name”: “4”,
“offset_left_mm”: -20,
“offset_up_mm”: 10,
“offset_in_mm”: -20,
“bb_size_mm”: bb_size,
“rad_size_mm”: used_rad_size,
}, # 7.55mm BB4
{
“name”: “5”,
“offset_left_mm”: -30,
“offset_up_mm”: 20,
“offset_in_mm”: 20,
“bb_size_mm”: bb_size,
“rad_size_mm”: used_rad_size,
}, # 7.55mm BB5
]
wl.analyze(bb_arrangement=bbs_vision)
wl.plot_images()
print to PDF
wl.publish_pdf(“mywl.pdf”)