Download this as a Jupyter notebook!

Basics of Marvin

In this notebook, you will learn the common core functionality across many of the Marvin Tools. This includes the basics of accessing and handling MaNGA data from different locations, as well as a beginners guide of interacting with data via the core tools of Cubes and Maps. Much of this information can be found in the Getting Started section of the Marvin documentation.

Table of Contents

## Common Core Functionality

Marvin Tools provides the core functionality for accessing MaNGA data with Marvin. At the lowest level they are class wrappers around data products or elements (datacubes, maps, and spaxels). Their purpose is to provide a more natural way to interact with the data, unconstrained by specific data storage architectures such as files or databases, or by data location such as a laptop or remote server.

All Marvin Tools are built off a set of common core functionalities and features, and thus behave in very similar ways. There are four main classes provided in Marvin: the Cube, the RSS, the Maps, and the ModelCube. We will start by focusing on a Marvin Cube to demonstrate the common features and handling of Marvin Tools. Everything discussed here also applies to any of the other available Marvin Tools listed above.

Let’s start by importing the Marvin Cube class.

[13]:
from marvin.tools import Cube

You may see the info message No release version set. Setting default to DR15. The default data release Marvin uses is DR15. For this tutorial, we will be using DR15 data so there is no need to do anything further. In general, to change which release Marvin uses, we can use the Marvin config.setRelease method on the config object.

[14]:
from marvin import config
# set the release to DR15
config.setRelease("DR15")
### Data Access Modes

Let’s instantiate our first cube, for galaxy with plate-IFU designation 8485-1901. Each marvin tool takes a string id input and can one of: a string filepath and name, a plate-IFU designation, or a manga-ID designation. Marvin will attempt to identify the input format and properly load the target data.

[18]:
# instantiate a cube for 8485-1901
cube = Cube('8485-1901')
cube
[18]:
<Marvin Cube (plateifu='8485-1901', mode='local', data_origin='file')>

Once instantiated, each marvin tool indicates a mode and a data-origin. Note that mode="local" and data_origin="file". This indicates that we have accessed a file from our local filesystem. Our cube now has a filename attribute indicating its location on disk.

[20]:
# print the local filename
cube.filename
[20]:
'/Users/Brian/Work/sdss/sas/dr15/manga/spectro/redux/v2_4_3/8485/stack/manga-8485-1901-LOGCUBE.fits.gz'

What if we won’t have the MaNGa data products for our target of interest? We can specify the plateifu or mangaid of the target and Marvin will access it remotely. Let’s open a cube for 8485-1902.

[132]:
remote_cube = Cube('8485-1902')
remote_cube
[132]:
<Marvin Cube (plateifu='8485-1902', mode='remote', data_origin='api')>

Now note that mode="remote" and data_origin="api". This indicates the cube has been remotely loaded using the built-in Marvin API. By specifying an input plateifu or mangaid, marvin will always first try to access the data locally, and then fall back to remote access. You can also explicitly load a file using the filename keyword argument.

[23]:
# Explicitly load a cube from a file on disk
filename = '/Users/Brian/Work/sdss/sas/dr15/manga/spectro/redux/v2_4_3/8485/stack/manga-8485-1901-LOGCUBE.fits.gz'
cube = Cube(filename=filename)
cube
[23]:
<Marvin Cube (plateifu='8485-1901', mode='local', data_origin='file')>
### Interacting with Data Content

Regardless of how you load an object, the way we interact with all the tools, and the way they behave, is the same. They also all provide some quick access to basic metadata, like coordinates, header information, and WCS.

[42]:
print('Target Coordindates:', cube.ra, cube.dec)
print('Header:')

# access the PRIMARY header for the current object
cube.header
Target Coordindates: 232.544703894 48.6902009334
Header:
[42]:
XTENSION= 'IMAGE   '           / IMAGE extension
BITPIX  =                  -32 / Number of bits per data pixel
NAXIS   =                    3 / Number of data axes
NAXIS1  =                   34 /
NAXIS2  =                   34 /
NAXIS3  =                 4563 /
PCOUNT  =                    0 / No Group Parameters
GCOUNT  =                    1 / One Data Group
AUTHOR  = 'Brian Cherinka & David Law <bcherin1@jhu.edu, dlaw@stsci.edu>' /
VERSDRP2= 'v2_4_3  '           / MaNGA DRP version (2d processing)
VERSDRP3= 'v2_4_3  '           / MaNGA DRP Version (3d processing)
VERSPLDS= 'v2_52   '           / Platedesign Version
VERSFLAT= 'v1_31   '           / Specflat Version
VERSCORE= 'v1_6_2  '           / MaNGAcore Version
VERSPRIM= 'v2_5    '           / MaNGA Preimaging Version
VERSUTIL= 'v5_5_32 '           / Version of idlutils
VERSIDL = 'x86_64 linux unix linux 7.1.1 Aug 21 2009 64 64 ' / Version of IDL
BSCALE  =              1.00000 / Intensity unit scaling
BZERO   =              0.00000 / Intensity zeropoint
BUNIT   = '1E-17 erg/s/cm^2/Ang/spaxel' / Specific intensity (per spaxel)
MASKNAME= 'MANGA_DRP3PIXMASK'  / Bits in sdssMaskbits.par used by mask extension
TELESCOP= 'SDSS 2.5-M'         / Sloan Digital Sky Survey
INSTRUME= 'MaNGA   '           / SDSS-IV MaNGA IFU
SRVYMODE= 'MaNGA dither'       / Survey leading this observation and its mode
PLATETYP= 'APOGEE-2&MaNGA'     / Type of plate (e.g. MaNGA, APOGEE-2&MANGA)
OBJSYS  = 'ICRS    '           / The TCC objSys
EQUINOX =              2000.00 /
RADESYS = 'FK5     '           /
LAMPLIST= 'lamphgcdne.dat'     /
TPLDATA = 'BOSZ_3000-11000A.fits' /
NEXP    =                    9 / Total number of exposures
EXPTIME =              8100.87 / Total exposure time (seconds)
BLUESN2 =              19.9834 / Total SN2 in blue channel
REDSN2  =              42.7417 / Total SN2 in red channel
AIRMSMIN=              1.03987 / Minimum airmass
AIRMSMED=              1.04708 / Median airmass
AIRMSMAX=              1.08221 / Maximum airmass
SEEMIN  =              1.17790 / Best guider seeing
SEEMED  =              1.30425 / Median guider seeing
SEEMAX  =              1.42179 / Worst guider seeing
TRANSMIN=             0.802254 / Worst guider transparency
TRANSMED=             0.831209 / Median guider transparency
TRANSMAX=             0.839501 / Best guider transparency
MJDMIN  =                57132 / MJD of first exposure
MJDMED  =                57132 / MJD of median exposure
MJDMAX  =                57132 / MJD of last exposure
DATE-OBS= '2015-04-20'         / Date of median exposure
MJDRED  =                58198 / MJD of the reduction
DATERED = '2018-03-21'         / Date of the reduction
MNGTARG1=                 2336 / manga_target1 maskbit
MNGTARG2=                    0 / manga_target2 maskbit
MNGTARG3=                    0 / manga_target3 maskbit
IFURA   =        232.544700000 / IFU R.A. (J2000 deg.)
IFUDEC  =        48.6902010000 / IFU Dec. (J2000 deg.)
OBJRA   =        232.544703894 / Object R.A. (J2000 deg.)
OBJDEC  =        48.6902009334 / Object Dec. (J2000 deg.)
CENRA   =        234.064260000 / Plate center R.A. (J2000 deg.)
CENDEC  =        48.5898740000 / Plate center Dec. (J2000 deg.)
PLATEID =                 8485 / Current plate
DESIGNID=                 8980 / Current design
IFUDSGN =                 1901 / ifuDesign
FRLPLUG =                   29 / Plugged ferrule
PLATEIFU= '8485-1901'          / PLATEID-ifuDesign
CARTID  = '3       '           / Cart(s) used
HARNAME = 'ma060   '           / Harness name(s)
METFILE = 'ma060-56887-1.par'  / IFU metrology file(s)
MANGAID = '1-209232'           / MaNGA ID number
CATIDNUM= '1       '           / Primary target input catalog
PLTTARG = 'plateTargets-1.par' / plateTarget reference file
DRP3QUAL=                    0 / DRP-3d quality bitmask
IFUGLON =        78.9550411299 / IFU Galactic longitude (deg)
IFUGLAT =        52.6212190954 / IFU Galactic latitude (deg)
EBVGAL  =            0.0144335 / Galactic reddening E(B-V)
GFWHM   =              2.46769 / Reconstructed FWHM in g-band (arcsec)
RFWHM   =              2.47181 / Reconstructed FWHM in r-band (arcsec)
IFWHM   =              2.45516 / Reconstructed FWHM in i-band (arcsec)
ZFWHM   =              2.43769 / Reconstructed FWHM in z-band (arcsec)
CTYPE3  = 'WAVE-LOG'           /
CRPIX3  =                    1 / Starting pixel (1-indexed)
CRVAL3  =        3621.59598486 / Central wavelength of first pixel
CD3_3   =       0.833903304339 / Initial dispersion per pixel
CUNIT3  = 'Angstrom'           /
CRPIX1  =              18.0000 /Reference pixel (1-indexed)
CRPIX2  =              18.0000 /Reference pixel (1-indexed)
CRVAL1  =        232.544700000 /
CRVAL2  =        48.6902010000 /
CD1_1   =         -0.000138889 /
CD2_2   =          0.000138889 /
CTYPE1  = 'RA---TAN'           /
CTYPE2  = 'DEC--TAN'           /
CUNIT1  = 'deg     '           /
CUNIT2  = 'deg     '           /
HDUCLASS= 'SDSS    '           /SDSS format class
HDUCLAS1= 'CUBE    '           /
HDUCLAS2= 'DATA    '           /
ERRDATA = 'IVAR    '           / Error extension name
QUALDATA= 'MASK    '           / Mask extension name
EXTNAME = 'FLUX    '           /
DATASUM = '2745070007'         / data unit checksum updated 2018-03-21T06:08:47
CHECKSUM= 'KZaaKYRXKYXaKYXU'   / HDU checksum updated 2018-03-21T06:08:47
[43]:
# show the WCS for the current object
cube.wcs
[43]:
WCS Keywords

