{% extends "base.html" %} {% load mathfilters %} {% load heasarc_templates %} {% load simbadescape %} {% block javascripts %} {% endblock %} {% block precontent %}

Source:{{src.name}}

survey {{src.survey}}

{% for srcdet in detections %}

survey {{srcdet.survey}}

{% endfor %} {% comment %}

Transient

{% if refsrc %}

reference

{% endif %} {% endcomment %}

name

{{src.name}}

{% for srcdet in detections %}
{%if srcdet.detected %}

{{srcdet.name}}

{% endif %}
{% endfor %} {% comment %}

{{src.name}}

{% if refsrc %}

{% if true_counterpart %}{{refsrc.name}}{% endif %}

{% endif %} {% endcomment %}

obs start

{{src.tstart}}

{% for srcdet in detections %}

{{srcdet.tstart}}

{% endfor %} {% comment %}

{{src.tstart}}

{% if refsrc %}

{{refsrc.tstart}}

{% endif %} {% endcomment %}

obs stop

{{src.tstop}}

{% for srcdet in detections %}

{{srcdet.tstop}}

{% endfor %} {% comment %} {% if refsrc %}

{{refsrc.tstop}}

{% endif %} {% endcomment %}

RA

{{src.ra|floatformat:-4}}

{% for srcdet in detections %}

{{srcdet.ra|floatformat:-4}}

{% endfor %} {% comment %} {% if refsrc %}

{% if true_counterpart %}{{refsrc.ra|floatformat:-4}}{% endif %}

{% endif %} {% endcomment %}

DEC

{{src.dec|floatformat:-4}}

{% for srcdet in detections %}

{{srcdet.dec|floatformat:-4}}

{% endfor %} {% comment %} {% if refsrc %}

{% if true_counterpart %}{{refsrc.dec|floatformat:-4}}{% endif %}

{% endif %} {% endcomment %}

RADEC_ERR

{{src.error_radius|floatformat:-1}}

{% for srcdet in detections %}
{%if srcdet.detected %}

{{srcdet.error_radius|floatformat:-4}}

{% endif %}
{% endfor %} {% comment %} {% if refsrc %}

{% if true_counterpart %}{{refsrc.error_radius|floatformat}}{% endif %}

{% endif %} {% endcomment %}

ML_BKG_0

{{src.ML_BKG_0|floatformat:-1}}

{% for srcdet in detections %}
{%if srcdet.detected %}

{{srcdet.ML_BKG_0|floatformat:-1}}

{% endif %}
{% endfor %} {% comment %} {% if refsrc %}

{% if true_counterpart %}{{refsrc.ML_BKG_0|floatformat}}{% endif %}

{% endif %} {% endcomment %}

EXT

{{src.EXT|floatformat:-1}}

{% for srcdet in detections %}
{%if srcdet.detected %}

{{srcdet.EXT}}

{% endif %}
{% endfor %} {% comment %} {% if refsrc %}

{% if true_counterpart %}{{refsrc.EXT|floatformat}}{% endif %}

{% endif %} {% endcomment %}

EXT_ERR

{{src.EXT_ERR|floatformat:-1}}

{% for srcdet in detections %}
{%if srcdet.detected %}

{{srcdet.EXT_ERR|floatformat:-1}}

{% endif %}
{% endfor %} {% comment %} {% if refsrc %}

{% if true_counterpart %}{{refsrc.EXT_ERR|floatformat}}{% endif %}

{% endif %} {% endcomment %}

EXT_LIKE

{{src.EXT_LIKE|stringformat:"f"}}

{% for srcdet in detections %}
{%if srcdet.detected %}

{{srcdet.EXTLIKE}}

{% endif %}
{% endfor %} {% comment %} {% if refsrc %}

{% if true_counterpart %}{{refsrc.EXT_LIKE|stringformat:"f"}}{% endif %}

{% endif %} {% endcomment %}

ML_EXP_1

{{src.ML_EXP_1|floatformat:-1}}

{% for srcdet in detections %}
{%if srcdet.detected %}{{srcdet.ML_EXP_1}}{% endif %}
{% endfor %} {% comment %} {% if refsrc %}

{% if true_counterpart %}{{refsrc.ML_EXP_1|floatformat}}{% endif %}

{% endif %} {% endcomment %}

lii

{{src.lii|floatformat:-3}}

{% for srcdet in detections %}
{%if srcdet.detected %}

{{srcdet.lii|floatformat:-3}}

{% endif %}
{% endfor %} {% comment %} {% if refsrc %}

{% if true_counterpart %}{{refsrc.lii|floatformat:-3}}{% endif %}

{% endif %} {% endcomment %}

bii

{{src.bii|floatformat:-3}}

{% for srcdet in detections %}
{%if srcdet.detected %}

{{srcdet.bii|floatformat:-3}}

{% endif %}
{% endfor %} {% comment %} {% if refsrc %}

{% if true_counterpart %}{{refsrc.bii|floatformat}}{% endif %}

{% endif %} {% endcomment %}

flux

{{src.sxflux|stringformat:"1.1e"}}

{% for srcdet in detections %}
{%if srcdet.detected %}{%else%}{%endif%}

{{srcdet.sxflux|stringformat:"1.1e"}}

{% endfor %} {% comment %} {% if refsrc %}

{{refflux|stringformat:"1.1e"}}

{% endif %} {% endcomment %}

ML_CTS_0

{{src.ML_CTS_0|stringformat:".1f"}}

{% for srcdet in detections %}
{%if srcdet.detected %}

