`PupilTransmission.update_transmission()` deletes effect name
@oczoske 已经在做这个了。
开始于 2025年8月4日。
评估
这个 Issue 还没有评估数据。
描述
What happened?
Using METIS wcu_lms, the default setup has the effect
METIS cold_stop PupilTransmission True
Changing the transmission with
metis['cold_stop'].update_transmission(0)
removes the name from the effects list so that the effect cannot be queried or modified any more:
METIS <empty> PupilTransmission True
One consequence is that ExtraFitsKeywords cannot access the transmission value:
astar.scopesim.effects.fits_headers - WARNING: #cold_stop.transmission! not found
Code to reproduce
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.3.0
astar-utils: 0.3.3
astropy: 6.1.7
beautifulsoup4: 4.13.4
docutils: 0.19
httpx: 0.28.1
lxml: 5.4.0
matplotlib: 3.10.5
more-itertools: 10.7.0
numpy: 1.26.4
packaging: 25.0
pooch: 1.8.2
pyyaml: 6.0.2
scipy: 1.16.1
scopesim: 0.10.0
scopesim_data: could not be loaded.
scopesim_templates: could not be loaded.
skycalc-ipy: 0.5.3
synphot: 1.6.0
tqdm: 4.67.1
Installed IRDB packages:
ELT: 2025-06-30
Armazones: 2023-07-11
METIS: 2025-06-30
Operating System info:
System: Linux
Release: 6.12.27-amd64
Version: #1 SMP PREEMPT_DYNAMIC Debian 6.12.27-1 (2025-05-06)
Machine: x86_64
IRDB installation
Downloaded via sim.download_packages()
Use case
Pipeline development
- 主要语言
- Python
- 星标
- 42
- 派生
- 30
- 平均合并
- 2 天 22 小时
- 30 天内合并 PR
- 7
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AstarVienna/ScopeSim 的其他 Issue
-
effects performance
难度 2/5 1-3 小时 新手友好度 76/100
AstarVienna/ScopeSim#1062 ·
-
optics
难度 3/5 1-2 天 新手友好度 76/100
AstarVienna/ScopeSim#1061 ·
-
optics
难度 4/5 3-5 天 新手友好度 69/100
AstarVienna/ScopeSim#1060 ·
-
SkycalcTERCurve validate fails with non-allowed values可能重新可做 @oczoske 于 43 天前认领,目前没有进行中的 PR。 未关闭effects
AstarVienna/ScopeSim#1049 · 2 条评论 · 已指派 1 人 ·
-
MICADO mixed detector readout mode可能重新可做 @oczoske 于 44 天前认领,目前没有进行中的 PR。 未关闭effects imaging instrument-specific Science Team
AstarVienna/ScopeSim#1048 · 已指派 1 人 ·
查看 AstarVienna/ScopeSim 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
qboson/kaiwu-pytorch-plugin#2308 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
NL-BioImaging/biomero-converter#43 ·
维护者通常 1 天内回复
-
Name the maintainers in CODEOWNERS可能已有人在做 @TorecLuik 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 78/100
NL-BioImaging/BIOMERO.shallower#41 ·
维护者通常 1 天内回复
-
soup drift-alarm drops malformed and unrecognised live rows without saying so, then reports OK on the rows that are left可能已有人在做 @abdulwaarith0 今天认领。 未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 84/100
MakazhanAlpamys/Soup#3665 · 1 条评论 ·
维护者通常 1 天内回复
-
roadmap/v1.3.0 scope/entitlement type/improvement
难度 2/5 1-3 小时 新手友好度 67/100
databrickslabs/ontos#1778 ·
维护者通常 2 天内回复