The influence of formulation and processing parameters on the thermal properties of a chitosan–epoxy prepolymer system