Masquin Hubert, Psychiatre à Aix-en-provence