pylinac icon indicating copy to clipboard operation
pylinac copied to clipboard

Only moving leaves setting for average RMS doesn't seem to be working in TrajectoryLog module

Open gbaltz opened this issue 2 years ago • 1 comments

First off, I couldn't find a way to pass this setting through when using TrajectoryLog.publish_pdf()

so what I did is open the log_analyzer.py in my venv and within the TrajectoryLog class, under the publish_pdf() def I changed the line to "f'Average RMS (mm): {self.axis_data.mlc.get_RMS_avg(only_moving_leaves=True)*10:2.2f}',"

image

but after making this change I never see any change in the reported average RMS. I have tried this with a few clinical log files now, and it seems to me it is always including the non-moving leaves because I am always getting reported average RMS ~0.01

gbaltz avatar Nov 19 '21 19:11 gbaltz

For example the Trajectory log below reports an Average RMS of 0.01 both if I run it using the defaults and if I run it with "only_moving_leaves=True". But if I just look at the plot I would guess the only moving leaves average should be larger than 0,01

image

gbaltz avatar Nov 19 '21 19:11 gbaltz