-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathql.html
46 lines (36 loc) · 1.62 KB
/
ql.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!doctype html>
<!--
~ License information at https://github.com/Caltech-IPAC/firefly/blob/master/License.txt
-->
<html>
<head>
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Roman QL</title>
</head>
<body>
<h1> Roman image diagnostic tool template </h1>
<h3>
This file needs to live in firefly server to be working.
</h3>
<p>
<div id="plotHere" style="width: 600px; height: 800px;"></div>
<script type="text/javascript">
{
window.firefly= {options: {MenuItemKeys: {showImageToolbar:false}}};
function onFireflyLoaded() {
firefly.showImage('plotHere', {
// url: 'https://irsa.ipac.caltech.edu/ibe//data/akari/akari_images/images/N60/l000.85_b+65.00_ecl_6deg_N60_fixstripe.fits',
// 'http://web.ipac.caltech.edu/staff/roby/demo/wise-m31-level1-3.fits',
url: 'FILE://Users/ejoliet/Downloads/l000.85_b+65.00_ecl_6deg_N60_fixstripe.fits',
Title: 'Example FITS Image',
ColorTable: 16,
RangeValues: firefly.util.image.RangeValues.serializeSimple('Sigma', -2, 8, 'Linear')
});
}
}
</script>
<!-- to try a container: <script type="text/javascript" src="http://localhost:8090/firefly/firefly_loader.js"></script>-->
<script type="text/javascript" src="https://irsa.ipac.caltech.edu/irsaviewer/firefly_loader.js"></script>