Transformations of pyrite in different associations during pyrolysis of coal