I want to know the answer to the following question:
Along with quantum physics generally, what scientific doctrine caused some physicists to embrace idealism?
All the background I'm provided with is that "In The Grammar of Science, Preface to the 2nd Edition, 1900, Karl Pearson wrote, "There are many signs that a sound idealism is surely replacing, as a basis for natural philosophy, the crude materialism of the older physicists."". Is that enough to answer the question?