Scripts for fitting an data with a simple polytrope function