not sure what @Cadair means with this comment … but anyway, ``is False`` is a code-smell. This line should be: ``if not photospheric:``.