Say we have a particle, like an electron in a double slit experiment. And say that we have a measuring apparatus to detect it right after its fired out of the electron gun. And after that it goes through the double slit and hits the detector plate. Would we see an interference pattern? If the electron is measured right after it gets shot out of the gun it's wave function would collapse. So when it keeps traveling through the double slit would it create an interference pattern, even though it already collapsed before?