Invalid syntax in my previous commit. Fixed.
Used numpy instead of np in new code. Fixed
Changed Sensitivity Analysis to the general method
I think the new, general sensitivity analysis is working right for Main Sequence stars.
Changed Sensitivity Analysis to the general method
Switched interpolation algorithm in the pre-main-sequence tracks code to use scipy.interpolate.griddata instead of my home-made interpolation scheme. Results are nearly identical, but code is more readable
Deleted some code which was commented out
SpectralTypeRelations.PreMainSequence can take Baraffe tracks as well as the Padova ones. They are better for low-mass stars. It also provides a function to get the factor between the tracks predicted MS parameter and the same one for MS relations. Finally, you can now input the temperature to the GetMainSequenceAge method and it will iterate until it gets a consistent MS age for that temperature. Works nicely!
Added some better values for Main sequence relations for B stars. The mass, radius, and temperature functions as a function of spectral type are quite smooth, so I am good with them now