Number of WCS axes: 3
CTYPE : 'RA---TAN'  'DEC--TAN'  'WAVE-LOG'
CRVAL : 232.5447  48.690201  3.62159598486e-07
CRPIX : 18.0  18.0  1.0
CD1_1 CD1_2 CD1_3  : -0.000138889  0.0  0.0
CD2_1 CD2_2 CD2_3  : 0.0  0.000138889  0.0
CD3_1 CD3_2 CD3_3  : 0.0  0.0  8.33903304339e-11
NAXIS : 34  34  4563
### Object Datamodels Every Marvin object comes with a built-in datamodel, which shows us what extensions are available, how they are names, and what they contain.
[47]:
# look up the cube datmaodel
datamodel = cube.datamodel
datamodel
[47]:
<DRPCubeDataModel release='DR15', n_datacubes=3, n_spectra=2>

The datamodel for a cube contains 3 datacube extensions and 2 spectral extensions. Let’s look at them more closely.

[62]:
# see what datacubes are available
print('Datacubes:')
datamodel.datacubes
Datacubes:
[62]:
[<DataCube 'flux', release='DR15', unit='1e-17 erg / (Angstrom cm2 s spaxel)'>,
 <DataCube 'dispersion', release='DR15', unit='Angstrom'>,
 <DataCube 'dispersion_prepixel', release='DR15', unit='Angstrom'>]
[63]:
# see what additional spectral extensions are available
print('Spectra:')
datamodel.spectra
Spectra:
[63]:
[<Spectrum 'spectral_resolution', release='DR15', unit='Angstrom'>,
 <Spectrum 'spectral_resolution_prepixel', release='DR15', unit='Angstrom'>]

This tells us that this cube has three associated 3D datacubes, flux, dispersion, and dispersion_prepixel, and two associated spectra, spectral_resolution and spectral_resolution_prepixel, as well as their associated units. The description attribute provides information on what the extension is.

[64]:
print('Flux description:', datamodel.datacubes.flux.description)
print('Spectral Resolution description:', datamodel.spectra.spectral_resolution.description)
Flux description: 3D rectified cube
Spectral Resolution description: Median spectral resolution as a function of wavelength for the fibers in this IFU

The names of each of the datacubes and spectral extensions are available as object attributes and can be used to access the associated data quantity. Let’s access the flux for our current cube.

[66]:
flux = cube.flux
flux
[66]:
$[[[0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ \dots,~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0]],~ [[0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ \dots,~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0]],~ [[0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ \dots,~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0]],~ \dots,~ [[0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ \dots,~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0]],~ [[0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ \dots,~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0]],~ [[0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ \dots,~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0]]] \; \mathrm{1 \times 10^{-17}\,\frac{erg}{\mathring{A}\,s\,spaxel\,cm^{2}}}$

The flux is represented as a 3D array with units. We can also access the inverse variance and the mask using flux.ivar and flux.mask, respectively. Marvin uses Astropy quantities to represent all internal multidimensional data, e.g. 3-d datacube and 2-d map arrays, or 1-d spectral data.

### Extracting data All marvin arrays can be sliced to extract subsets of data. Slices of datacubes produce new datacubes. Slices of spectra produce new spectra. A single slice from a datacube extracts a spectrum. Each spectrum can be easily displayed with its plot attribute.
[81]:
# create a small datacube subset in a 10x10 pixel region around the center of the target
central_pixel = int(cube.flux.shape[1]/2)
lo = central_pixel - 5
hi = central_pixel + 5
subset = flux[:, lo:hi, lo:hi]
subset
[81]:
$[[[-0.091659956,~-0.057862502,~-0.069440775,~\dots,~0.053298473,~0.062018514,~0.061692294],~ [-0.039790876,~0.0012025207,~0.020654099,~\dots,~0.10088551,~0.086681418,~0.077831492],~ [0.019458937,~0.077283047,~0.10514027,~\dots,~0.20350538,~0.14156495,~0.095826343],~ \dots,~ [0.11238833,~0.210729,~0.26030195,~\dots,~0.31280893,~0.15664732,~0.045407701],~ [0.10175533,~0.16688073,~0.1919646,~\dots,~0.25600749,~0.17017685,~0.085642852],~ [0.054798402,~0.090783022,~0.094782196,~\dots,~0.19204016,~0.14744423,~0.092620544]],~ [[0.082437925,~0.13506371,~0.15769725,~\dots,~-0.017692961,~-0.0091365296,~-0.011535237],~ [0.08238145,~0.14059068,~0.20465873,~\dots,~0.00030586062,~0.015362157,~0.02579339],~ [0.10742286,~0.19580711,~0.26307943,~\dots,~0.090322539,~0.099070497,~0.10215754],~ \dots,~ [0.13724391,~0.24727274,~0.32436091,~\dots,~0.20887852,~0.1519153,~0.08934544],~ [0.071373947,~0.18353277,~0.279935,~\dots,~0.19906537,~0.19028623,~0.14837392],~ [0.03953917,~0.1445726,~0.23140128,~\dots,~0.19428748,~0.18247326,~0.14610548]],~ [[0.080393434,~0.15365259,~0.17991598,~\dots,~0.11157861,~0.14622529,~0.13381542],~ [0.063174374,~0.13302146,~0.19359955,~\dots,~0.092888884,~0.12845202,~0.13867338],~ [0.073336095,~0.15482704,~0.22972785,~\dots,~0.12644014,~0.12638213,~0.12386632],~ \dots,~ [0.13358407,~0.20693749,~0.2933836,~\dots,~0.29559252,~0.25168392,~0.22717273],~ [0.068491481,~0.16247286,~0.27922529,~\dots,~0.2724455,~0.24940087,~0.24897653],~ [0.025780736,~0.14267682,~0.24933307,~\dots,~0.25498557,~0.22155441,~0.18757398]],~ \dots,~ [[0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ \dots,~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0]],~ [[0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ \dots,~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0]],~ [[0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ \dots,~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0]]] \; \mathrm{1 \times 10^{-17}\,\frac{erg}{\mathring{A}\,s\,spaxel\,cm^{2}}}$
[84]:
# extract a single spectrum and display it
spectrum = flux[:, 16, 17]
spectrum
[84]:
$[0.51865631,~0.43517455,~0.41204447,~\dots,~0,~0,~0] \; \mathrm{1 \times 10^{-17}\,\frac{erg}{\mathring{A}\,s\,spaxel\,cm^{2}}}$
[85]:
spectrum.plot(show_std=True)
WARNING: AstropyDeprecationWarning: The truth value of a Quantity is ambiguous. In the future this will raise a ValueError. [astropy.units.quantity]
[85]:
<matplotlib.axes._subplots.AxesSubplot at 0x11ceb8588>
../../_images/tutorials_notebooks_Basics_of_Marvin_29_2.png
### Accessing Associated Objects

For a given target galaxy, there are many associated MaNGA Data Products from both the reduction and analysis pipelines. Marvin seamlessly connects these together so you don’t have to access them individually. Let’s access the DAP Maps objects associated with our cube. To do so we use the getMaps method on cube. All instances have getXXX methods that allow you to access associated data objects for a given target.

[87]:
# access the Maps object from our cube
maps = cube.getMaps()
maps
[87]:
<Marvin Maps (plateifu='8485-1901', mode='local', data_origin='file', bintype='HYB10', template='GAU-MILESHC')>

When accessing associated objects, Marvin also smartly determines whether to open the file locally or remotely grab it over the API. In our case, the mode is local and data_origin is file. DAP Maps have different bintypes. The default binning is HYB10, a hybrid binning scheme to S/N~10. To load a different bintype, use the bintype keyword argument in the cube.getMaps method.

A Maps behaves very similarly to a Cube and everything we have discussed above will still work. Instead of datacubes and spectra, a Maps object contains a set of 2D quantities called Map, each one of them representing a different property measured by the DAP. One can get a full list of all the properties available using the datamodel.

