The effects of calcium and magnesium ions on the secondary structure of calcium binding component of troponin