Non-invasive materials analysis