[88]:
# look at the datamodel for the maps
maps.datamodel
[88]:
[<Property 'spx_skycoo', channel='on_sky_x', release='2.2.1', unit='arcsec'>,
 <Property 'spx_skycoo', channel='on_sky_y', release='2.2.1', unit='arcsec'>,
 <Property 'spx_ellcoo', channel='elliptical_radius', release='2.2.1', unit='arcsec'>,
 <Property 'spx_ellcoo', channel='r_re', release='2.2.1', unit=''>,
 <Property 'spx_ellcoo', channel='elliptical_azimuth', release='2.2.1', unit='deg'>,
 <Property 'spx_mflux', channel='None', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'spx_snr', channel='None', release='2.2.1', unit=''>,
 <Property 'binid', channel='binned_spectra', release='2.2.1', unit=''>,
 <Property 'binid', channel='stellar_continua', release='2.2.1', unit=''>,
 <Property 'binid', channel='em_line_moments', release='2.2.1', unit=''>,
 <Property 'binid', channel='em_line_models', release='2.2.1', unit=''>,
 <Property 'binid', channel='spectral_indices', release='2.2.1', unit=''>,
 <Property 'bin_lwskycoo', channel='lum_weighted_on_sky_x', release='2.2.1', unit='arcsec'>,
 <Property 'bin_lwskycoo', channel='lum_weighted_on_sky_y', release='2.2.1', unit='arcsec'>,
 <Property 'bin_lwellcoo', channel='lum_weighted_elliptical_radius', release='2.2.1', unit='arcsec'>,
 <Property 'bin_lwellcoo', channel='r_re', release='2.2.1', unit=''>,
 <Property 'bin_lwellcoo', channel='lum_weighted_elliptical_azimuth', release='2.2.1', unit='deg'>,
 <Property 'bin_area', channel='None', release='2.2.1', unit='arcsec2'>,
 <Property 'bin_farea', channel='None', release='2.2.1', unit=''>,
 <Property 'bin_mflux', channel='None', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'bin_snr', channel='None', release='2.2.1', unit=''>,
 <Property 'stellar_vel', channel='None', release='2.2.1', unit='km / s'>,
 <Property 'stellar_sigma', channel='None', release='2.2.1', unit='km / s'>,
 <Property 'stellar_sigmacorr', channel='None', release='2.2.1', unit='km / s'>,
 <Property 'stellar_cont_fresid', channel='68th_percentile', release='2.2.1', unit=''>,
 <Property 'stellar_cont_fresid', channel='99th_percentile', release='2.2.1', unit=''>,
 <Property 'stellar_cont_rchi2', channel='None', release='2.2.1', unit=''>,
 <Property 'emline_sflux', channel='oiid_3728', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='oii_3729', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='hthe_3798', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='heta_3836', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='neiii_3869', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='hzet_3890', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='neiii_3968', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='heps_3971', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='hdel_4102', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='hgam_4341', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='heii_4687', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='hb_4862', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='oiii_4960', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='oiii_5008', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='hei_5877', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='oi_6302', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='oi_6365', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='nii_6549', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='ha_6564', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='nii_6585', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='sii_6718', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sflux', channel='sii_6732', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_sew', channel='oiid_3728', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='oii_3729', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='hthe_3798', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='heta_3836', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='neiii_3869', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='hzet_3890', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='neiii_3968', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='heps_3971', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='hdel_4102', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='hgam_4341', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='heii_4687', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='hb_4862', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='oiii_4960', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='oiii_5008', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='hei_5877', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='oi_6302', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='oi_6365', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='nii_6549', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='ha_6564', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='nii_6585', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='sii_6718', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_sew', channel='sii_6732', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gflux', channel='oii_3727', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='oii_3729', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='hthe_3798', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='heta_3836', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='neiii_3869', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='hzet_3890', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='neiii_3968', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='heps_3971', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='hdel_4102', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='hgam_4341', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='heii_4687', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='hb_4862', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='oiii_4960', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='oiii_5008', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='hei_5877', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='oi_6302', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='oi_6365', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='nii_6549', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='ha_6564', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='nii_6585', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='sii_6718', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gflux', channel='sii_6732', release='2.2.1', unit='1e-17 erg / (cm2 s spaxel)'>,
 <Property 'emline_gvel', channel='oii_3727', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='oii_3729', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='hthe_3798', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='heta_3836', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='neiii_3869', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='hzet_3890', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='neiii_3968', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='heps_3971', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='hdel_4102', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='hgam_4341', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='heii_4687', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='hb_4862', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='oiii_4960', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='oiii_5008', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='hei_5877', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='oi_6302', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='oi_6365', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='nii_6549', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='ha_6564', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='nii_6585', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='sii_6718', release='2.2.1', unit='km / s'>,
 <Property 'emline_gvel', channel='sii_6732', release='2.2.1', unit='km / s'>,
 <Property 'emline_gew', channel='oii_3727', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='oii_3729', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='hthe_3798', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='heta_3836', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='neiii_3869', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='hzet_3890', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='neiii_3968', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='heps_3971', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='hdel_4102', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='hgam_4341', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='heii_4687', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='hb_4862', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='oiii_4960', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='oiii_5008', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='hei_5877', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='oi_6302', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='oi_6365', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='nii_6549', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='ha_6564', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='nii_6585', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='sii_6718', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gew', channel='sii_6732', release='2.2.1', unit='Angstrom'>,
 <Property 'emline_gsigma', channel='oii_3727', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='oii_3729', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='hthe_3798', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='heta_3836', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='neiii_3869', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='hzet_3890', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='neiii_3968', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='heps_3971', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='hdel_4102', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='hgam_4341', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='heii_4687', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='hb_4862', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='oiii_4960', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='oiii_5008', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='hei_5877', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='oi_6302', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='oi_6365', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='nii_6549', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='ha_6564', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='nii_6585', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='sii_6718', release='2.2.1', unit='km / s'>,
 <Property 'emline_gsigma', channel='sii_6732', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='oii_3727', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='oii_3729', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='hthe_3798', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='heta_3836', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='neiii_3869', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='hzet_3890', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='neiii_3968', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='heps_3971', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='hdel_4102', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='hgam_4341', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='heii_4687', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='hb_4862', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='oiii_4960', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='oiii_5008', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='hei_5877', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='oi_6302', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='oi_6365', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='nii_6549', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='ha_6564', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='nii_6585', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='sii_6718', release='2.2.1', unit='km / s'>,
 <Property 'emline_instsigma', channel='sii_6732', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='oii_3727', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='oii_3729', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='hthe_3798', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='heta_3836', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='neiii_3869', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='hzet_3890', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='neiii_3968', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='heps_3971', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='hdel_4102', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='hgam_4341', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='heii_4687', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='hb_4862', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='oiii_4960', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='oiii_5008', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='hei_5877', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='oi_6302', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='oi_6365', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='nii_6549', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='ha_6564', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='nii_6585', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='sii_6718', release='2.2.1', unit='km / s'>,
 <Property 'emline_tplsigma', channel='sii_6732', release='2.2.1', unit='km / s'>,
 <Property 'specindex', channel='cn1', release='2.2.1', unit='mag'>,
 <Property 'specindex', channel='cn2', release='2.2.1', unit='mag'>,
 <Property 'specindex', channel='ca4227', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='g4300', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='fe4383', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='ca4455', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='fe4531', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='c24668', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='hb', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='fe5015', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='mg1', release='2.2.1', unit='mag'>,
 <Property 'specindex', channel='mg2', release='2.2.1', unit='mag'>,
 <Property 'specindex', channel='mgb', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='fe5270', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='fe5335', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='fe5406', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='fe5709', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='fe5782', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='nad', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='tio1', release='2.2.1', unit='mag'>,
 <Property 'specindex', channel='tio2', release='2.2.1', unit='mag'>,
 <Property 'specindex', channel='hdeltaa', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='hgammaa', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='hdeltaf', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='hgammaf', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='cahk', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='caii1', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='caii2', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='caii3', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='pa17', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='pa14', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='pa12', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='mgicvd', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='naicvd', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='mgiir', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='fehcvd', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='nai', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='btio', release='2.2.1', unit='mag'>,
 <Property 'specindex', channel='atio', release='2.2.1', unit='mag'>,
 <Property 'specindex', channel='cah1', release='2.2.1', unit='mag'>,
 <Property 'specindex', channel='cah2', release='2.2.1', unit='mag'>,
 <Property 'specindex', channel='naisdss', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='tio2sdss', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex', channel='d4000', release='2.2.1', unit=''>,
 <Property 'specindex', channel='dn4000', release='2.2.1', unit=''>,
 <Property 'specindex', channel='tiocvd', release='2.2.1', unit=''>,
 <Property 'specindex_corr', channel='cn1', release='2.2.1', unit='mag'>,
 <Property 'specindex_corr', channel='cn2', release='2.2.1', unit='mag'>,
 <Property 'specindex_corr', channel='ca4227', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='g4300', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='fe4383', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='ca4455', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='fe4531', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='c24668', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='hb', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='fe5015', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='mg1', release='2.2.1', unit='mag'>,
 <Property 'specindex_corr', channel='mg2', release='2.2.1', unit='mag'>,
 <Property 'specindex_corr', channel='mgb', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='fe5270', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='fe5335', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='fe5406', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='fe5709', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='fe5782', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='nad', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='tio1', release='2.2.1', unit='mag'>,
 <Property 'specindex_corr', channel='tio2', release='2.2.1', unit='mag'>,
 <Property 'specindex_corr', channel='hdeltaa', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='hgammaa', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='hdeltaf', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='hgammaf', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='cahk', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='caii1', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='caii2', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='caii3', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='pa17', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='pa14', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='pa12', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='mgicvd', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='naicvd', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='mgiir', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='fehcvd', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='nai', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='btio', release='2.2.1', unit='mag'>,
 <Property 'specindex_corr', channel='atio', release='2.2.1', unit='mag'>,
 <Property 'specindex_corr', channel='cah1', release='2.2.1', unit='mag'>,
 <Property 'specindex_corr', channel='cah2', release='2.2.1', unit='mag'>,
 <Property 'specindex_corr', channel='naisdss', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='tio2sdss', release='2.2.1', unit='Angstrom'>,
 <Property 'specindex_corr', channel='d4000', release='2.2.1', unit=''>,
 <Property 'specindex_corr', channel='dn4000', release='2.2.1', unit=''>,
 <Property 'specindex_corr', channel='tiocvd', release='2.2.1', unit=''>]

