unit agnostic measurement extraction