Linear optical properties of deformed carbon nanotubes