astrolabsoftware / fink-science-portal

Fink Science Portal
https://fink-portal.org
Apache License 2.0
7 stars 4 forks source link

Aladin Map default HiPS plane #599

Closed pruzhinskaya closed 5 months ago

pruzhinskaya commented 6 months ago

Can we put back PS1 color map by default?

JulienPeloton commented 6 months ago

I do not know what default you are referring as to. Before (when we were using Aladin Lite v2), we were using color-z-zg-g/, and now (Aladin v3), we are using color-i-r-g/. I'm not an expert, but I have the impression the combination i-r-g was a better choice.

karpov-sv commented 6 months ago

I agree that three-color one has more information and (seemingly) less artifacts, but the visual scaling is indeed different, so the background is often too "colorful". Maybe the default parameters for scaling/brightness/contrast may be slightly adjusted - I hope Aladin exposes them as variables too, not just as buttons inside the widget.

pruzhinskaya commented 6 months ago

Yes, I meant 2-colour map. With 3 colours it is too "colourful" and (at least for me) more difficult to look at.

pruzhinskaya commented 5 months ago

I have two main objections of these 3-colour map:

1) There are no green stars as we know :))) but now all red is green (e.g., https://fink-portal.org/FinkJ034053.20+562748.4)

2) Despite the intuitive conclusion that there should be less noise, there is more. There are some additional artefacts... https://fink-portal.org/ZTF20aadwowj

JulienPeloton commented 5 months ago

ok -- i will revert to 2 colors unless @karpov-sv has a better idea to keep 3 colors while having a better display.

karpov-sv commented 5 months ago

I tried adjusting the gamma and color saturation using the code below (just to keep it somewhere - the same may be done interactively)

+    // Adjust the gamma and saturation of survey plane
+    aladin.getBaseImageLayer().setGamma(1.3);
+    aladin.getBaseImageLayer().setSaturation(-0.2);

but the result still was not satisfactory according to @pruzhinskaya. I have no strong preference here myself, so agree to reverting it.

JulienPeloton commented 5 months ago

OK, I will make the change to 2 colors.