I have this error message for fwxm in
x_rad_center = round(x_prof.fwxm_center(interpolate=True)[0], 2)
AttributeError: ‘SingleProfile’ object has no attribute ‘fwxm_center’
.
I am intriducing this class :
“from pylinac.core.image import DicomImage, ArrayImage, FileImage
from pylinac.core.profile import SingleProfile
from pylinac import ct
import pylinac
import pydicom
from pydicom.data import get_testdata_files
import matplotlib.pyplot as plt
import matplotlib.patches as patches
import numpy as np
import math
import enum”