Note that some properties such as spx_skycoo have multiple channels (in this case the on-sky x and y coordinates). To access the individual property, simply combine the property name and the channel name with an underscore, i.e. spx_skycoo_on_sky_x. As before, we can get more information about a property using the description attribute.

[91]:
print('spx_skycoo_on_sky_x: ', maps.datamodel.spx_skycoo_on_sky_x.description)
spx_skycoo_on_sky_x:  Offsets of each spaxel from the galaxy center. Channel = On-sky X.

More information about Marvin datamodels can be found here. See the DR15 Datamodel for a full description of the available datamodels for DR15.

We can retrieve the map associated to a specific property directly from the Maps instance. For example, let’s get the Hα emission line flux (fitted by a Gaussian). As Map quantities are similar to DataCube, we can easily plot the 2d map.

[101]:
# grab the map of H-alpha emission line flux
ha = maps.emline_gflux_ha_6564
ha
[101]:
$[[0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ \dots,~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0],~ [0,~0,~0,~\dots,~0,~0,~0]] \; \mathrm{1 \times 10^{-17}\,\frac{erg}{s\,spaxel\,cm^{2}}}$
[100]:
# plot the H-alpha map
fig, ax = ha.plot()
../../_images/tutorials_notebooks_Basics_of_Marvin_38_0.png

Note that the plot method returns the matplotlib Figure and Axes for the plot. We can use those to modify or save the plot. Marvin plotting routines try to select the best parameters, colour maps, and dynamic ranges. You can modify those by passing extra arguments to plot. You can learn more in the Map plotting section. We will talk about the Map class in detail in Working with Astropy Quantities and in Map.

Remember that all associated objects are connected together. They can be accessed either from within an object instance or loaded independently from the class itself. From within an instance, the core tools, Maps, RSS, and ModelCube are available using the getXXX methods, as well as additional auxillary tools and object data, such as Image.

[145]:
# load the same Maps object by itself
from marvin.tools import Maps
my_maps = Maps('8485-1901')
my_maps

# get the stellar velocity map
stvel = my_maps.stellar_velocity
[146]:
# load an auxilliary tool, the gri color image of the target galaxy using the Marvin Image tool

# get the Image of the galaxy and plot it
image = cube.getImage()
image.plot()
[146]:
<astropy.visualization.wcsaxes.core.WCSAxes at 0x1584312e8>
../../_images/tutorials_notebooks_Basics_of_Marvin_41_1.png
### Quality and Target Flags and Maskbits Each MaNGA target has associated quality assurance flags as well targeting flags. Quality flags indiciate the overall quality of the data and/or any problems with the data discovered during the reduction and analysis pipeline runs.
[114]:
# look at the overall cube quality flags
cube.quality_flag
[114]:
<Maskbit 'MANGA_DRP3QUAL' []>

In this case the MANGA_DRP3QUAL maskbit does not have any bit activated, which means the data is safe to use. See the Maskbits section for more information on how to interact with Marvin Maskbits.

The targeting flags highlight the targeting bits set for this galaxy and tell you which sample the target belongs to.

[115]:
# look at the targeting flags for this galaxy
cube.target_flags
[115]:
[<Maskbit 'MANGA_TARGET1' ['SECONDARY_v1_1_0', 'SECONDARY_COM2', 'SECONDARY_v1_2_0']>,
 <Maskbit 'MANGA_TARGET2' []>,
 <Maskbit 'MANGA_TARGET3' []>]

Note that in this case the galaxy belongs to the secondary sample from the final target selection (SECONDARY_v1_2_0) as well as to the secondary samples from several commissioning target selections. The galaxy does not have any ancillary bit (manga_target3). An manga_target3 bit set indicates the target belongs to one of the MaNGA Ancillary programs.

### NSA, DAPall, and Value-Added catalog data For each target we can also access additional catalog data: the associated parameters from the NASA Sloan Atlas, and the DAPall file. The NSA catalog contains measured global galaxy photometric and shape profile information, while the DAPall catalog contains aggregrate statistics as measured by the MaNGA DAP pipeline. NSA properties are available on all

Marvin objects under the nsa attribute. DAPall properties are available on all Marvin Maps and Modelcube objects.

[125]:
# look at the NSA properties for this galaxy from the cube instance
nsa = cube.nsa
nsa
[125]:
{'camcol': 2,
 'elpetro_absmag': [-14.3422,
  -15.7994,
  -17.0133,
  -18.1788,
  -18.775,
  -19.1125,
  -19.3132],
 'elpetro_amivar': [1.39298,
  52.442,
  188.696,
  2311.74,
  2362.19,
  2158.28,
  909.175],
 'elpetro_ba': 0.87454,
 'elpetro_flux': [2.9988, 10.9678, 33.184, 104.279, 189.074, 266.311, 329.502],
 'elpetro_flux_ivar': [0.183006,
  0.560983,
  0.382391,
  3.32798,
  1.41304,
  0.262453,
  0.0543157],
 'elpetro_mass': 3676850000.0,
 'elpetro_phi': 154.873,
 'elpetro_th50_r': 1.33067,
 'extinction': [0.11668,
  0.115132,
  0.0725557,
  0.0533858,
  0.0387198,
  0.0293601,
  0.0208166],
 'field': 145,
 'iauname': 'J153010.73+484124.8',
 'nsaid': 221394,
 'nsaid_v1b': -999,
 'petro_flux': [2.42345, 7.63147, 33.5316, 103.177, 187.303, 266.833, 320.63],
 'petro_flux_ivar': [0.261188,
  0.978818,
  0.357724,
  4.59488,
  1.37015,
  0.156463,
  0.0512794],
 'petro_th50': 1.32995,
 'run': 3225,
 'sersic_absmag': [-14.2599,
  -15.9543,
  -17.0904,
  -18.2817,
  -18.9128,
  -19.2697,
  -19.5088],
 'sersic_ba': 0.773047,
 'sersic_flux': [2.7631, 12.5968, 35.5298, 114.376, 213.438, 306.252, 391.783],
 'sersic_flux_ivar': [0.234907,
  0.390875,
  1.03359,
  2.70403,
  1.11227,
  0.504806,
  0.0975765],
 'sersic_mass': 4259420000.0,
 'sersic_n': 3.29617,
 'sersic_phi': 163.295,
 'sersic_th50': 1.27748,
 'version': 'v1_0_1',
 'z': 0.0407447,
 'zdist': 0.0412014}
