In situ characterization