Theoretical description of attosecond x-ray imaging and spectroscopy of electron dynamics | Synapse