Schematic of a FBG sensor with reflected and transmitted spectra