Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds new default hips #79

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"dependencies": {
"@mdi/font": "^7.4.47",
"aladin-lite": "^3.4.5",
"aladin-lite": "^3.5.1-beta",
"axios": "^1.7.4",
"core-js": "^3.38.0",
"json-bigint": "^1.0.0",
Expand Down
231 changes: 231 additions & 0 deletions src/assets/aladinDefaultHipsList.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
// copy the original default list of hips from
// https://github.com/cds-astro/aladin-lite/blob/master/src/js/DefaultHiPSList.js
// and extend it with additional defaults;
// do this until the "hiplist" options does not override the default list
let HiPSList = (function () {
function HiPSList() {}

HiPSList.DEFAULT = [
{
creatorDid: "ivo://CDS/P/DSS2/color",
name: "DSS colored",
id: "P/DSS2/color",
maxOrder: 9,
tileSize: 512,
imgFormat: "jpeg",
cooFrame: "ICRS",
startUrl: "https://alasky.cds.unistra.fr/DSS/DSSColor",
},
{
creatorDid: "ivo://CDS/P/2MASS/color",
name: "2MASS colored",
id: "P/2MASS/color",
maxOrder: 9,
tileSize: 512,
imgFormat: "jpeg",
cooFrame: "ICRS",
startUrl: "https://alaskybis.cds.unistra.fr/2MASS/Color",
},
{
creatorDid: "ivo://CDS/P/DSS2/red",
name: "DSS2 Red (F+R)",
id: "P/DSS2/red",
maxOrder: 9,
tileSize: 512,
imgFormat: "fits",
cooFrame: "ICRS",
numBitsPerPixel: 16,
// options
minCut: 1000.0,
maxCut: 10000.0,
colormap: "magma",
stretch: "Linear",
imgFormat: "fits",
startUrl: "https://alaskybis.cds.unistra.fr/DSS/DSS2Merged",
},
{
creatorDid: "ivo://CDS/P/DM/I/350/gaiaedr3",
name: "Density map for Gaia EDR3 (I/350/gaiaedr3)",
id: "P/DM/I/350/gaiaedr3",
maxOrder: 7,
tileSize: 512,
numBitsPerPixel: -32,
cooFrame: "ICRS",
minCut: 0,
maxCut: 12000,
stretch: "asinh",
colormap: "rdylbu",
imgFormat: "fits",
startUrl: "https://alaskybis.cds.unistra.fr/ancillary/GaiaEDR3/density-map",
},
{
creatorDid: "ivo://CDS/P/PanSTARRS/DR1/g",
name: "PanSTARRS DR1 g",
id: "P/PanSTARRS/DR1/g",
maxOrder: 11,
tileSize: 512,
imgFormat: "fits",
cooFrame: "ICRS",
numBitsPerPixel: -32,
// options
minCut: -34,
maxCut: 7000,
stretch: "asinh",
colormap: "redtemperature",
startUrl: "https://alasky.cds.unistra.fr/Pan-STARRS/DR1/g"
},
{
creatorDid: "ivo://CDS/P/PanSTARRS/DR1/color-z-zg-g",
name: "PanSTARRS DR1 color",
id: "P/PanSTARRS/DR1/color-z-zg-g",
maxOrder: 11,
tileSize: 512,
imgFormat: "jpeg",
cooFrame: "ICRS",
startUrl: "https://alasky.cds.unistra.fr/Pan-STARRS/DR1/color-z-zg-g",
},
{
creatorDid: "ivo://CDS/P/DECaPS/DR2/color",
name: "DECaPS DR2 color",
id: "P/DECaPS/DR2/color",
maxOrder: 11,
cooFrame: "equatorial",
tileSize: 512,
imgFormat: "png",
startUrl: "https://alasky.cds.unistra.fr/DECaPS/DR2/CDS_P_DECaPS_DR2_color"
},
{
creatorDid: "ivo://CDS/P/Fermi/color",
name: "Fermi color",
id: "P/Fermi/color",
maxOrder: 3,
imgFormat: "jpeg",
tileSize: 512,
cooFrame: "equatorial",
startUrl: "https://alasky.cds.unistra.fr/Fermi/Color",
},
{
creatorDid: "ivo://CDS/P/GALEXGR6_7/NUV",
id: "P/GALEXGR6_7/NUV",
name: "GALEXGR6_7 NUV",
maxOrder: 8,
imgFormat: "png",
tileSize: 512,
cooFrame: "equatorial",
startUrl: "https://alasky.cds.unistra.fr/GALEX/GALEXGR6_7_NUV"
},
{
creatorDid: "ivo://CDS/P/IRIS/color",
id: "P/IRIS/color",
name: "IRIS colored",
maxOrder: 3,
tileSize: 256,
imgFormat: "jpeg",
cooFrame: "galactic",
startUrl: "https://alasky.cds.unistra.fr/IRISColor",
},
{
creatorDid: "ivo://CDS/P/Mellinger/color",
id: "P/Mellinger/color",
name: "Mellinger colored",
maxOrder: 4,
tileSize: 512,
imgFormat: "jpeg",
cooFrame: "galactic",
startUrl: "https://alasky.cds.unistra.fr/MellingerRGB"
},
{
creatorDid: "ivo://CDS/P/SDSS9/color",
id: "P/SDSS9/color",
name: "SDSS9 colored",
maxOrder: 10,
tileSize: 512,
imgFormat: "jpeg",
cooFrame: "equatorial",
startUrl: "https://alasky.cds.unistra.fr/SDSS/DR9/color"
},
{
creatorDid: "ivo://CDS/P/SPITZER/color",
id: "P/SPITZER/color",
name: "IRAC color I1,I2,I4 - (GLIMPSE, SAGE, SAGE-SMC, SINGS)",
maxOrder: 9,
tileSize: 512,
imgFormat: "jpeg",
cooFrame: "galactic",
startUrl: "https://alasky.cds.unistra.fr/Spitzer/SpitzerI1I2I4color"
},
{
creatorDid: "ivo://CDS/P/allWISE/color",
id: "P/allWISE/color",
name: "AllWISE color",
maxOrder: 8,
tileSize: 512,
imgFormat: "jpeg",
cooFrame: "equatorial",
startUrl: "https://alaskybis.cds.unistra.fr/AllWISE/RGB-W4-W2-W1"
},
{
creatorDid: "ivo://CDS/P/SDSS9/g",
id: "P/SDSS9/g",
name: "SDSS9 band-g",
maxOrder: 10,
tileSize: 512,
numBitsPerPixel: 16,
imgFormat: "fits",
cooFrame: "equatorial",
minCut: 0,
maxCut: 1.8,
stretch: "linear",
colormap: "redtemperature",
startUrl: "https://alasky.cds.unistra.fr/SDSS/DR9/band-g"
},
{
id: "P/Finkbeiner",
name: "Halpha",
maxOrder: 3,
minCut: -10,
maxCut: 800,
colormap: "rdbu",
imgFormat: "fits",
startUrl: "https://alasky.cds.unistra.fr/FinkbeinerHalpha"
},
{
id: "P/VTSS/Ha",
name: "VTSS-Ha",
maxOrder: 3,
minCut: -10.0,
maxCut: 100.0,
colormap: "grayscale",
imgFormat: "fits",
startUrl: "https://alasky.cds.unistra.fr/VTSS/Ha"
},
{
id: "P/GLIMPSE360",
name: "GLIMPSE360",
maxOrder: 9,
imgFormat: "jpeg",
minOrder: 3,
startUrl: "https://alasky.cds.unistra.fr/IPAC/IPAC_P_GLIMPSE360"
},
// added defaults starting here
{
creatorDid: "ivo://CDS/P/DESI-Legacy-Surveys/DR10/color",
id: "P/DESI-Legacy-Surveys/DR10/color",
name: "DESI Legacy Surveys color (g, r, i, z)"
},
{
creatorDid: "ivo://CDS/P/unWISE/color-W2-W1W2-W1",
id: "P/unWISE/color-W2-W1W2-W1",
name: "unWISE color, from W2 and W1 bands"
},
{
creatorDid: "ivo://erosita/dr1/rate/rgb",
id: "erosita/dr1/rate/rgb",
name: "eROSITA-DE DR1 RGB (0.2-0.5, 0.5-1.0, 1.0-2.0 keV) Rate Image"
}
];

return HiPSList;
});

export default HiPSList();
5 changes: 3 additions & 2 deletions src/views/Explore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ import axiosInstance from '@/axios'
import { Splitpanes, Pane } from 'splitpanes'
import 'splitpanes/dist/splitpanes.css'
import CatalogTable from '@/components/CatalogTable.vue'
import HiPSList from '@/assets/aladinDefaultHipsList.js'

// get the store
const store = useAppStore()
Expand Down Expand Up @@ -141,8 +142,8 @@ async function setupAladin() {
aladin = A.aladin('#explore-aladin-lite',
{target: target, fov: fov, projection: "AIT",
survey: "P/PanSTARRS/DR1/color-z-zg-g", cooFrame: 'ICRSd', showCooGridControl: true, showFullscreenControl: false,
showSimbadPointerControl: true, showCooGrid: true, showContextMenu: true, showSettingsControl: true});

showSimbadPointerControl: true, showCooGrid: true, showContextMenu: true, showSettingsControl: true,
hipsList: HiPSList.DEFAULT});

// UI button for SDSS cone search
let csbtn = A.button({
Expand Down
Loading