Move flux binning to `ImagePlane`?
@hugobuddel ci sta già lavorando.
Dal 3/7/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
The ImagePlane should only store binned flux values (i.e. photons per second). In between (i.e. in and around the FOV), we (sometimes in imaging, always in spectroscopy) need to work with differential units. The location where the binning is done varies:
- In imaging, this is done inside the
FieldOfView.make_xy()methods for each field. - In normal spectroscopy, this is done somewhere in the depths of the spectral trace classes.
- In simple IFU mode, this is done in the separate
FluxBinning3Deffect (because we never go to the spectral traces).
Think about the last case again, I'm unsure if it was a good idea to create that effect or not. There appears to be an alternative, which is to do this inside ImagePlane.add(). Especially once the flattening is moved there (see #721), the current (rudimentary) BUNIT checks there might be expanded to catch incoming non-binned data and bin it right there and then, before adding to the ImagePlane.
But that also goes into the whole discussion of #692. We (all) should at some point make a Grundsatzentscheidung, whether we want to move all "physical type changes" (see also the new flowchart) into Effects (meaning a yes to #692, but a no to this here), or rather keep these things mostly in optics classes (the other way around).
I suggest discussing this between all of @AstarVienna/scopesim-devs after Leiden.
- 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
-
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
-
bug good first issue help wanted up-for-grabs
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ClickHouse/loom#2075 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: pip install -U cudaq-qec fails with a conflict that names cudaq-qec itselfForse già presa @fedonman l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 69/100
StevenBlack/hosts#3314 ·
-
task
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
SparseLinearAlgebra/spla#316 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno