{% extends "layout.html" %} {% from 'macros.html' import download, panellist, infopopup, nsatable, nsascatter, dygraph_popup, maphelp_popup %} {% block csshead %} {% endblock csshead %} {% block jshead %} {% endblock jshead %} {% block body %}
{% if not cube %}

{{error}}. Did you mean 8485-1901?

{% else %} {# Galaxy Meta Data #}

Plate-IFU: {{cube.plateifu}} {{cube._drpver}}

Manga-ID: {{cube.mangaid}}

IAU Name: {{cube.nsa.iauname}}
{% if not cubehdr.ifura|allclose(cubehdr.objra) %}{% endif %}
OBJ RA, Dec{{cubehdr.objra}}{{cubehdr.objdec}}
IFU RA, Dec{{cubehdr.ifura}}{{cubehdr.ifudec}}
IFU Glon, Glat{{cubehdr.ifuglon}}{{cubehdr.ifuglat}}
SN2 Blue, Red{{cubehdr.bluesn2|float|round(2)}}{{cubehdr.redsn2|float|round(2)}}
Date Observed{{cubehdr['DATE-OBS']}}
DAP OutputDAP URL
{# Cube Quality Flags #}
{% set qualstatus = (quality|qaclass)[0] %} {% set qualmsg = (quality|qaclass)[1] %}

Cube Quality: {{qualmsg}}

Bit: {{quality[1]}} Flags
{{download('#galaxydownload', links)}} Go to SkyServer
{# MaNGA Target Flags #}

MaNGA Target

{% for bit in mngtarget.bits %}
{% set targname = mngtarget.names[loop.index0]|lower %}
{{targname|targtype}} Bit: {{bit}} Flags
{{panellist('Target Flags', mngtarget.labels[loop.index0], targname)}} {% endfor %}
{##}
{{infopopup('Use this cube in Python', 'Marvin Cube - start iPython', cubestr, 'marvincube', 'info')}}
{{infopopup('Use the spectrum in Python', 'Marvin Spaxel - start iPython', spaxelstr, 'marvinspaxel', 'warning')}}
{{panellist('Quality Flags', quality[2], 'drp3quality')}}
{% endif %}
{# end metadata div #} {# Map and Spectrum View #} {% if cube %} {# Tabs #}
{# SpecMap View Tab #}
{# Initial Static Image Display #}
{{cube.plateifu}} Galaxy Image
{#{{nsatable()}}#}
{# Dynamic Interaction #}
{# end specmap view tab #} {# NSA Display Tab #}
{% if hasnsa %} {# NSA error message #}
{# Main NSA display #}
{{nsatable(nsadict, nsacols, nsaplotcols)}}
{#{% for index in nsachoices.keys() %} {{nsascatter(nsadict, index)}} {% endfor %}#} {{nsascatter(nsadict, 1)}}
{# end main NSA #} {% else %}

This galaxy has no NSA information available in the MaNGA db.

{% endif %}
{# end tab-content div #} {% endif %}
{# end of singlegalaxydiv #} {{dygraph_popup()}} {% endblock body %} {% block code %} {% endblock code %}