spectrophotometry diagnostic tool