Comprehensive study of a novel thiophene-based polymer