OpenExoplanetCatalogue / oec_web

HTML5 interface to the Open Exoplanet Catalogue
30 stars 7 forks source link

Pulsar Habitable zone #21

Open ziphead opened 7 years ago

ziphead commented 7 years ago

Flask failure when opening PSR B1257+12 page http://www.openexoplanetcatalogue.com/planet/PSR%201257%2B12%20A/

visualizations.py, line 160
The Algorithm tries to set a default temperature for the star by its spectral type (pulsar) which is not on its list.

ziphead commented 7 years ago

@hannorein I can fix it :) But I need your advice, Hanno. Wikipedia says that the average surface temperature of a neutron star is about 6×10^5 K. Can I set this value by default for pulsar spectral class?

hannorein commented 7 years ago

I think the best thing would be to not calculate the Habitable Zone around a neutron star. There are many reasons why it will not be habitable...