ladsantos / p-winds

Python implementation of Parker wind models for exoplanet atmospheres
https://p-winds.readthedocs.io/
MIT License
10 stars 5 forks source link

fixing ionization bug #28

Closed astroshrey closed 3 years ago

astroshrey commented 3 years ago

In the radiative_processes_exact() calculation in hydrogen.py, the electron number density was not being considered. this leads to getting the right answer at low altitudes (where ionization is small), but not at high altitudes. It is fixed here.

ladsantos commented 3 years ago

Thanks, I'll review it soon!