[126]:
# look at the DAP all properties from the maps instance
maps.dapall
[126]:
{'adist_nsa_z': 116.28242,
 'adist_z': 116.28242,
 'bin_r_n_1': 21.0,
 'bin_r_n_2': 36.0,
 'bin_r_n_3': 40.0,
 'bin_r_snr_1': 31.444183,
 'bin_r_snr_2': 26.358574,
 'bin_r_snr_3': 12.533445,
 'bin_rmax': 3.5165226,
 'binkey': 'HYB10',
 'binsnr': 10.0,
 'bintype': 'voronoi',
 'dapbins': 393,
 'dapdone': True,
 'dapqual': 0,
 'daptype': 'HYB10-GAU-MILESHC',
 'datedap': '2018-07-21',
 'drp3qual': 0,
 'drpallindx': 3991,
 'elfkey': 'EFITMDB',
 'elmkey': 'EMOMM',
 'emline_gew_1re_ha_6564': 27.498219,
 'emline_gew_1re_hb_4862': 6.1061563,
 'emline_gew_1re_hdel_4102': 1.3583332,
 'emline_gew_1re_hei_5877': 0.7100007,
 'emline_gew_1re_heii_4687': 0.06504237,
 'emline_gew_1re_heps_3971': 0.80449516,
 'emline_gew_1re_heta_3836': 0.3896089,
 'emline_gew_1re_hgam_4341': 2.8444698,
 'emline_gew_1re_hthe_3798': 0.65047354,
 'emline_gew_1re_hzet_3890': 1.2700435,
 'emline_gew_1re_neiii_3869': 0.14080524,
 'emline_gew_1re_neiii_3968': 0.001792379,
 'emline_gew_1re_nii_6549': 3.5805068,
 'emline_gew_1re_nii_6585': 10.961037,
 'emline_gew_1re_oi_6302': 0.43432698,
 'emline_gew_1re_oi_6365': 0.13930151,
 'emline_gew_1re_oii_3727': 4.2655497,
 'emline_gew_1re_oii_3729': 5.457714,
 'emline_gew_1re_oiii_4960': 0.47679856,
 'emline_gew_1re_oiii_5008': 1.4359674,
 'emline_gew_1re_sii_6718': 4.303934,
 'emline_gew_1re_sii_6732': 3.0316718,
 'emline_gew_peak_ha_6564': 38.932842,
 'emline_gew_peak_hb_4862': 16.031044,
 'emline_gew_peak_hdel_4102': 15.133765,
 'emline_gew_peak_hei_5877': 12.108011,
 'emline_gew_peak_heii_4687': 15.555817,
 'emline_gew_peak_heps_3971': 19.180122,
 'emline_gew_peak_heta_3836': 19.870707,
 'emline_gew_peak_hgam_4341': 14.521507,
 'emline_gew_peak_hthe_3798': 25.816128,
 'emline_gew_peak_hzet_3890': 57.001114,
 'emline_gew_peak_neiii_3869': 39.4136,
 'emline_gew_peak_neiii_3968': 10.767518,
 'emline_gew_peak_nii_6549': 4.0757356,
 'emline_gew_peak_nii_6585': 12.755485,
 'emline_gew_peak_oi_6302': 3.7761304,
 'emline_gew_peak_oi_6365': 1.3595514,
 'emline_gew_peak_oii_3727': 81.769936,
 'emline_gew_peak_oii_3729': 47.940876,
 'emline_gew_peak_oiii_4960': 3.5188925,
 'emline_gew_peak_oiii_5008': 9.513018,
 'emline_gew_peak_sii_6718': 8.063611,
 'emline_gew_peak_sii_6732': 11.514327,
 'emline_gflux_1re_ha_6564': 518.4598,
 'emline_gflux_1re_hb_4862': 112.42022,
 'emline_gflux_1re_hdel_4102': 21.380278,
 'emline_gflux_1re_hei_5877': 12.862995,
 'emline_gflux_1re_heii_4687': 1.1992174,
 'emline_gflux_1re_heps_3971': 11.629765,
 'emline_gflux_1re_heta_3836': 5.229859,
 'emline_gflux_1re_hgam_4341': 47.112793,
 'emline_gflux_1re_hthe_3798': 8.3632555,
 'emline_gflux_1re_hzet_3890': 17.749779,
 'emline_gflux_1re_neiii_3869': 1.9424094,
 'emline_gflux_1re_neiii_3968': 0.024020921,
 'emline_gflux_1re_nii_6549': 67.45055,
 'emline_gflux_1re_nii_6585': 206.27078,
 'emline_gflux_1re_oi_6302': 8.000183,
 'emline_gflux_1re_oi_6365': 2.62406,
 'emline_gflux_1re_oii_3727': 44.304893,
 'emline_gflux_1re_oii_3729': 57.342915,
 'emline_gflux_1re_oiii_4960': 8.812629,
 'emline_gflux_1re_oiii_5008': 25.919497,
 'emline_gflux_1re_sii_6718': 80.26501,
 'emline_gflux_1re_sii_6732': 56.71939,
 'emline_gflux_cen_ha_6564': 518.4598,
 'emline_gflux_cen_hb_4862': 112.42022,
 'emline_gflux_cen_hdel_4102': 21.380278,
 'emline_gflux_cen_hei_5877': 12.862995,
 'emline_gflux_cen_heii_4687': 1.1992174,
 'emline_gflux_cen_heps_3971': 11.629765,
 'emline_gflux_cen_heta_3836': 5.229859,
 'emline_gflux_cen_hgam_4341': 47.112793,
 'emline_gflux_cen_hthe_3798': 8.3632555,
 'emline_gflux_cen_hzet_3890': 17.749779,
 'emline_gflux_cen_neiii_3869': 1.9424094,
 'emline_gflux_cen_neiii_3968': 0.024020921,
 'emline_gflux_cen_nii_6549': 67.45055,
 'emline_gflux_cen_nii_6585': 206.27078,
 'emline_gflux_cen_oi_6302': 8.000183,
 'emline_gflux_cen_oi_6365': 2.62406,
 'emline_gflux_cen_oii_3727': 44.304893,
 'emline_gflux_cen_oii_3729': 57.342915,
 'emline_gflux_cen_oiii_4960': 8.812629,
 'emline_gflux_cen_oiii_5008': 25.919497,
 'emline_gflux_cen_sii_6718': 80.26501,
 'emline_gflux_cen_sii_6732': 56.71939,
 'emline_gflux_tot_ha_6564': 1361.6647,
 'emline_gflux_tot_hb_4862': 318.3752,
 'emline_gflux_tot_hdel_4102': 68.51021,
 'emline_gflux_tot_hei_5877': 41.265724,
 'emline_gflux_tot_heii_4687': 24.926678,
 'emline_gflux_tot_heps_3971': 38.877518,
 'emline_gflux_tot_heta_3836': 27.327614,
 'emline_gflux_tot_hgam_4341': 132.94618,
 'emline_gflux_tot_hthe_3798': 32.712917,
 'emline_gflux_tot_hzet_3890': 56.146633,
 'emline_gflux_tot_neiii_3869': 19.969725,
 'emline_gflux_tot_neiii_3968': 5.9532337,
 'emline_gflux_tot_nii_6549': 185.20743,
 'emline_gflux_tot_nii_6585': 566.38385,
 'emline_gflux_tot_oi_6302': 35.631546,
 'emline_gflux_tot_oi_6365': 11.68715,
 'emline_gflux_tot_oii_3727': 153.15848,
 'emline_gflux_tot_oii_3729': 204.93419,
 'emline_gflux_tot_oiii_4960': 28.799543,
 'emline_gflux_tot_oiii_5008': 84.70451,
 'emline_gflux_tot_sii_6718': 237.78206,
 'emline_gflux_tot_sii_6732': 162.72934,
 'emline_gsb_1re_ha_6564': 24.68856,
 'emline_gsb_1re_hb_4862': 5.353344,
 'emline_gsb_1re_hdel_4102': 1.0181085,
 'emline_gsb_1re_hei_5877': 0.61252356,
 'emline_gsb_1re_heii_4687': 0.057105593,
 'emline_gsb_1re_heps_3971': 0.5537983,
 'emline_gsb_1re_heta_3836': 0.2490409,
 'emline_gsb_1re_hgam_4341': 2.2434664,
 'emline_gsb_1re_hthe_3798': 0.39825025,
 'emline_gsb_1re_hzet_3890': 0.84522754,
 'emline_gsb_1re_neiii_3869': 0.09249569,
 'emline_gsb_1re_neiii_3968': 0.0011438534,
 'emline_gsb_1re_nii_6549': 3.2119308,
 'emline_gsb_1re_nii_6585': 9.822418,
 'emline_gsb_1re_oi_6302': 0.3809611,
 'emline_gsb_1re_oi_6365': 0.12495524,
 'emline_gsb_1re_oii_3727': 2.109757,
 'emline_gsb_1re_oii_3729': 2.730615,
 'emline_gsb_1re_oiii_4960': 0.41964898,
 'emline_gsb_1re_oiii_5008': 1.2342618,
 'emline_gsb_1re_sii_6718': 3.822143,
 'emline_gsb_1re_sii_6732': 2.7009234,
 'emline_gsb_peak_ha_6564': 32.130814,
 'emline_gsb_peak_hb_4862': 6.729493,
 'emline_gsb_peak_hdel_4102': 1.2454971,
 'emline_gsb_peak_hei_5877': 0.81370413,
 'emline_gsb_peak_heii_4687': 0.2812441,
 'emline_gsb_peak_heps_3971': 0.72898835,
 'emline_gsb_peak_heta_3836': 0.4459554,
 'emline_gsb_peak_hgam_4341': 2.8376071,
 'emline_gsb_peak_hthe_3798': 0.5431222,
 'emline_gsb_peak_hzet_3890': 1.1030834,
 'emline_gsb_peak_neiii_3869': 0.48630247,
 'emline_gsb_peak_neiii_3968': 0.16095476,
 'emline_gsb_peak_nii_6549': 4.100286,
 'emline_gsb_peak_nii_6585': 12.539102,
 'emline_gsb_peak_oi_6302': 0.45632312,
 'emline_gsb_peak_oi_6365': 0.14967398,
 'emline_gsb_peak_oii_3727': 2.4997134,
 'emline_gsb_peak_oii_3729': 3.518587,
 'emline_gsb_peak_oiii_4960': 0.5353756,
 'emline_gsb_peak_oiii_5008': 1.5746341,
 'emline_gsb_peak_sii_6718': 4.7994447,
 'emline_gsb_peak_sii_6732': 3.5544295,
 'emline_sew_1re_ha_6564': 27.390146,
 'emline_sew_1re_hb_4862': 6.206489,
 'emline_sew_1re_hdel_4102': 1.150524,
 'emline_sew_1re_hei_5877': 0.64392686,
 'emline_sew_1re_heii_4687': -0.17607133,
 'emline_sew_1re_heps_3971': 0.94543386,
 'emline_sew_1re_heta_3836': -0.2824071,
 'emline_sew_1re_hgam_4341': 2.7655118,
 'emline_sew_1re_hthe_3798': 0.48443457,
 'emline_sew_1re_hzet_3890': 1.0155623,
 'emline_sew_1re_neiii_3869': -0.22516635,
 'emline_sew_1re_neiii_3968': 1.0079005,
 'emline_sew_1re_nii_6549': 3.5470846,
 'emline_sew_1re_nii_6585': 11.102756,
 'emline_sew_1re_oi_6302': 0.38920906,
 'emline_sew_1re_oi_6365': 0.07573469,
 'emline_sew_1re_oii_3729': -999.0,
 'emline_sew_1re_oiid_3728': 10.446977,
 'emline_sew_1re_oiii_4960': 0.4875546,
 'emline_sew_1re_oiii_5008': 1.631077,
 'emline_sew_1re_sii_6718': 4.2352896,
 'emline_sew_1re_sii_6732': 2.9410377,
 'emline_sew_peak_ha_6564': 36.61824,
 'emline_sew_peak_hb_4862': 16.381104,
 'emline_sew_peak_hdel_4102': 35.858673,
 'emline_sew_peak_hei_5877': 7.4755464,
 'emline_sew_peak_heii_4687': 16.448965,
 'emline_sew_peak_heps_3971': 21.757128,
 'emline_sew_peak_heta_3836': 93.69317,
 'emline_sew_peak_hgam_4341': 9.010911,
 'emline_sew_peak_hthe_3798': 42.653828,
 'emline_sew_peak_hzet_3890': 109.95577,
 'emline_sew_peak_neiii_3869': 49.09403,
 'emline_sew_peak_neiii_3968': 26.516947,
 'emline_sew_peak_nii_6549': 7.722923,
 'emline_sew_peak_nii_6585': 14.361592,
 'emline_sew_peak_oi_6302': 27.917864,
 'emline_sew_peak_oi_6365': 6.318035,
 'emline_sew_peak_oii_3729': -999.0,
 'emline_sew_peak_oiid_3728': 138.72752,
 'emline_sew_peak_oiii_4960': 9.007727,
 'emline_sew_peak_oiii_5008': 9.377492,
 'emline_sew_peak_sii_6718': 8.540775,
 'emline_sew_peak_sii_6732': 6.5237107,
 'emline_sflux_1re_ha_6564': 516.3007,
 'emline_sflux_1re_hb_4862': 114.247505,
 'emline_sflux_1re_hdel_4102': 17.843182,
 'emline_sflux_1re_hei_5877': 11.667008,
 'emline_sflux_1re_heii_4687': -3.065474,
 'emline_sflux_1re_heps_3971': 13.718588,
 'emline_sflux_1re_heta_3836': -3.9439018,
 'emline_sflux_1re_hgam_4341': 45.73389,
 'emline_sflux_1re_hthe_3798': 6.2887335,
 'emline_sflux_1re_hzet_3890': 14.105891,
 'emline_sflux_1re_neiii_3869': -3.129478,
 'emline_sflux_1re_neiii_3968': 14.486424,
 'emline_sflux_1re_nii_6549': 66.72829,
 'emline_sflux_1re_nii_6585': 208.84776,
 'emline_sflux_1re_oi_6302': 7.2487226,
 'emline_sflux_1re_oi_6365': 1.3686633,
 'emline_sflux_1re_oii_3729': -999.0,
 'emline_sflux_1re_oiid_3728': 109.3201,
 'emline_sflux_1re_oiii_4960': 8.973248,
 'emline_sflux_1re_oiii_5008': 29.46506,
 'emline_sflux_1re_sii_6718': 78.89978,
 'emline_sflux_1re_sii_6732': 54.994053,
 'emline_sflux_cen_ha_6564': 516.3007,
 'emline_sflux_cen_hb_4862': 114.247505,
 'emline_sflux_cen_hdel_4102': 17.843182,
 'emline_sflux_cen_hei_5877': 11.667008,
 'emline_sflux_cen_heii_4687': -3.065474,
 'emline_sflux_cen_heps_3971': 13.718588,
 'emline_sflux_cen_heta_3836': -3.9439018,
 'emline_sflux_cen_hgam_4341': 45.73389,
 'emline_sflux_cen_hthe_3798': 6.2887335,
 'emline_sflux_cen_hzet_3890': 14.105891,
 'emline_sflux_cen_neiii_3869': -3.129478,
 'emline_sflux_cen_neiii_3968': 14.486424,
 'emline_sflux_cen_nii_6549': 66.72829,
 'emline_sflux_cen_nii_6585': 208.84776,
 'emline_sflux_cen_oi_6302': 7.2487226,
 'emline_sflux_cen_oi_6365': 1.3686633,
 'emline_sflux_cen_oii_3729': -999.0,
 'emline_sflux_cen_oiid_3728': 109.3201,
 'emline_sflux_cen_oiii_4960': 8.973248,
 'emline_sflux_cen_oiii_5008': 29.46506,
 'emline_sflux_cen_sii_6718': 78.89978,
 'emline_sflux_cen_sii_6732': 54.994053,
 'emline_sflux_tot_ha_6564': 1351.6582,
 'emline_sflux_tot_hb_4862': 325.56708,
 'emline_sflux_tot_hdel_4102': 71.18532,
 'emline_sflux_tot_hei_5877': 11.650391,
 'emline_sflux_tot_heii_4687': 9.703766,
 'emline_sflux_tot_heps_3971': 28.350378,
 'emline_sflux_tot_heta_3836': 3.1166573,
 'emline_sflux_tot_hgam_4341': 121.193794,
 'emline_sflux_tot_hthe_3798': 26.55513,
 'emline_sflux_tot_hzet_3890': 59.658585,
 'emline_sflux_tot_neiii_3869': 11.57201,
 'emline_sflux_tot_neiii_3968': 34.55008,
 'emline_sflux_tot_nii_6549': 189.18219,
 'emline_sflux_tot_nii_6585': 563.47064,
 'emline_sflux_tot_oi_6302': 12.422502,
 'emline_sflux_tot_oi_6365': 2.6049273,
 'emline_sflux_tot_oii_3729': -999.0,
 'emline_sflux_tot_oiid_3728': 373.35123,
 'emline_sflux_tot_oiii_4960': 33.708405,
 'emline_sflux_tot_oiii_5008': 91.77788,
 'emline_sflux_tot_sii_6718': 229.86024,
 'emline_sflux_tot_sii_6732': 147.31511,
 'emline_ssb_1re_ha_6564': 24.585749,
 'emline_ssb_1re_hb_4862': 5.440357,
 'emline_ssb_1re_hdel_4102': 0.8496753,
 'emline_ssb_1re_hei_5877': 0.55557185,
 'emline_ssb_1re_heii_4687': -0.14597495,
 'emline_ssb_1re_heps_3971': 0.6532661,
 'emline_ssb_1re_heta_3836': -0.18780485,
 'emline_ssb_1re_hgam_4341': 2.1778042,
 'emline_ssb_1re_hthe_3798': 0.2994635,
 'emline_ssb_1re_hzet_3890': 0.6717091,
 'emline_ssb_1re_neiii_3869': -0.14902276,
 'emline_ssb_1re_neiii_3968': 0.6898297,
 'emline_ssb_1re_nii_6549': 3.1775374,
 'emline_ssb_1re_nii_6585': 9.945131,
 'emline_ssb_1re_oi_6302': 0.34517726,
 'emline_ssb_1re_oi_6365': 0.065174446,
 'emline_ssb_1re_oii_3729': -999.0,
 'emline_ssb_1re_oiid_3728': 5.205719,
 'emline_ssb_1re_oiii_4960': 0.4272975,
 'emline_ssb_1re_oiii_5008': 1.4030981,
 'emline_ssb_1re_sii_6718': 3.7571323,
 'emline_ssb_1re_sii_6732': 2.6187644,
 'emline_ssb_peak_ha_6564': 31.868652,
 'emline_ssb_peak_hb_4862': 6.8731008,
 'emline_ssb_peak_hdel_4102': 1.1216679,
 'emline_ssb_peak_hei_5877': 0.7711617,
 'emline_ssb_peak_heii_4687': 0.31739423,
 'emline_ssb_peak_heps_3971': 0.91349566,
 'emline_ssb_peak_heta_3836': 0.33681902,
 'emline_ssb_peak_hgam_4341': 2.769505,
 'emline_ssb_peak_hthe_3798': 0.4718025,
 'emline_ssb_peak_hzet_3890': 0.8520103,
 'emline_ssb_peak_neiii_3869': 0.3048002,
 'emline_ssb_peak_neiii_3968': 0.9720679,
 'emline_ssb_peak_nii_6549': 4.120372,
 'emline_ssb_peak_nii_6585': 12.650413,
 'emline_ssb_peak_oi_6302': 0.6804554,
 'emline_ssb_peak_oi_6365': 0.3308851,
 'emline_ssb_peak_oii_3729': -999.0,
 'emline_ssb_peak_oiid_3728': 6.397572,
 'emline_ssb_peak_oiii_4960': 0.609163,
 'emline_ssb_peak_oiii_5008': 1.8636974,
 'emline_ssb_peak_sii_6718': 4.6782374,
 'emline_ssb_peak_sii_6732': 3.4148548,
 'ha_gsigma_1re': 68.02177,
 'ha_gsigma_hi': 71.87889,
 'ha_gsigma_hi_clip': 69.07364,
 'ha_gvel_hi': 101.71413,
 'ha_gvel_hi_clip': 101.71413,
 'ha_gvel_lo': -102.10004,
 'ha_gvel_lo_clip': -102.10004,
 'ha_z': 0.040754627,
 'ifudec': 48.6902,
 'ifudesign': 1901,
 'ifura': 232.5447,
 'ldist_nsa_z': 125.95125,
 'ldist_z': 125.95125,
 'mangaid': '1-209232',
 'mngtarg1': 2336,
 'mngtarg2': 0,
 'mngtarg3': 0,
 'mode': 'CUBE',
 'nsa_elpetro_ba': 0.87454,
 'nsa_elpetro_phi': 154.873,
 'nsa_elpetro_th50_r': 1.33067,
 'nsa_sersic_ba': 0.773047,
 'nsa_sersic_n': 3.29617,
 'nsa_sersic_phi': 163.295,
 'nsa_sersic_th50': 1.27748,
 'nsa_z': 0.0407447,
 'nsa_zdist': 0.0412014,
 'objdec': 48.6902,
 'objra': 232.54471,
 'plate': 8485,
 'plateifu': '8485-1901',
 'rcov90': 4.593927,
 'rdxqakey': 'SNRG',
 'sb_1re': 0.7397315,
 'sckey': 'GAU-MILESHC',
 'sfr_1re': 0.052848306,
 'sfr_tot': 0.13879897,
 'sikey': 'INDXEN',
 'snr_med_1': 23.818922,
 'snr_med_2': 31.974985,
 'snr_med_3': 36.93258,
 'snr_med_4': 29.912338,
 'snr_ring_1': 43.22005,
 'snr_ring_2': 54.946964,
 'snr_ring_3': 68.299904,
 'snr_ring_4': 40.68281,
 'specindex_1re_atio': 0.0055130944,
 'specindex_1re_btio': 0.0035524892,
 'specindex_1re_c24668': 4.1051598,
 'specindex_1re_ca4227': 0.5814394,
 'specindex_1re_ca4455': 0.86386544,
 'specindex_1re_cah1': 0.0027957938,
 'specindex_1re_cah2': 0.011549883,
 'specindex_1re_cahk': 11.244532,
 'specindex_1re_caii1': 1.2633883,
 'specindex_1re_caii2': 4.1861773,
 'specindex_1re_caii3': 2.8871956,
 'specindex_1re_cn1': -0.08640129,
 'specindex_1re_cn2': -0.0437025,
 'specindex_1re_d4000': 1.5241088,
 'specindex_1re_dn4000': 1.3374544,
 'specindex_1re_fe4383': 2.8076222,
 'specindex_1re_fe4531': 2.3227534,
 'specindex_1re_fe5015': 2.7222157,
 'specindex_1re_fe5270': 1.5268862,
 'specindex_1re_fe5335': -999.0,
 'specindex_1re_fe5406': 1.3877692,
 'specindex_1re_fe5709': 0.86984617,
 'specindex_1re_fe5782': 1.121057,
 'specindex_1re_fehcvd': -999.0,
 'specindex_1re_g4300': 2.198671,
 'specindex_1re_hb': 3.240003,
 'specindex_1re_hdeltaa': 4.0503592,
 'specindex_1re_hdeltaf': 3.57781,
 'specindex_1re_hgammaa': 1.6787565,
 'specindex_1re_hgammaf': 2.7013273,
 'specindex_1re_mg1': 0.040176533,
 'specindex_1re_mg2': 0.11580241,
 'specindex_1re_mgb': 2.42074,
 'specindex_1re_mgicvd': 2.8958685,
 'specindex_1re_mgiir': 0.6450525,
 'specindex_1re_nad': 1.9727253,
 'specindex_1re_nai': 0.9842906,
 'specindex_1re_naicvd': 0.30560908,
 'specindex_1re_naisdss': 0.4465879,
 'specindex_1re_pa12': 0.6469185,
 'specindex_1re_pa14': 0.13523296,
 'specindex_1re_pa17': 0.082407184,
 'specindex_1re_tio1': 0.02312117,
 'specindex_1re_tio2': 0.051430404,
 'specindex_1re_tio2sdss': 0.05941378,
 'specindex_1re_tiocvd': 1.0534573,
 'specindex_hi_atio': 0.18232621,
 'specindex_hi_btio': 0.13323237,
 'specindex_hi_c24668': 13.145877,
 'specindex_hi_ca4227': 7.470146,
 'specindex_hi_ca4455': 7.579963,
 'specindex_hi_cah1': 0.18345265,
 'specindex_hi_cah2': 0.134479,
 'specindex_hi_cahk': 39.694824,
 'specindex_hi_caii1': 0.0,
 'specindex_hi_caii2': 0.0,
 'specindex_hi_caii3': 0.0,
 'specindex_hi_clip_atio': 0.12031085,
 'specindex_hi_clip_btio': 0.13429171,
 'specindex_hi_clip_c24668': 11.559466,
 'specindex_hi_clip_ca4227': 5.70183,
 'specindex_hi_clip_ca4455': 5.8970137,
 'specindex_hi_clip_cah1': 0.1814796,
 'specindex_hi_clip_cah2': 0.12494275,
 'specindex_hi_clip_cahk': 29.477184,
 'specindex_hi_clip_caii1': 0.0,
 'specindex_hi_clip_caii2': 0.0,
 'specindex_hi_clip_caii3': 0.0,
 'specindex_hi_clip_cn1': 0.03848137,
 'specindex_hi_clip_cn2': 0.110505216,
 'specindex_hi_clip_d4000': 2.8179746,
 'specindex_hi_clip_dn4000': 2.5910015,
 'specindex_hi_clip_fe4383': 12.733747,
 'specindex_hi_clip_fe4531': 10.478491,
 'specindex_hi_clip_fe5015': 10.268717,
 'specindex_hi_clip_fe5270': 6.442884,
 'specindex_hi_clip_fe5335': -999.0,
 'specindex_hi_clip_fe5406': 5.7971134,
 'specindex_hi_clip_fe5709': 5.739539,
 'specindex_hi_clip_fe5782': 7.0338426,
 'specindex_hi_clip_fehcvd': -999.0,
 'specindex_hi_clip_g4300': 12.858058,
 'specindex_hi_clip_hb': 6.3344836,
 'specindex_hi_clip_hdeltaa': 11.696167,
 'specindex_hi_clip_hdeltaf': 7.363281,
 'specindex_hi_clip_hgammaa': 11.439256,
 'specindex_hi_clip_hgammaf': 7.3267484,
 'specindex_hi_clip_mg1': 0.16603558,
 'specindex_hi_clip_mg2': 0.18487155,
 'specindex_hi_clip_mgb': 6.9796433,
 'specindex_hi_clip_mgicvd': 7.97149,
 'specindex_hi_clip_mgiir': 0.0,
 'specindex_hi_clip_nad': 7.651409,
 'specindex_hi_clip_nai': 0.0,
 'specindex_hi_clip_naicvd': 0.0,
 'specindex_hi_clip_naisdss': 0.0,
 'specindex_hi_clip_pa12': 0.0,
 'specindex_hi_clip_pa14': 0.0,
 'specindex_hi_clip_pa17': 0.0,
 'specindex_hi_clip_tio1': 0.15529612,
 'specindex_hi_clip_tio2': 0.19362745,
 'specindex_hi_clip_tio2sdss': 0.17072938,
 'specindex_hi_clip_tiocvd': 1.199695,
 'specindex_hi_cn1': 0.13124722,
 'specindex_hi_cn2': 0.13624196,
 'specindex_hi_d4000': 3.6134193,
 'specindex_hi_dn4000': 3.3198805,
 'specindex_hi_fe4383': 19.225418,
 'specindex_hi_fe4531': 14.033874,
 'specindex_hi_fe5015': 10.447021,
 'specindex_hi_fe5270': 7.0438824,
 'specindex_hi_fe5335': -999.0,
 'specindex_hi_fe5406': 6.769316,
 'specindex_hi_fe5709': 7.8267226,
 'specindex_hi_fe5782': 7.715983,
 'specindex_hi_fehcvd': -999.0,
 'specindex_hi_g4300': 13.199309,
 'specindex_hi_hb': 9.765947,
 'specindex_hi_hdeltaa': 13.315697,
 'specindex_hi_hdeltaf': 8.133986,
 'specindex_hi_hgammaa': 12.889933,
 'specindex_hi_hgammaf': 8.241569,
 'specindex_hi_mg1': 0.17528483,
 'specindex_hi_mg2': 0.18594217,
 'specindex_hi_mgb': 7.8064184,
 'specindex_hi_mgicvd': 11.277573,
 'specindex_hi_mgiir': 0.0,
 'specindex_hi_nad': 8.078163,
 'specindex_hi_nai': 0.0,
 'specindex_hi_naicvd': 0.0,
 'specindex_hi_naisdss': 0.0,
 'specindex_hi_pa12': 0.0,
 'specindex_hi_pa14': 0.0,
 'specindex_hi_pa17': 0.0,
 'specindex_hi_tio1': 0.17581758,
 'specindex_hi_tio2': 0.22457242,
 'specindex_hi_tio2sdss': 0.22362435,
 'specindex_hi_tiocvd': 1.2137107,
 'specindex_lo_atio': -0.09773963,
 'specindex_lo_btio': -0.3110191,
 'specindex_lo_c24668': -21.919329,
 'specindex_lo_ca4227': -6.4965906,
 'specindex_lo_ca4455': -9.576805,
 'specindex_lo_cah1': -0.17542453,
 'specindex_lo_cah2': -0.2115286,
 'specindex_lo_cahk': -40.765045,
 'specindex_lo_caii1': 0.0,
 'specindex_lo_caii2': 0.0,
 'specindex_lo_caii3': 0.0,
 'specindex_lo_clip_atio': -0.098941304,
 'specindex_lo_clip_btio': -0.2334966,
 'specindex_lo_clip_c24668': -10.48352,
 'specindex_lo_clip_ca4227': -3.1533794,
 'specindex_lo_clip_ca4455': -5.247075,
 'specindex_lo_clip_cah1': -0.17553627,
 'specindex_lo_clip_cah2': -0.12197615,
 'specindex_lo_clip_cahk': -3.206794,
 'specindex_lo_clip_caii1': 0.0,
 'specindex_lo_clip_caii2': 0.0,
 'specindex_lo_clip_caii3': 0.0,
 'specindex_lo_clip_cn1': -0.28052378,
 'specindex_lo_clip_cn2': -0.30325928,
 'specindex_lo_clip_d4000': 2.2906063,
 'specindex_lo_clip_dn4000': 2.1369634,
 'specindex_lo_clip_fe4383': -7.074122,
 'specindex_lo_clip_fe4531': -4.7090836,
 'specindex_lo_clip_fe5015': -7.476422,
 'specindex_lo_clip_fe5270': -4.5851026,
 'specindex_lo_clip_fe5335': -999.0,
 'specindex_lo_clip_fe5406': -2.3742986,
 'specindex_lo_clip_fe5709': -4.472775,
 'specindex_lo_clip_fe5782': -6.253817,
 'specindex_lo_clip_fehcvd': -999.0,
 'specindex_lo_clip_g4300': -4.7669578,
 'specindex_lo_clip_hb': -0.5814569,
 'specindex_lo_clip_hdeltaa': -1.1341102,
 'specindex_lo_clip_hdeltaf': -0.19643383,
 'specindex_lo_clip_hgammaa': -9.221306,
 'specindex_lo_clip_hgammaf': -0.45533746,
 'specindex_lo_clip_mg1': -0.0719978,
 'specindex_lo_clip_mg2': -0.030249458,
 'specindex_lo_clip_mgb': -1.8905766,
 'specindex_lo_clip_mgicvd': -3.1088808,
 'specindex_lo_clip_mgiir': 0.0,
 'specindex_lo_clip_nad': -4.248341,
 'specindex_lo_clip_nai': 0.0,
 'specindex_lo_clip_naicvd': 0.0,
 'specindex_lo_clip_naisdss': 0.0,
 'specindex_lo_clip_pa12': 0.0,
 'specindex_lo_clip_pa14': 0.0,
 'specindex_lo_clip_pa17': 0.0,
 'specindex_lo_clip_tio1': -0.12913258,
 'specindex_lo_clip_tio2': 0.0031668446,
 'specindex_lo_clip_tio2sdss': -0.017870137,
 'specindex_lo_clip_tiocvd': 0.7384483,
 'specindex_lo_cn1': -0.38581884,
 'specindex_lo_cn2': -0.4855681,
 'specindex_lo_d4000': 2.2926426,
 'specindex_lo_dn4000': 2.1320908,
 'specindex_lo_fe4383': -8.182995,
 'specindex_lo_fe4531': -6.772291,
 'specindex_lo_fe5015': -22.142231,
 'specindex_lo_fe5270': -10.728889,
 'specindex_lo_fe5335': -999.0,
 'specindex_lo_fe5406': -7.101056,
 'specindex_lo_fe5709': -11.745926,
 'specindex_lo_fe5782': -8.231678,
 'specindex_lo_fehcvd': -999.0,
 'specindex_lo_g4300': -4.7642274,
 'specindex_lo_hb': -3.283807,
 'specindex_lo_hdeltaa': -2.2277663,
 'specindex_lo_hdeltaf': -2.327436,
 'specindex_lo_hgammaa': -13.2703,
 'specindex_lo_hgammaf': -0.46250376,
 'specindex_lo_mg1': -0.08722681,
 'specindex_lo_mg2': -0.105767705,
 'specindex_lo_mgb': -2.209138,
 'specindex_lo_mgicvd': -5.943578,
 'specindex_lo_mgiir': 0.0,
 'specindex_lo_nad': -10.772675,
 'specindex_lo_nai': 0.0,
 'specindex_lo_naicvd': 0.0,
 'specindex_lo_naisdss': 0.0,
 'specindex_lo_pa12': 0.0,
 'specindex_lo_pa14': 0.0,
 'specindex_lo_pa17': 0.0,
 'specindex_lo_tio1': -0.14582819,
 'specindex_lo_tio2': 0.0048940494,
 'specindex_lo_tio2sdss': -0.02482577,
 'specindex_lo_tiocvd': 0.7096045,
 'stellar_cont_rchi2_1re': 1.582368,
 'stellar_sigma_1re': 76.32441,
 'stellar_vel_hi': 51.786217,
 'stellar_vel_hi_clip': 49.862907,
 'stellar_vel_lo': -105.37463,
 'stellar_vel_lo_clip': -58.098408,
 'stellar_z': 0.040770844,
 'tplkey': 'MILESHC',
 'verscore': 'v1_6_2',
 'versdap': '2.2.1',
 'versdrp2': 'v2_4_3',
 'versdrp3': 'v2_4_3',
 'versutil': 'v5_5_32',
 'z': 0.0407447}

