natashabatalha / virga

A Cloud Model for Exoplanets and Brown Dwarfs
https://natashabatalha.github.io/virga/
28 stars 13 forks source link

New vfall #18

Closed caoimherooney11 closed 4 years ago

caoimherooney11 commented 4 years ago

justdoit.py and direct_mmr_solver.py updated with Khan-Richardson drag in vfall calculation. Can switch between original and new vfall calculations using og_vfall=True and og_vfall=False respectively.

justdoit.py and direct_mmr_solver.py updated with new alpha calculation for power-law approximation using scipy.optimize.curve_fit.