The space between stars in galaxies is filled with interstellar gas. When close to hot young stars, this gas gets excited, producing emission lines that can be detected in a galaxy's spectrum. The first step of this project involves combining a sophisticated model for the gas emission developed at ANU, MAPPINGS, with a model of galaxy continuum emission that is widely used by extragalactic astronomers, MAGPHYS. The result will be a complete and physically consistent characterisation of the emission by stars, ionised gas, and dust in galaxies. The second step will be to measure the properties of SAMI galaxies from their observed spectra using the updated MAGPHYS code. For further information: email@example.com.