SDSS members produce Value-Added Catalogs (VACS) of MaNGA products. These products can be incorporated into Marvin. Any incorporated VACS in Marvin are contained in the vacs attribute attached to each tool. More information on VACs in Marvin can be found here. Currently the MaNGA-HI VAC for DR15 has been contributed into Marvin. Let’s take a look at it.

[147]:
# access the available VACs for this object
vacs = cube.vacs
vacs
[147]:
<VACContainer ('mangahi')>

vacs is a container (list) of all names of the vacs contributed into Marvin. These names are dottable to access to vac data. These contributed custom products can be of any format chosen by the VAC owner, a Python class, a dictionary, an array, etc.

[153]:
# access the mangahi vac
hi = vacs.mangahi
print(hi)
print('data type:', type(hi))

# access any HI data available for 8485-1901
hi.data
HI(8485-1901)
data type: <class 'marvin.contrib.vacs.mangahi.HIData'>
[153]:
'No HI data exists for 8485-1901'
### Downloading files While Marvin allows you to access data remotely, frequently you will find that you want to download the file associated to an object so that you can access it more quickly in the future. We can do that using the download method attached to all marvin core tools. Let’s try to load a cube that we know we do not have in out hard drive, and download it.
[133]:
# Check our remote cube we loaded earlier
remote_cube
[133]:
<Marvin Cube (plateifu='8485-1902', mode='remote', data_origin='api')>
[134]:
# download the remote cube
# remote_cube.download()
[136]:
# loading the cube a second time loads it from the new file
new_cube = Cube('8485-1902')
new_cube
[136]:
<Marvin Cube (plateifu='8485-1902', mode='remote', data_origin='api')>

