Mathematical modelling for opto-thermal measurements on optical and thermal gradient materials