Making Spiral Arm Maps with whampy
¶
The SkySurvey
class has a method :method:`~whampy.whampyTableMixin.get_spiral_slice` to quickly extract
sky section maps with the survey using tracks in longitude-velocity space.
whampy
comes pre-loaded with spiral arm tracks from `Reid et al. 2016`_.
>>> from whampy.skySurvey import SkySurvey>>> # Load Survey >>> survey = SkySurvey()>>> # Extract Perseus Arm Map >>> perseus_arm = survey.get_spiral_slice(track = "perseus", lrange = [0,50]) >>> # Sky Map>>> fig = perseus_arm.intensity_map(colorbar = True, s_factor = 2,… cbar_kwargs={“orientation”:”horizontal”})