Each tool contains a download method to download that individual file. If you want to download a list of targets in bulk, you can use the downloadList utility function. This function uses the built-in Python product sdss_access to download files from the Utah SAS. downloadList accepts as input a list of target ids, e.g. plateifus or mangaids. The dltype keyword indicates the type of file you wish to download. The default file is cube. Let’s use the utility function to download a list of DAP MAPS files for three targets.

[139]:
from marvin.utils.general import downloadList

# create a list of target ids
plateifus = ['8485-1901', '8485-1902', '7443-1901']

# download the DAP 2d MAPS files for these targets
# dllist = downloadList(plateifus, dltype='maps')
### Interacting with Spaxels All of the core Marvin Galaxy Tools have the ability to extract one ore more Spaxel objects. Spaxel objects are special Marvin objects to make it easier to deal with individual spaxels in galaxies and access their properties. See the Getting Started with Spaxels for more information on how to interact with Spaxels. We can either use the standard array slicing notation

(0-indexed, origin of coordinates in the lower left corner of the array)

[140]:
# extract the spaxel at array index x=10, y=15
spaxel = cube[15, 10]
spaxel
[140]:
<Marvin Spaxel (plateifu=8485-1901, x=10, y=15; x_cen=-7, y_cen=-2, loaded=cube)>

or we can use getSpaxel method, which accepts multiple arguments. Note that by default, (x, y) coordinates passed to getSpaxel are measured from the center of the array.

[142]:
# get the spaxel at the center of the target galaxy
central_spaxel = cube.getSpaxel(x=0, y=0)
central_spaxel
[142]:
<Marvin Spaxel (plateifu=8485-1901, x=17, y=17; x_cen=0, y_cen=0, loaded=cube)>
[144]:
# we can plot the spectrum of the spaxel
spaxel.flux.plot()
WARNING: AstropyDeprecationWarning: The truth value of a Quantity is ambiguous. In the future this will raise a ValueError. [astropy.units.quantity]
[144]:
<matplotlib.axes._subplots.AxesSubplot at 0x157f312b0>
../../_images/tutorials_notebooks_Basics_of_Marvin_64_2.png
[ ]:

Additional Resources

[ ]: