mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 07:40:26 -08:00
148 lines
12 KiB
HTML
148 lines
12 KiB
HTML
|
|
<HTML>
|
|
<HEAD>
|
|
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=no">
|
|
<script type="text/javascript">
|
|
var hipsDir=null;</script>
|
|
</HEAD>
|
|
<H1>"ESO outreach" progressive survey</H1>
|
|
This Web resource contains HiPS(*) components for <B>ESO EPO</B> progressive survey.
|
|
<TABLE>
|
|
<TR>
|
|
<TD>
|
|
<div id="aladin-lite-div" style="width:70vw;height:70vh;">
|
|
<div style="max-width: 30%; background-color: rgba(255, 255, 255, 0.6); z-index: 20; position: absolute; left: 40%;top: 2%;"><span id="previousField" style="cursor: pointer;">←</span><select name="fields" id="field-select"><option value="">--Choose a field</option></select><span id="nextField" style="cursor: pointer;">→</span></div>
|
|
<div style="background-color: rgba(255, 255, 255, 0.6); z-index: 20; position: absolute; left: 10px;bottom: 30%;"> Overlay opacity:<br><input id="opacity" type="range" min="0" max="1" step="0.05" value="1"></div>
|
|
</div>
|
|
<script type="module">
|
|
import A from '../src/js/A.js';
|
|
|
|
// fields selection
|
|
const fields = ['Gum 15', 'NGC 3766', 'HD 131399Ab', 'Einstein Cross', 'M 77', 'NGC 4027', 'RCW 36', 'NGC 4567', 'Abell 3827', 'NGC 1999', 'Serpens Nebula', 'IRAS 13481-6124', 'HR 5171', 'PN G111.8-02.8', 'NGC 908', 'LMC', 'NGC 1427A', 'OGLE-TR-132', 'IC 1295', 'LBN 29', 'NGC 3532', 'Messier 100', 'L Carinae', 'HD 163296', 'Messier 74', 'UKS 1', 'Taurus Molecular Cloud', 'NGC 346', 'Ant Nebula', 'Cartwheel galaxy', 'Flame Nebula', 'IC 4406', 'Jewel Box', 'MS 1008.1-1224', 'Eagle Nebula', 'ESO 269-G57', 'HE 1104-1805', 'NGC 2736', 'R Aquilae', 'NGC 6604', 'ESO 170-6', 'Fomalhaut', 'HH 46', 'NGC 1637', 'RS Puppis', 'Barnard 33', 'NGC 7727', 'Helix Nebula', 'NGC 1365', 'HH 212', 'NGC 3576', 'AS 209', 'RXJ1347.5-1145', 'NGC 1850', 'Abell 315', 'Spiderweb Galaxy', 'Carina Nebula', 'NGC 4981', 'NGC 7424', 'ESO 577-24', 'NGC 6302', 'Eyelash', 'HR 8799', 'NGC 4650A', 'Abell 2744', 'NGC 5364', 'NGC 1232', 'Messier 104', 'Antennae', 'NGC 3201', 'NGC 3621', 'MACS J2135-010217', 'NGC 5584', 'HD 87643', 'IC 2631', 'NGC 4435', 'NGC 300', 'Chamaeleon I', 'Centaurus A', 'Becklin-Neugebauer Object', 'NGC 986', 'NGC 2093', 'N 70', 'NGC 7793', 'NGC 4254', 'NGC 799', 'NGC 3324', 'NGC 6822', 'NGC 6300', 'HH 34', 'VVV BD001', 'Brey 2', 'M 16', 'Swan Nebula', 'WOH G64', 'NGC 1792', 'M 20', 'NGC 6752', 'RX J1856.5-3754', 'V390 Velorum', 'NGC 4666', 'NGC 1964', 'M 78', 'GJ 263', 'NGC 6397', 'Gum 26', 'GG Tauri', 'Virgo Cluster', 'NGC 4365', 'MS 1008', 'Abell 370', 'NGC 3166', 'NGC 4303', 'NGC 5643', 'NGC 300 X-1', 'IC 2163', '1ES 0657-558', 'GOODS South field', 'NGC 55', 'Arp 271', 'ESO184-G82', 'U Antliae', 'NGC 104', 'NGC 1350', 'N 44', 'RCW 108', 'NGC 1313', 'NGC 3244', 'Sh 2-305', 'ESO202-G23', 'GRB 000131', 'Barnard 59', 'NGC 3699', 'N 164', 'HL Tauri', 'RCW 86', 'NGC 1261', 'NGC 2100', 'ACT-CL J2327.4-0204', 'HD 141569', 'Haffner 18', 'NGC 1300', 'TYC 8998-760-1', 'Messier 18', 'IC 2944', 'EIS0046-2930', 'NGC 5139', 'NGC 2023', 'NGC 6537', 'Messier 96', '[FSR2007] 1735', 'SDSS J103027.09+052455.0', 'HD 212087', 'RCW 88', 'Trifid Nebula', 'HR 4796', 'NGC 1448', 'SN 1006', 'HD 95086 b', 'Southern Crab', 'ESO 137-001', 'W Hydrae', 'Galactic Centre', 'COSMOS Field', 'RCW 106', 'HCG 86', 'CoRoT-7', 'NGC 3199', 'Gum 1', 'RCW120', 'NGC 87', '47 Tucanae', 'j16081299-2304314', 'NGC 6188', 'Rho Ophiuchi', 'NGC 6902', 'NGC 6388', 'WR124', 'PN K1-22', 'GRB 990510', 'Messier 95', 'NGC 5426', 'NGC 6362', 'Gum 19', 'NGC 7252', 'NGC 5236', 'Carina Dwarf Galaxy', 'Rosette Nebula', 'SDSS J102009.99+104002.7', 'Sagittarius A*', 'WLM Galaxy', 'OMC', 'Elia 2-27', 'NGC 6563', 'LHA 120-N 44', 'HR 8799e', 'NGC 2359', 'Arp 220', 'ESO 137-10', 'Messier 55', 'Circinus Galaxy', 'HD97048', 'Messier 84', 'Messier 61', 'NGC 3981', 'V883 Orionis', 'Fornax Cluster', 'Hubble Ultra Deep Field', 'Messier 17', 'WISE J104915.57-531906.1', 'IRAS 17163-3907', '[VCB2019b] COSMOS-Gr30 64', 'HE 0109-3518', 'Messier 78', 'IRAS 16362-4845', 'W49A', 'Iota Horologii', 'ACT-CL J0102-4915', 'NGC 6781', 'NGC 330', 'NGC 5018', 'Mrk 739', 'Messier 42', 'M 47', 'Tarantula Nebula', 'NGC 1087', 'Fine Ring Nebula', 'Lupus 4', 'Boomerang Nebula', 'MG0414+0534', 'V1247 Orionis', 'OGLE-TR-113', 'M 33', 'NGC 3582', 'NGC 1929', 'Great Attractor', '[CFP2010] BDF 3299', 'ldn 1768', '2MASS J16281370-2431391', 'Pismis 24', 'Baade Window', 'NGC246', 'IRAS 17175-3544', 'Omega Centauri', 'NGC 253', 'Eta Carinae', 'Beta Pictoris', 'Abell 1300', '[BHB2007] 11', 'DEM L 299', 'NGC 7582', 'IC 2220', 'PKS 1830-211', 'Messier 87', 'LL Pegasi', 'R Coronae Australis', 'Messier 98', 'Abell 496', 'Hubble Deep Field South', 'IC 2006', 'CXOCDFS J033229.9 -275106', 'Gamma Reticulli', 'NGC 3628', 'SN 1987A', 'Collinder 261', 'NGC 5291', 'NGC 2060', 'Hen 2-428', 'NGC 5248', 'NGC 2770', 'NGC 3603', 'BPS CS 31082-001', 'Terzan 5', 'HD135344B', 'NGC 2367', 'RXJ 0529.4+0041', '30 Doradus', 'Messier 77', 'IC 5148', 'M 54', 'Milky Way', 'CK Vulpeculae', 'Arches Cluster', 'N214C', 'NGC 4755', 'Dumbbell Nebula', 'AB Aurigae', 'Medusa Nebula', 'NGC 7098', 'NGC 3293', 'ARP 261', 'GQ Lupi', 'HE 2347-4342', 'Brey 40a', 'Trumpler 14', 'NGC 6369', 'Lagoon Nebula', 'NGC 6769', 'ESO 593-IG 008', '1E 0102.2-7219', 'NGC 2217', 'RX J0806.3+1527', 'NGC 3190', 'NGC 6744', 'VY Canis Majoris', 'M 107', 'NGC 5090', 'PGC 6830', 'Fornax Dwarf Galaxy', 'NGC 3590', 'Crab Nebula', 'NGC 1559', 'HH 111', 'PB5763', 'NGC 2547', 'ESO 60-24', 'M 42', 'NGC 1788', 'W26', 'PDS 70c', 'M 11', 'PGC 63287', 'Barnard 68', 'NGC 6729', 'M 17', 'IC 1613', 'HIC 59206 ', 'Abell 226', 'AFGL 5142', 'Lupus 3', 'NGC 1531', 'GRB 060505', 'Messier 83', 'Gum 16', 'NGC 1316', 'NGC 1187', 'NGC 1433', 'ClG 2244.6-0222', 'MACS j1149.5+223', '[CHM98] Cl 0053-37 17', 'DG121', 'NGC 3627', 'M 7', 'Abell 2597', 'V445 Puppis', 'IC 4248', 'Abell 3627', 'M 100', 'HD100623', 'Q1205-30', 'IM Lupi', 'Orion Nebula', 'HD 181327', 'M 68', 'Betelgeuse', 'Sculptor Dwarf Galaxy', 'NGC 1288', 'NGC 2362', 'Barnard 86', 'NGC 5247', 'LDN 483', 'TW Hydrae', 'Christmas Tree Cluster', 'Arp 157', 'NGC 157', 'AS 205', 'NGC 5011B', 'Messier 12', 'NGC 5189', 'Antares', 'PLCKESZ G286.6-31.3', 'NGC 371', 'Alpha Centauri', 'NGC 2257', 'LHA 115-N 76A', 'NGC 6118', 'NGC 6357', 'IRAS 08544-4431', 'NGC 2997', 'PDS 70', 'Mira', 'NGC 5253', 'HE 1013-2136', 'NN Serpentis', 'NGC 2035', 'HD 22862', '[BC86b] LDN 1448 IRS 3B', 'CG4', 'NGC 1916', 'Nova Centauri 2013', 'NGC 2613', 'Westerlund 1', 'Leo Triplet', 'Sirius', 'NGC 5128', 'NGC 1097', 'AB Doradus', 'NAME ACO 901-902 SUPERCLUSTER ', 'NGC 2442', 'R Aquarii', 'RS Ophiuchi', 'Gum 41', 'M 55', 'RR Lyr', 'NGC 3521', 'Gum 56', 'NGC 7009', 'SU Aurigae', 'IRAS 16562-3959', 'HE 0437-5439', 'RCW 34', "Barnard's Star b", 'NGC 3314a', 'Milky Way Galactic Centre', 'NGC 4993', 'IC 4651', 'NGC 2108', 'M87*', 'Markarian 1018', 'NGC 247', 'M 104', 'NGC 936', 'NGC 2467', 'NGC 134', 'NGC 4945', 'Small Magellanic Cloud', 'HD 10180 ', 'R Sculptoris', 'DEM L 297', 'M 83', 'NGC 92', 'Antlia Dwarf Galaxy', 'IC 2177', 'b Centauri', 'NGC 1398', 'NGC 5233', 'Gum 29', 'Dem L 159', 'IC 4970', 'OACDF J122425.0-123011', 'LHA 120-N 180B', 'NGC 4030', 'Abell 2151', 'N 119', 'HD 106906AB', 'VFTS 102', 'Coalsack Nebula', 'MWC 147', 'Chandra Deep Field South', 'GW Orionis', 'NGC 2899', "Cat's Paw Nebula", 'GSC 07396-00759', 'Orion Molecular Cloud', 'HD 169142', 'ShaSS 423045073', 'RCW 38', 'HD 3651', 'NGC 4535', 'LHA 120-N 55', 'HD101584', 'MCG-01-39-003', 'M 4', 'ESO 510-13', 'NGC 470', 'Crab Pulsar', 'HD 85512', 'Messier 66', 'NGC 7173', 'NGC 6559', 'Monoceros R2', 'NGC 4565'];
|
|
|
|
fields.sort();
|
|
console.log(fields.length + ' objects in list');
|
|
const fieldSelect = document.getElementById('field-select');
|
|
for (var k=0; k<fields.length; k++) {
|
|
var opt = document.createElement('option');
|
|
opt.value = fields[k];
|
|
opt.innerHTML = fields[k];
|
|
fieldSelect.appendChild(opt);
|
|
}
|
|
fieldSelect.addEventListener("change", function() {
|
|
if (this.value.length>0) {
|
|
aladin.gotoObject(this.value);
|
|
}
|
|
});
|
|
|
|
const previousFieldFn = function() {
|
|
const idxSelected = fields.indexOf(fieldSelect.value);
|
|
if (idxSelected>0) {
|
|
fieldSelect.value = fields[idxSelected - 1];
|
|
fieldSelect.dispatchEvent(new Event('change'));
|
|
}
|
|
};
|
|
|
|
const nextFieldFn = function() {
|
|
const idxSelected = fields.indexOf(fieldSelect.value);
|
|
if (idxSelected<fields.length - 1) {
|
|
fieldSelect.value = fields[idxSelected + 1];
|
|
fieldSelect.dispatchEvent(new Event('change'));
|
|
}
|
|
};
|
|
|
|
|
|
|
|
document.getElementById('previousField').addEventListener('click', previousFieldFn);
|
|
document.addEventListener('keydown', (event) => {if (event.keyCode==37) previousFieldFn();})
|
|
|
|
document.getElementById('nextField').addEventListener('click', nextFieldFn);
|
|
document.addEventListener('keydown', (event) => {if (event.keyCode==39) nextFieldFn();})
|
|
|
|
const slider = document.getElementById('opacity');
|
|
slider.oninput = function() {
|
|
aladin.getOverlayImageLayer().setAlpha(slider.value);
|
|
};
|
|
|
|
// listener to toggle on/off overlay layer
|
|
let toggleOn = true;
|
|
document.addEventListener('keydown', (event) => {if (event.keyCode==84) {
|
|
toggleOn = ! toggleOn;
|
|
if (toggleOn) {
|
|
slider.value = 1.0;
|
|
}
|
|
else {
|
|
slider.value = 0.0;
|
|
}
|
|
|
|
aladin.getOverlayImageLayer().setAlpha(slider.value);
|
|
}
|
|
});
|
|
|
|
// listener for zoom in / zoom out
|
|
document.addEventListener('keydown', function(e) {
|
|
if (e.keyCode==73) {
|
|
aladin.increaseZoom();
|
|
}
|
|
if (e.keyCode==79) {
|
|
aladin.decreaseZoom();
|
|
}
|
|
});
|
|
|
|
fieldSelect.addEventListener('change', function() {
|
|
fieldSelect.blur();
|
|
});
|
|
|
|
var target = 'NGC 1300';
|
|
fieldSelect.value = target;
|
|
var fov = 12 / 60.;
|
|
const params = new URLSearchParams(location.search);
|
|
if (params.has('target')) {
|
|
target = params.get('target');
|
|
}
|
|
if (params.has('fov')) {
|
|
fov = parseFloat(params.get('fov'));
|
|
}
|
|
|
|
let aladin;
|
|
A.init.then(() => {
|
|
aladin = A.aladin("#aladin-lite-div", {showSimbadPointerControl: true, target: target, fov: fov });
|
|
aladin.setOverlayImageLayer('https://alasky.cds.unistra.fr/ESO-outreach/CDS_P_ESO_EPO');
|
|
aladin.getOverlayImageLayer().setAlpha(1.0);
|
|
aladin.toggleFullscreen();
|
|
});
|
|
|
|
</script>
|
|
</TD>
|
|
<TD>
|
|
<UL>
|
|
<LI> <B>Label:</B> ESO outreach
|
|
<LI> <B>Type:</B> colored HiPS image
|
|
<LI> <B>Best pixel angular resolution:</B> 100mas
|
|
<LI> <B>Max tile order:</B> 12 (NSIDE=4096)
|
|
<LI> <B>Available encoding tiles:</B> png
|
|
<LI> <B>Tile size:</B> 512x512
|
|
<LI> <B>Processing date:</B> 2022-08-03T14:51Z
|
|
<LI> <B>HiPS builder:</B> Aladin/HipsGen v11.071
|
|
<LI> <B>Coordinate frame:</B> equatorial
|
|
<LI> <B>Sky area:</B> 3.76% of sky => 1551°^2
|
|
<LI> <B>Associated coverage map:</B> <A HREF="Moc.fits">MOC</A>
|
|
<LI> <B>Original data access template:</B> <A HREF="HpxFinder/metadata.xml">metadata.xml</A>
|
|
<LI> <B>Property file:</B> <A HREF="properties">properties</A>
|
|
<LI> <B>Base URL:<p id="hipsBase"></p></B>
|
|
</UL>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
This survey can be displayed by <A HREF="https://aladin.u-strasbg.fr/AladinLite">Aladin Lite</A> (see above),
|
|
by <A HREF="https://aladin.u-strasbg.fr/java/nph-aladin.pl?frame=downloading">Aladin Desktop</A> client
|
|
(just open the base URL)<BR>or any other HiPS aware clients.
|
|
<HR>
|
|
<I>(*) HiPS is a recommended <A HREF="www.ivoa.net">International Virtual Observatory Alliance</A> standard:<A HREF="www.ivoa.net/documents/HiPS">HiPS REC</A>.
|
|
The HiPS technology allows a dedicated client to access an astronomical survey at any location and at any scale.
|
|
HiPS has been invented by <A HREF="https://aladin.u-strasbg.fr/hips">CDS-Université de Strasbourg/CNRS</A> (<A HREF="http://cdsads.u-strasbg.fr/abs/2015A%26A...578A.114F">2015A&A...578A.114F</A>). It is based on HEALPix sky tessellation and it is designed for astronomical scientifical usages (low distorsion, true pixel values...).</I><script type="text/javascript">
|
|
document.getElementById("hipsBase").innerHTML=hipsDir;
|
|
</script>
|
|
</HTML>
|
|
|