The school of thought in psychology that turned away from the study of consciousness during the first half of the last century was