It looks as though when importing IC Profiler data points are incorrectly assigned in the x-axis. I assume this is a bug related to the profiler not having detectors on the x-axis at -0.5 and +0.5 cm.
I am expecting perfect symmetry of the beam profile in the horizontal axis.
-
What version of pylinac are you using (
pylinac.__version__
)?
3.2.0 -
I’ve read the documentation for this module?
Yes -
Post your code snippet
from pylinac import DeviceFieldAnalysis, Device
from pylinac import Protocol
my_file = r"C:\Data\6X_Sym.prs"
profile = DeviceFieldAnalysis(my_file, device=Device['PROFILER'])
profile.analyze(
protocol=Protocol.ELEKTA,
is_FFF=False,
edge_detection_method=Edge.FWHM,
)
print(profile.results_data().protocol_results["symmetry_horizontal"])
profile.plot_analyzed_image()
- Link your image set if applicable
Not sure how to attach my data file.