Gaps in spectroscopic traces when wavelength range is split into several FoVs
@oczoske ci sta già lavorando.
Dal 1/12/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
What happened?
Sometimes the waverange covered by a spectrum is split into several subranges, e.g. when a PSF file contains extensions with the PSF specified at various wavelengths. For each of these subranges a FieldOfView object is built and mapped onto the ImagePlane by the SpectralTrace. Even though the subranges are supposed to be contiguous, gaps arise in the ImagePlane in the form of pixels (often lines of pixels in the spatial direction) which are not covered by any FoV and remain dark. An example for LMS was given in #838 and is shown again here:
With the new METIS PSFs the problem is much worse in the LSS modes because each LSS mode covers several wavelengths for which PSFs exist.
- check whether FoV wavelength ranges are really contiguous.
- check why these dark pixels drop out of either adjacent FoV
- if necessary create overlaps between FoVs and ensure that each
ImagePlanepixel is covered by one and only one FoV.
Code to reproduce
cmd = sim.UserCommands(use_instrument="METIS", set_modes=["wcu_lss_l"])
metis = sim.OpticalTrain(cmd)
metis.observe()
plt.imshow(metis.image_planes[0].data)
Exception traceback
ScopeSim bug_report()
Python:
3.12.9 (main, Feb 5 2025, 01:31:18) [GCC 14.2.0]
Installed Python packages:
anisocado: 0.4.0
astar-utils: 0.4.0
astropy: 6.1.7
beautifulsoup4: 4.13.4
docutils: 0.19
httpx: 0.28.1
lxml: 5.4.0
matplotlib: 3.10.1
more-itertools: 10.5.0
numpy: 1.26.4
packaging: 25.0
pooch: 1.8.2
pyyaml: 6.0.2
scipy: 1.16.2
scopesim: 0.11.1a1
scopesim_data: could not be loaded.
scopesim_templates: 0.6.2a0
skycalc-ipy: 0.6.0
synphot: 1.5.0
tqdm: 4.67.1
IRDB installation
Cloned and linked IRDB repository
Use case
Other
- Lingua principale
- Python
- Stelle
- 42
- Fork
- 30
- Merge medio
- 2g 22h
- PR unite (30g)
- 7
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AstarVienna/ScopeSim
-
effects performance
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
AstarVienna/ScopeSim#1062 ·
-
optics
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
AstarVienna/ScopeSim#1061 ·
-
optics
Difficoltà 4/5 3-5 giorni Idoneità per principianti 69/100
AstarVienna/ScopeSim#1060 ·
-
SkycalcTERCurve validate fails with non-allowed valuesForse di nuovo libera @oczoske l’ha presa 43 giorni fa e non c’è nessuna pull request aperta. Apertaeffects
AstarVienna/ScopeSim#1049 · 2 commenti · 1 assegnatario ·
-
MICADO mixed detector readout modeForse di nuovo libera @oczoske l’ha presa 44 giorni fa e non c’è nessuna pull request aperta. Apertaeffects imaging instrument-specific Science Team
AstarVienna/ScopeSim#1048 · 1 assegnatario ·
Tutte le issue di AstarVienna/ScopeSim
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
qboson/kaiwu-pytorch-plugin#2308 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
NL-BioImaging/biomero-converter#43 ·
I maintainer di solito rispondono entro 1 giorno
-
Name the maintainers in CODEOWNERSForse già presa @TorecLuik l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
NL-BioImaging/BIOMERO.shallower#41 ·
I maintainer di solito rispondono entro 1 giorno
-
soup drift-alarm drops malformed and unrecognised live rows without saying so, then reports OK on the rows that are leftForse già presa @abdulwaarith0 l’ha presa oggi. Apertaneeds-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
MakazhanAlpamys/Soup#3665 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
roadmap/v1.3.0 scope/entitlement type/improvement
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
databrickslabs/ontos#1778 ·
I maintainer di solito rispondono entro 2 giorni