Neural networks and 'ghost' electrons accurately reconstruct