110 lines
2.5 KiB
HTML
110 lines
2.5 KiB
HTML
{% extends "mdb.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block header %}
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<p>
|
|
<a href="{% url 'artsurvey index' %}">Back to SRG.ArXiv</a>
|
|
<h3>Retrieve an ICRS object by using an online name resolving service to retrieve coordinates for the specified name using <a href="https://docs.astropy.org/en/stable/api/astropy.coordinates.get_icrs_coordinates.html#">get_icrs_coordinates</a>. By default, this will search all available databases until a match is found.</h3>
|
|
</p>
|
|
|
|
|
|
|
|
<p>HEALPix elements (nside=2048) are selected within <strong>maxdist</strong> parameter via healpix <a target="_blank" href="https://astropy-healpix.readthedocs.io/en/latest/cone_search.html">cone search <span class="glyphicon glyphicon-new-window"></span></a>. Then, all matches are selected within <strong>Rmax</strong> parameter.</p>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-4">
|
|
<p>
|
|
<form enctype="multipart/form-data" action="" method="post">{% csrf_token %}
|
|
<div class="form-group">
|
|
<form action="/srgz/search" method="post">
|
|
{% csrf_token %}
|
|
<table class="table">
|
|
{{ form }}
|
|
</table>
|
|
<input type="submit" class="btn btn-primary" value="Search" />
|
|
</form>
|
|
</div>
|
|
</p>
|
|
|
|
{% if notresolved %}
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<h5 class="card-title">Not resolved</h5>
|
|
<p class="card-text">Failed to find <b>{{ form.name.value }}</b> in all available databases.</p>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
<div class="col-sm-8">
|
|
{% if ra %}
|
|
<p>
|
|
Requested coordinates: RA={{ ra|floatformat:4 }} Dec={{ dec|floatformat:4 }}
|
|
{% if skymap %}
|
|
are found in Plate {{ skymap }}
|
|
{% endif %}
|
|
</p>
|
|
{% endif %}
|
|
<h3>ART-XC sources</h3>
|
|
<table class="table" style="padding: 1px;">
|
|
<thead>
|
|
<th>Source</th>
|
|
<th>CName</th>
|
|
<th>Flux</th>
|
|
<th>Separation</th>
|
|
<th>Type</th>
|
|
<th>Notes</th>
|
|
</thead>
|
|
<tbody>
|
|
{% for src in srcs %}
|
|
<tr>
|
|
<td><a href="{{ src.get_absolute_url }}"><b>{{ src }}</b></a></td>
|
|
<td><b>{{ src.cname }}</b></td>
|
|
<td>{{ src.flux|stringformat:"1.2e" }}</td>
|
|
<td>{{ src.separation|floatformat:2 }}</td>
|
|
<td>
|
|
{{ src.get_otype }}
|
|
</td>
|
|
<td>
|
|
{% for paper in src.catalog.all %}
|
|
{{ paper }},
|
|
{% endfor %}
|
|
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|