Attention
This is a critical bugfix release that corrects a problem that could affect your science results. Please update as soon as possible and check whether your analysis is impacted by this bug.
This version fixes a critical bug when retrieving the spaxels associated with a bin. It also simplifies the library namespace allowing for easier access to the most used Tools.
In version 2.2 we introduced the concept of Bin as a collection of spaxels that belong to the same binning unit. As part of the API, one can use spaxels
attribute to access a list of the spaxels that are included in the bin. The bug now fixed caused a list of incorrect spaxels to be associated with the bin, due to an inversion in the (x, y)
order of the spaxels. For example, before 2.2.6 one would get
>>> cube = Cube('8485-1901')
>>> maps = cube.getMaps('HYB10')
>>> bb = maps[22, 14]
>>> bb.spaxels
[<Marvin Spaxel (x=21, y=13, loaded=False),
<Marvin Spaxel (x=21, y=14, loaded=False),
<Marvin Spaxel (x=22, y=13, loaded=False),
<Marvin Spaxel (x=22, y=14, loaded=False)]
where the x and y values should be
[<Marvin Spaxel (x=13, y=21, loaded=False),
<Marvin Spaxel (x=14, y=21, loaded=False),
<Marvin Spaxel (x=13, y=22, loaded=False),
<Marvin Spaxel (x=14, y=22, loaded=False)]
Prior to 2.2.6 accessing different Tools classes was inconvenient since one would need to import them independently (e.g., from marvin.tools.cube import Cube
, from marvin.tools.maps import Maps
, etc.) This version makes access easier by exposing all the Tools from the marvin.tools
namespace so that you can now do
import marvin
cube = marvin.tools.Cube('8485-1901')
maps = marvin.tools.Maps('7443-12701')
For MPL-6, we now raise an explicit error when attempting to apply the correction to stellar_sigma
, using the inst_sigma_correction
method. The error message now suggests to upgrade to MPL-7 data. For the web display of the stellar_sigma
and emline_gsigma
maps, we now apply the sigma correction automatically. The corrected map is indicated via Corrected: stellar_sigma map title.
Marvin 2.2.0 brings significant improvements in the way you interact with MaNGA data. Try the Jupyter Notebook for a small sample.
Maps
and ModelCubes
cube[i, j]
returns the same result as cube.getSpaxel(x=j, y=i, xyorig='lower')
.elpetro_absmag
. Absolute magnitudes are now the default for plotting on the web.FileNotFoundError
if the data file is missing.elpetro_absmag_r
being replaced by elpetro_absmaelpetro_mag_g_r
.value
, ivar
, and mask
arrays (e.g., BPT masks).ra
and dec
as properties.ha_to_hb
ratio.Marvin 2.0 is a complete overhaul of Marvin 1.0, converting Marvin into a full suite of interaction tools.
Marvin 2.0 introduces two new modes of operations, Tools (marvin.tools) and API (marvin.api), to the Marvin environment, and introduces an extensive redesign of the Marvin web app.
The major improvements and additions in this release: