Measuring tree-ring samples