212 lines
5.6 KiB
HTML
212 lines
5.6 KiB
HTML
{% extends "base.html" %}
|
|
{% load heasarc_templates %}
|
|
|
|
{% block header %}{% endblock %}
|
|
{% block precontent %}{% endblock %}
|
|
{% block content %}
|
|
|
|
<p>
|
|
<a href="{{ cat.get_match_xmm_url }}">4XMM DR9</a> | <a href="{{ cat.get_match_gaia_url }}">Gaia</a>
|
|
</p>
|
|
|
|
{% if cat %}
|
|
<h3><a href="{{ cat.get_absolute_url }}">{{ cat.name }} ({{ cat.nrows }})</a> </h3>
|
|
<h4><a href="{{ cat.get_absolute_url_match }}">Matched only ({{ match_count }})</a> | <a href="{{ cat.get_absolute_url_nomatch }}">No matched ({{ nomatch_count }})</a></h4>
|
|
|
|
{% if srcs %}
|
|
|
|
<!--table class="table"-->
|
|
<table id="dterosurvey" class="table table-striped table-bordered table-sm" cellspacing="0" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th class="th-sm">Name</th>
|
|
<th class="th-sm">N/Match</th>
|
|
<th class="th-sm">RA</th>
|
|
<th class="th-sm">Dec</th>
|
|
<th class="th-sm">DET_LIKE_0</th>
|
|
<th class="th-sm">ML_FLUX_0</th>
|
|
<th class="th-sm">ML_RATE_0</th>
|
|
<th class="th-sm"></th>
|
|
<th class="th-sm"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for src in srcs %}
|
|
<tr>
|
|
<td>
|
|
<b>{{ src.name }}</b> {{ src.id_src }}
|
|
</td>
|
|
<td>{{ src.heasarc.all.count }}</b></td>
|
|
<td>{{ src.ra|floatformat:3 }}</td>
|
|
<td>{{ src.dec|floatformat:2 }}</td>
|
|
<td>{{ src.DET_LIKE_0|floatformat:2 }}</td>
|
|
<td>{{ src.ML_FLUX_0|stringformat:"1.1e" }} ± {{ src.ML_FLUX_ERR_0|stringformat:"1.1e" }}</td>
|
|
<td>
|
|
{{ src.ML_RATE_0|floatformat:4 }} ± {{ src.ML_RATE_ERR_0|floatformat:4 }}
|
|
</td>
|
|
|
|
|
|
<td>
|
|
{{ src.xmm_name }}
|
|
</td>
|
|
<td>
|
|
{% if src.simbad.count == 1 %}
|
|
{% for simbad in src.simbad.all %}
|
|
{{ simbad.obj_class }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% if src %}
|
|
<h4><span class="glyphicon glyphicon-arrow-right"></span> <a href="{{ src.get_absolute_url }}"><b>{{ src.name }} ({{ src.heasarc.all.count }} matches)</b></a> RA={{ src.ra|floatformat:4 }}, Dec={{ src.dec|floatformat:4 }}</h4>
|
|
|
|
{% if heasarcs %}
|
|
<h4>XMMSSC (3XMM DR8 Version) CSC (Chandra Source Catalog, v2.0) RASS2RXS</h4>
|
|
<table id="dtheasarc" class="table table-striped table-bordered table-sm" cellspacing="0" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th class="th-sm">Table</th>
|
|
<th class="th-sm">Name</th>
|
|
<th class="th-sm">RA</th>
|
|
<th class="th-sm">Dec</th>
|
|
<th class="th-sm">Lon</th>
|
|
<th class="th-sm">Lat</th>
|
|
<!--th class="th-sm">Healpix</th-->
|
|
<th class="th-sm">Error (arcsec)</th>
|
|
<th class="th-sm">Offset (arcsec)</th>
|
|
<th class="th-sm">Notes</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for src in heasarcs %}
|
|
{% if src.description != 'HeasarcXrayMaster' and src.description != 'HeasarcCHANMASTER' %}
|
|
<tr>
|
|
<td>{{ src.description|remove_heasarc }}</td>
|
|
<td>
|
|
<a href="{{ src.get_absolute_url }}">{{ src.name }}</a>
|
|
</td>
|
|
<td>{{ src.ra|floatformat:3 }}</td>
|
|
<td>{{ src.dec|floatformat:3 }}</td>
|
|
<td>{{ src.lii|floatformat:3 }}</td>
|
|
<td>{{ src.bii|floatformat:3 }}</td>
|
|
<!--td>{{ src.healpix }}</td-->
|
|
<td>{% if src.error_radius > 0 %}{{ src.error_radius|floatformat:2 }}{% endif %}</td>
|
|
<td>{{ src.separation|floatformat:3 }}</td>
|
|
<td>
|
|
{% if src.description == 'HeasarcCSC' %}
|
|
{% if src.extent_flag == 'T' %}extended{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</tbody>
|
|
<tfoot>
|
|
<!--tr>
|
|
<th>Table</th>
|
|
<th>Name</th>
|
|
<th>RA</th>
|
|
<th>Dec</th>
|
|
<th>Lon</th>
|
|
<th>Lat</th>
|
|
<th>Error (arcsec)</th>
|
|
<th>Offset (arcsec)</th>
|
|
</tr-->
|
|
</foot>
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% if heasarcs %}
|
|
<h4>HEASARC X-ray Master</h4>
|
|
<table id="dtheasarcxraymaster" class="table table-striped table-bordered table-sm" cellspacing="0" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th class="th-sm">Mission</th>
|
|
<th class="th-sm">Name</th>
|
|
<th class="th-sm">Offset (arcsec)</th>
|
|
<th class="th-sm">Type</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for src in heasarcs %}
|
|
{% if src.description == 'HeasarcXrayMaster' %}
|
|
<tr>
|
|
<td>{{ src.observatory }} ({{ src.database_table }})</td>
|
|
<td>
|
|
<a href="{{ src.get_absolute_url }}">{{ src.name }}</a>
|
|
</td>
|
|
<td>{{ src.separation|floatformat:3 }}</td>
|
|
<td>
|
|
{% if src.class_id != 9999 %}
|
|
{{ src.object_class.class_name }}
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</tbody>
|
|
<tfoot>
|
|
<!--tr>
|
|
<th>Mission</th>
|
|
<th>Name</th>
|
|
<th>Offset (arcsec)</th>
|
|
<th>Type</th>
|
|
</tr-->
|
|
</foot>
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% if heasarcs %}
|
|
<h4>HEASARC Chandra Master</h4>
|
|
<table id="dtheasarcchandramaster" class="table table-striped table-bordered table-sm" cellspacing="0" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th class="th-sm">ObsID</th>
|
|
<th class="th-sm">Name</th>
|
|
<th class="th-sm">Offset (arcsec)</th>
|
|
<th class="th-sm">Exposure (sec)</th>
|
|
<th class="th-sm">Notes</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for src in heasarcs %}
|
|
{% if src.description == 'HeasarcCHANMASTER' %}
|
|
<tr>
|
|
<td>{{ src.obsid }}</td>
|
|
<td>
|
|
<a href="{{ src.get_absolute_url }}">{{ src.name }}</a>
|
|
</td>
|
|
<td>{{ src.separation|floatformat:3 }}</td>
|
|
<td>{{ src.exposure }}</td>
|
|
<td>PI: {{ src.pi }}, {{ src.category }}</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</tbody>
|
|
<tfoot>
|
|
<!--tr>
|
|
<th>Mission</th>
|
|
<th>Name</th>
|
|
<th>Offset (arcsec)</th>
|
|
<th>Exposure (sec)</th>
|
|
<th>Notes</th>
|
|
</tr-->
|
|
</foot>
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
{% endblock %}
|