The transport of water in a tetrafunctional epoxy resin by near-infrared Fourier transform spectroscopy