Keywords: density functional calculations; photochemistry; quantum defects; quantum emitters; single-walled carbon nanotubes.