Marvin provides tools that are convenience classes and functions for searching, accessing, interacting with, and visualzing MaNGA data. The tools make up the common core components of Marvin and are utilized within the tools itself, as well as by the Web and API.
Marvin includes classes that correspond to different levels of MaNGA data organization:
Core Tools: Directly importable and usable
marvin-tools-cube
: Interface to the MaNGA DRP Cubemarvin-tools-spaxel
: Explore individual spaxelsmarvin-tools-rss
: Interface to the MaNGA DRP RSS objectmarvin-tools-maps
: Interface to the MaNGA DAP Mapsmarvin-tools-bin
: Explore a bin of spaxelsmarvin-tools-modelcube
: Interface to the MaNGA DAP Modelcube objecttools/plate
: Explore all cubes for a given Platemarvin-tools-image
: Interface to MaNGA imagesmarvin-vacs
: Interface to VACs in Marvin
Helper Tools: Not importable but still usable
marvin-tools-spectrum
: The object containing the spaxel flux, ivar, and maskmarvin-tools-map
: Access individual mapsmarvin-tools-mapsprop
: Access MAPS extension information
These classes follow the MaNGA data-access-modes
when determining the data location. Thus they seamlessly move between local FITS file and remote data via API.
Marvin provides tools for easily searching through the MaNGA dataset via queries, from within your own Python terminal.
query
: Perform Queries.results
: Deal with Results from Queries.
All object- and search-based tools in Marvin are seamlessly linked together. To better understand the flow amongst the various Tools, here is a visual guide.
- The red squares and green squares indicate the set of Marvin Tools available.
- The orange circles highlight how each Tool links together via a method or an attribute. In each transition link, a
lowercase
Tool name represents an instantiation of that tool, e.g.cube = Cube()
. To go from aMarvin Cube
to aMarvin Spaxel
, you can use thecube.getSpaxel
method or thecube[x,y]
notation. Conversely, to go from aSpaxel
to aCube
, you would use thespaxel.cube
attribute. Single- or Bi- directional arrows tell you which directions you can flow to and from the various tools. - Purple circles represent display endpoints. If you want to display something, this shows you how which tool the plotting command is connected to, and how to navigate there.