Open kakirastern opened 5 years ago
Or, I can embed this "section" bit in an expanded tutorial to cover dealing with a raw planetary nebula datacube that needs bad pixel fixing by convolution to replace bad data... More info can be found at http://docs.astropy.org/en/stable/convolution/#using-astropy-s-convolution-to-replace-bad-data. I can add spatial and spectral smoothing for the datacube as well in the expanded version.
On going progress on the proposed tutorial can be tracked on Google Colab at: https://drive.google.com/file/d/1MEW9J3o-Mpryd84gvO2tvvPaTdYsvdIf/view?usp=sharing
Goal: To show how SpectralCube can be used to generate a velocity map by way of the 1st moment. Standard procedure normally involves conversion of (3rd dimension) units using
with_spectral_unit
from a length one into a velocity one, as well as slicing of the cube withspectral_slab
to get the chunk actually containing the target (emission) line.The tutorial will aim for both clarity and brevity in its construction. A small datacube will be provided for the stated purpose.