My understanding of the wavefunction is as follows. Say we have a photon. The wavefunction of the photon is simply a mathematical representation of the photon. If you were to take the information provided by the wavefunction and, say, graph it on a coordinate plane or something similar, it would have a wavelike shape. Is this correct? It's all I can gather from what I've read thus far.