{{srcdet.ML_CTS_0|stringformat:".1f"}}

{%endif%}
{% endfor %} {% comment %} {% if refsrc %}

{% if true_counterpart %}{{refsrc.ML_CTS_0|stringformat:".1f"}}{% endif %}

{% endif %} {% endcomment %}

DETLKL

{{src.DET_LIKE_0|stringformat:"1.1e"}}

{% for srcdet in detections %}
{%if srcdet.detected %}

{{srcdet.DET_LIKE_0|stringformat:"1.1e"}}

{%endif%}
{% endfor %} {% comment %} {% if refsrc %}

{% if true_counterpart %}{{refsrc.DET_LIKE_0|stringformat:"1.1e"}}{% endif %}

{% endif %} {% endcomment %}

{% if src.sourcecomment_set.all %}

Final comment

{{src.sourcecomment_set.last.text}}

{{src.sourcecomment_set.last.author.username}} ({{src.sourcecomment_set.last.created}})

{% endif %}

Source:{{src.name}}

{% if src.srcauxdata %} {% load static %}

Gamma = {{src.srcauxdata.gamma|floatformat:-2 }} ({{src.srcauxdata.gammael|floatformat:-2 }}, {{src.srcauxdata.gammaeu|floatformat:-2 }}) nH = {{src.srcauxdata.nh|stringformat:"1.1e"}}

Gamma = {{refsrc.srcauxdata.gamma|floatformat:-2 }} ({{refsrc.srcauxdata.gammael|floatformat:-2 }}, {{refsrc.srcauxdata.gammaeu|floatformat:-2 }}) nH = {{refsrc.srcauxdata.nh|stringformat:"1.1e" }}

{% comment %} {% if src.srcauxdata.gamma > 0 %} {% autoescape off %} {{ srcspec }} {% endautoescape %}
{%endif%} {% endcomment %}
{% for refsrc in detections %}
{%if refsrc and refsrc.srcauxdata and refsrc.srcauxdata.specimg %} {% comment %} {% endcomment %} {% endif %}
{%endfor%}
{% if src.srcauxdata %} {% endif %}
{% for refsrc in detections %}
{% if refsrc.srcauxdata and refsrc.srcauxdata.img %} {% comment %} {% endcomment %} {% endif %}
{% endfor %}
{% endif %}
{% for refsrc in detections %}
{% endfor %}

Simbad NED


{% if gaia.count %}

GAIA

{% for csrc in gaia %} {% endfor %}
Source name ra dec G mag plx pmra pmdec offset, "
{{ csrc.name }} {{ csrc.ra|floatformat:5 }} {{ csrc.dec|floatformat:5 }} {{ csrc.gaiasource.phot_g_mean_mag|floatformat:-1 }} {{csrc.gaiasource.parallax|floatformat:-2}}±{{csrc.gaiasource.parallax_error|floatformat:-2}} {{csrc.gaiasource.pmra|floatformat:-2}}±{{csrc.gaiasource.pmra_error|floatformat:-2}} {{csrc.gaiasource.pmdec|floatformat:-2}}±{{csrc.gaiasource.pmdec_error|floatformat:-2}} {{ csrc.sep|floatformat:3 }}
{% endif %} {% if simbad.count %}

Simbad

{% for csrc in simbad %} {% endfor %}
Source name ra dec class & z offset, "
{{ csrc.name }} {{ csrc.ra|floatformat:3 }} {{ csrc.dec|floatformat:3 }} class={{csrc.simbadsource.obj_class}} {%if csrc.simbadsource.z > 0.0001 %} z={{csrc.simbadsource.z}} {% endif %} {{ csrc.sep|floatformat:3 }}
{% endif %} {% if xray.count %}

X-ray

{% for csrc in xray %} {% endfor %}
Source name ra dec flux, erg/s offset, " catalog
{{ csrc.name }} {{ csrc.ra|floatformat:3 }} {{ csrc.dec|floatformat:3 }} {{ csrc.sxflux|stringformat:"1.1e" }} {{ csrc.sep|floatformat:3 }} {{ csrc.catalog.first.name }}
{% endif %} {% if ztf.count %}

ZTF

{% for csrc in ztf %} {% endfor %}
Source name ra dec class, Mag offset, "
{{ csrc.name }} {{ csrc.ra|floatformat:3 }} {{ csrc.dec|floatformat:3 }} ztf classrf: {{csrc.connected.ztfoid.classrf}}, g {{csrc.connected.ztfoid.mean_magap_g|floatformat:-1}}, r {{csrc.connected.ztfoid.mean_magap_r|floatformat:-1}} {{ csrc.sep|floatformat:3 }}
{% endif %} {% if allwise.count %}

AllWISE

{% for csrc in allwise %} {% endfor %}
Source name ra dec W1 W2 W3 W4 offset, "
{{ csrc.name }} {{ csrc.ra|floatformat:3 }} {{ csrc.dec|floatformat:3 }} {{ csrc.w1mag|floatformat:3 }} {{ csrc.w2mag|floatformat:3 }} {{ csrc.w3mag|floatformat:3 }} {{ csrc.w4mag|floatformat:3 }} {{ csrc.sep|floatformat:3 }}
{% endif %}
{% comment %}
{% endcomment %}
{% if src.sourcecomment_set.all %}

Comments

{% for comment in src.sourcecomment_set.all %}

{{comment.text}}

{{comment.author.username}} ({{comment.created}})

{% if comment.author == user %} {% endif %}
{%endfor%} {% endif %}

Add comment

{% csrf_token %}
{% endblock %}