After performing high-pressure calculations for my ABO4 compounds using the VASP software, I am now interested in fitting the Birch-Murnaghan equation of state to either pressure versus volume or energy versus volume data.
I would appreciate guidance on the best fitting procedure and, if possible, the provision of a Python or MATLAB script for this purpose. Your assistance would be greatly appreciated.