code comments to electron trajectory