Update DataAnalysisFunctions.py

implementation of compute_social_temp