radio-astro-tools/spectral-cube — pull request #155 by keflavich (2014-10-09 07:33:04+00:00)
Title: Preserve the spectral units when creating an output header: rd. 2 - refactor!

The necessary code for header unit preservation was already present, so it gets used appropriately now. Also, new cubes inited from scratch will also preserve header units given the chance.