RECONSTRUCTING THE SPECTRUM OF THE PREGALACTIC DENSITY FIELD FROM ASTRONOMICAL DATA