async fits parsing ok

This commit is contained in:
Matthieu BAUMANN
2023-02-28 19:42:04 +01:00
parent 125de63f5e
commit 36933ff6ac
18 changed files with 531 additions and 198 deletions

View File

@@ -26,9 +26,9 @@
minCut: 5000,
maxCut: 17000,
}, // no optional params
(ra, dec, fov, image) => { // ra, dec and fov are centered around the fits image
(ra, dec, fov, image) => { // ra, dec and fov are centered around the fits image
console.log(image)
image.setColormap("magma", {stretch: "asinh"});
aladin.gotoRaDec(ra, dec);
aladin.setFoV(fov);
}

View File

@@ -9,6 +9,8 @@
<script type="text/javascript">
var aladin;
console.log("jkjkjkj")
A.init.then(() => {
/*aladin = A.aladin('#aladin-lite-div', {fov: 360, fullScreen: true, cooFrame: 'galactic'});
aladin.setProjection('MOL');