astropy / astropy-tutorials

Tutorials for the Astropy Project
BSD 3-Clause "New" or "Revised" License
295 stars 178 forks source link

A new brief tutorial on how to use SpectralCube to generate a velocity map #328

Open kakirastern opened 5 years ago

kakirastern commented 5 years ago

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 with spectral_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.

kakirastern commented 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.

kakirastern commented 4 years ago

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