Magnetic response of dendritic structures at infrared frequencies