def METHOD_NAME(self):
    """Get the detector polarization angles from the quaternions"""
    for detname, detdata in self.detector_data.items():
        if "pol_angle_deg" in detdata or "pol_angle_rad" in detdata:
            continue
        quat = detdata["quat"]
        theta, phi = qarray.to_position(quat)
        yrot = qarray.rotation(YAXIS, -theta)
        zrot = qarray.rotation(ZAXIS, -phi)
        rot = qarray.norm(qarray.mult(yrot, zrot))
        pol_rot = qarray.mult(rot, quat)
        pol_angle = qarray.to_angles(pol_rot)[2]
        detdata["pol_angle_rad"] = pol_angle
    return