Text this: Characterization of the hemithioindigo photoswitch and its derivatives with x-ray photoabsorption and photoemission spectroscopies.