Thermal analysis of polypyrrole oxidation in air