A tool to measure the SDI of a sample