Aligning XAI with EU Regulations for Smart Biomedical Devices: A Methodology for Compliance Analysis