Text this: Optical and electronic characterization on polymeric membranes