Included Tc collection in analysis.py
Added dopant activation to analysis.py