A Method for Characterizing Thermoset Polyimides