The electrical conductivity of an ionized gas in a magnetic field, with applications to the solar atmosphere and the ionosphere | Synapse