355 lines
15 KiB
HTML
355 lines
15 KiB
HTML
{% load artsurvey_templates %}
|
|
{% load heasarc_templates %}
|
|
{% load srgcat_templates %}
|
|
{% load i18n %}
|
|
{% load static %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>{% block title %}SRG ArXiv{% endblock %}</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<META NAME="author" CONTENT="Roman Krivonos, email: krivonos [at] iki.rssi.ru">
|
|
<META NAME="description" CONTENT="High Energy Astrophysics Department at IKI RAN (Moscow, Russia)">
|
|
|
|
|
|
<link rel="stylesheet" href="{% static 'jquery/jquery-ui-themes-1.12.1/jquery-ui.css' %}" type="text/css" media="all" />
|
|
<script src="{% static 'jquery/jquery-3.5.1.min.js' %}" type="text/javascript"> </script>
|
|
<script type="text/javascript" src="{% static 'js/bootstrap.min.js' %}"></script>
|
|
<script src="{% static 'jquery/jquery-ui-1.12.1/jquery-ui.min.js' %}" type="text/javascript"></script>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
|
|
|
|
|
|
<!--link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
|
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script-->
|
|
|
|
|
|
<link rel="stylesheet" href="/static/css/style.css" />
|
|
|
|
|
|
<link type="text/css" rel="stylesheet" href="/static/js9/js9support.css">
|
|
<link type="text/css" rel="stylesheet" href="/static/js9/js9.css">
|
|
<script type="text/javascript" src="/static/js9/js9prefs.js"></script>
|
|
<script type="text/javascript" src="/static/js9/js9support.min.js"></script>
|
|
<script type="text/javascript" src="/static/js9/js9.min.js"></script>
|
|
<script type="text/javascript" src="/static/js9/js9plugins.js"></script>
|
|
|
|
|
|
<script src="{% static 'js/sorted.js' %}"></script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
$( function() {
|
|
$( document ).tooltip();
|
|
} );
|
|
</script>
|
|
|
|
<style>
|
|
|
|
|
|
|
|
label {
|
|
display: inline-block;
|
|
width: 5em;
|
|
` }
|
|
.dot {
|
|
height: 25px;
|
|
width: 25px;
|
|
background-color: #bbb;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
.dotr {
|
|
height: 12px;
|
|
width: 12px;
|
|
background-color: red;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
.dotg {
|
|
height: 12px;
|
|
width: 12px;
|
|
background-color: green;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
.dotb {
|
|
height: 12px;
|
|
width: 12px;
|
|
background-color: blue;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
.dotblack {
|
|
height: 12px;
|
|
width: 12px;
|
|
background-color: black;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
|
|
|
|
ul, li {
|
|
list-style:none;
|
|
padding:0;
|
|
margin:0;
|
|
}
|
|
|
|
.listWrapper {
|
|
max-height:250px;
|
|
overflow-y:auto;
|
|
}
|
|
|
|
.listWrapper150 {
|
|
max-height:150px;
|
|
overflow-y:auto;
|
|
}
|
|
|
|
.tableWrapper {
|
|
max-height:300px;
|
|
overflow-y:auto;
|
|
}
|
|
|
|
.bibcodes {
|
|
display: none;
|
|
}
|
|
|
|
|
|
</style>
|
|
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<script>
|
|
|
|
function js9init(){
|
|
JS9.imageOpts.wcsunits = "degrees";
|
|
|
|
|
|
{% if src %}
|
|
console.log("Preloading images");
|
|
|
|
|
|
{% if src.get_galplane_image_url %}
|
|
/*
|
|
var img = "{{ src.get_galplane_image_url }}/img_flux_0.fits.fz"
|
|
var opts = {parentFile:img, scale:"log",scalemin:"0.0",scalemax:"0.01",colormap:"b",zoom:"toFit"};
|
|
*/
|
|
var img = "{{ src.get_galplane_image_url }}/12g/img_c2dp_0.fits.fz"
|
|
var opts = {parentFile:img, scale:"sqrt",scalemin:"0.0",scalemax:"25",colormap:"b",zoom:"toFit"};
|
|
JS9.Preload(img, opts, {display: "js9aver"});
|
|
console.log("Loading galplane image {{ src.get_galplane_image_url }}/12g/img_c2dp_0.fits.fz");
|
|
{% else %}
|
|
{% if orig.skymap %}
|
|
var img = "/skymap/{{ orig.skymap }}/L3/22y/img_c2dp_0.fits.gz"
|
|
var opts = {parentFile:img, scale:"log",colormap:"b",zoom:"toFit"};
|
|
JS9.Preload(img, opts, {display: "js9aver"});
|
|
console.log("Loading skymap image");
|
|
{% endif %}
|
|
|
|
|
|
{% endif %}
|
|
|
|
{% if src.get_survey_primary_image_url %}
|
|
var img = "{{ src.get_survey_primary_image_url }}"
|
|
var opts = {parentFile:img, scale:"log",colormap:"b",zoom:"toFit"};
|
|
JS9.Preload(img, opts, {display: "js9aver"});
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
}
|
|
|
|
|
|
$(document).ready(function () {
|
|
js9init();
|
|
|
|
|
|
var arr = document.getElementsByClassName('bibcodes');
|
|
for (const x of arr) {
|
|
x.style.display = "none";
|
|
}
|
|
|
|
|
|
|
|
$("#txtSearch").autocomplete({
|
|
source: "/artsurvey/ajax/autocomplete/",
|
|
minLength: 2,
|
|
open: function(){
|
|
setTimeout(function () {
|
|
$('.ui-autocomplete').css('z-index', 99);
|
|
}, 0);
|
|
}
|
|
});
|
|
|
|
});
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<nav class="navbar navbar-default">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<a class="navbar-brand" href="/"><span class="glyphicon glyphicon-list"></span> SRG.ArXiv</a>
|
|
</div>
|
|
<ul class="nav navbar-nav">
|
|
|
|
<li><a href="{% url 'artsurvey index' %}"><span class="glyphicon glyphicon-cog"></span> Settings</a></li>
|
|
|
|
<li class="dropdown">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="glyphicon glyphicon-briefcase"></span> Catalog
|
|
<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="{% url 'artsurvey catalog' %}"><span class="glyphicon glyphicon-book"></span> List of Sources</a></li>
|
|
<li><a href="{% url 'artsurvey types' %}"><span class="glyphicon glyphicon-list-alt"></span> Types</a></li>
|
|
<li><a href="{% url 'artsurvey show turkish' %}"><span class="glyphicon glyphicon-exclamation-sign"></span> Turkish</a></li>
|
|
<li><a href="{% url 'artsurvey csv all' %}"><span class="glyphicon glyphicon-download"></span> Download CSV</a></li>
|
|
<li><a href="{% url 'artsurvey tex' %}"><span class="glyphicon glyphicon-download"></span> Show LaTeX</a></li>
|
|
|
|
<li><a href="{% url 'artsurvey ds9 all' %}"><span class="glyphicon glyphicon-download"></span> DS9 region</a></li>
|
|
<li><a href="{% url 'artsurvey ds9 all flux' %}"><span class="glyphicon glyphicon-download"></span> DS9 region (extended)</a></li>
|
|
<li><a href="{% url 'artsurvey ds9 all paper' %}"><span class="glyphicon glyphicon-download"></span> DS9 region (paper - all)</a></li>
|
|
<li><a href="{% url 'artsurvey ds9 all paper2' %}"><span class="glyphicon glyphicon-download"></span> DS9 region (paper - all text)</a></li>
|
|
<li><a href="{% url 'artsurvey ds9 all paper newonly' %}"><span class="glyphicon glyphicon-download"></span> DS9 region (paper - new only)</a></li>
|
|
<li><a href="{% url 'artsurvey ds9 all paper known' %}"><span class="glyphicon glyphicon-download"></span> DS9 region (paper - known)</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="dropdown">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="glyphicon glyphicon-briefcase"></span> Cross-Match
|
|
<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a href="{% url 'artsurvey crossmatch' %}"><span class="glyphicon glyphicon-tags"></span> <b>ART-XC Match</b></a></li>
|
|
<li><hr></li>
|
|
<li><a href="{% url 'artsurvey rass2rxs filter' %}"><span class="glyphicon glyphicon-book"></span> ROSAT (2RXS)</a></li>
|
|
<li><a href="{% url 'artsurvey rass2rxs filter csv' %}"><span class="glyphicon glyphicon-download"></span> ROSAT (2RXS)</a></li>
|
|
<li><a href="{% url 'artsurvey rass2rxs exclude' %}"><span class="glyphicon glyphicon-book"></span> ROSAT (2RXS) <b>exclude</b> </a></li>
|
|
<li><a href="{% url 'artsurvey rass2rxs exclude csv' %}"><span class="glyphicon glyphicon-download"></span> ROSAT (2RXS) <b>exclude</b></a></li>
|
|
<li><hr></li>
|
|
<li><a href="{% url 'artsurvey swiftbat105m filter' %}"><span class="glyphicon glyphicon-book"></span> Swift/BAT 105m</a></li>
|
|
<li><a href="{% url 'artsurvey swiftbat105m filter csv' %}"><span class="glyphicon glyphicon-download"></span> Swift/BAT 105m</a></li>
|
|
<li><a href="{% url 'artsurvey swiftbat105m exclude' %}"><span class="glyphicon glyphicon-book"></span> Swift/BAT 105m <b>exclude</b></a></li>
|
|
<li><a href="{% url 'artsurvey swiftbat105m exclude csv' %}"><span class="glyphicon glyphicon-download"></span> Swift/BAT 105m <b>exclude</b></a></li>
|
|
<li><hr></li>
|
|
<li><a href="{% url 'artsurvey xmmsl2' %}"><span class="glyphicon glyphicon-book"></span> XMM Slew v2</a></li>
|
|
<li><a href="{% url 'artsurvey integral2020' %}"><span class="glyphicon glyphicon-book"></span> INTEGRAL 17yr</a></li>
|
|
<li><a href="{% url 'artsurvey fermi' %}"><span class="glyphicon glyphicon-book"></span> Fermi (4FGL)</a></li>
|
|
<!--li><a href="{% url 'artsurvey rxte' %}"><span class="glyphicon glyphicon-book"></span> RXTE Slew Survey</a></li-->
|
|
<!--li><a href="{% url 'artsurvey intrefcat' %}"><span class="glyphicon glyphicon-book"></span> INTEGRAL Ref. Cat.</a></li-->
|
|
<!--li><a href="{% url 'artsurvey xmmdr10' %}"><span class="glyphicon glyphicon-book"></span> 4XMM DR10</a></li-->
|
|
<li><a href="{% url 'artsurvey maxi7yr' %}"><span class="glyphicon glyphicon-book"></span> 3MAXI 7yr</a></li>
|
|
<li><a href="{% url 'artsurvey exclude xray' %}"><span class="glyphicon glyphicon-book"></span> Exlude all above</a></li>
|
|
<li><a href="{% url 'artsurvey filter xray' %}"><span class="glyphicon glyphicon-book"></span> Filter all above / NEW</a></li>
|
|
<li><hr></li>
|
|
<li><a href="{% url 'artsurvey xmmdr12' %}"><span class="glyphicon glyphicon-book"></span> 4XMM DR12</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
|
|
<!--li class="dropdown">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="glyphicon glyphicon-briefcase"></span> Paper I
|
|
<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="{% url 'artsurvey paper' %}"><span class="glyphicon glyphicon-book"></span> List of Sources</a></li>
|
|
<li><a href="{% url 'artsurvey csv catalog' %}"><span class="glyphicon glyphicon-download"></span> CSV File</a></li>
|
|
<li><a href="{% url 'artsurvey tex catalog' %}"><span class="glyphicon glyphicon-download"></span> TeX Table</a></li>
|
|
<li><a href="{% url 'artsurvey tex notes' %}"><span class="glyphicon glyphicon-download"></span> TeX Notes</a></li>
|
|
</ul>
|
|
</li-->
|
|
|
|
<li class="dropdown">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="glyphicon glyphicon-briefcase"></span> Paper II
|
|
<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="{% url 'artsurvey cat paper2' %}"><span class="glyphicon glyphicon-book"></span> List of Sources</a></li>
|
|
<li><a href="{% url 'artsurvey csv paper2' %}"><span class="glyphicon glyphicon-download"></span> CSV File</a></li>
|
|
<li><a href="{% url 'artsurvey tex paper2 catalog' %}"><span class="glyphicon glyphicon-download"></span> TeX Table</a></li>
|
|
<li><a href="{% url 'artsurvey tex paper2 notes' %}"><span class="glyphicon glyphicon-download"></span> TeX Notes</a></li>
|
|
|
|
</ul>
|
|
</li>
|
|
|
|
|
|
<!--li class="dropdown">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="glyphicon glyphicon-search"></span> Search
|
|
<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="{% url 'artsurvey search by coords' %}"><span class="glyphicon glyphicon-minus"></span> by Coords</a></li>
|
|
<li><a href="{% url 'artsurvey search by name' %}"><span class="glyphicon glyphicon-minus"></span> by Name</a></li>
|
|
</ul>
|
|
</li-->
|
|
|
|
<li class="dropdown">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="glyphicon glyphicon-briefcase"></span> Tools
|
|
<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="{% url 'artsurvey search by coords' %}"><span class="glyphicon glyphicon-minus"></span> Search by Coords</a></li>
|
|
<li><a href="{% url 'artsurvey search by name' %}"><span class="glyphicon glyphicon-minus"></span> Search by Name</a></li>
|
|
<li><a href="{% url 'artsurvey summary' %}"><span class="glyphicon glyphicon-tags"></span> Summary</a></li>
|
|
<li><a href="{% url 'artsurvey history' %}"><span class="glyphicon glyphicon-tags"></span> History</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
|
|
<li class="dropdown">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="glyphicon glyphicon-briefcase"></span> Links
|
|
<span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a target="_blank" href="http://catserver.ing.iac.es/staralt/"><span class="glyphicon glyphicon-tags"></span> Планировщик оптических наблюдений</a></li>
|
|
<li><a target="_blank" href="https://www.swift.ac.uk/user_objects/"><span class="glyphicon glyphicon-tags"></span> Build Swift-XRT products</a></li>
|
|
<li><a target="_blank" href="http://xmmuls.esac.esa.int/upperlimitserver/"><span class="glyphicon glyphicon-tags"></span> X-ray upper limits server</a></li>
|
|
<li><a target="_blank" href="https://www.swift.ac.uk/support/too.php"><span class="glyphicon glyphicon-tags"></span> Swift TOO</a></li>
|
|
<li><a target="_blank" href="http://wsa.roe.ac.uk/"><span class="glyphicon glyphicon-tags"></span> UKIDSS и др. обзоры UKIRT</a></li>
|
|
<li><a target="_blank" href="http://horus.roe.ac.uk/vsa/"><span class="glyphicon glyphicon-tags"></span> VVV и др. обзоры VISTA</a></li>
|
|
<li><a target="_blank" href="https://skymapper.anu.edu.au/cone-search/"><span class="glyphicon glyphicon-tags"></span> SkyMapper: обзор южного неба</a></li>
|
|
<li><a target="_blank" href="http://svo2.cab.inta-csic.es/theory/fps/"><span class="glyphicon glyphicon-tags"></span> Характеристики фильтров</a></li>
|
|
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
{% if user.is_authenticated %}
|
|
<a class="btn btn-danger navbar-btn navbar-right" role="button" href="/logbook/logout"><span class="glyphicon glyphicon-log-out"></span> {% trans 'Sign Out' %}</a>
|
|
<a href="{% url 'artsurvey profile' %}" class="btn btn-link navbar-btn navbar-right"><span class="glyphicon glyphicon-user"></span> <strong>{{ user.first_name }} {{ user.last_name }}</strong></a>
|
|
{% else %}
|
|
<a class="btn btn-danger navbar-btn navbar-right" role="button" href="/logbook/login"><span class="glyphicon glyphicon-log-in"></span> {% trans 'Sign In' %}</a>
|
|
{% endif %}
|
|
|
|
|
|
</div>
|
|
</nav>
|
|
|
|
|
|
{% block header %}{% endblock %}
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-9">
|
|
|
|
<h3>Code for reading CSV catalog:</h3>
|
|
<pre>
|
|
import csv
|
|
with open(filename, 'r' ) as theFile:
|
|
reader = csv.DictReader(theFile)
|
|
for line in reader:
|
|
print(line['NAME'])
|
|
</pre>
|
|
</div></div></div>
|
|
|
|
|
|
</body>
|
|
</html>
|