Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
8280e13
Add demo for the Leiden sky effect
oczoske Jan 29, 2026
91584dd
Add demo for the Leiden sky effect (#306)
oczoske Jan 29, 2026
23f0b75
Remove deprecated MICADO spec modes
teutoburg Feb 2, 2026
4223e53
Change test to supported spec mode
oczoske Feb 2, 2026
3408d6e
Remove deprecated modes from spec tests
oczoske Feb 2, 2026
3994643
Use supported mode in notebook
oczoske Feb 2, 2026
5e9ef49
Remove obsolete slit definition files
teutoburg Feb 2, 2026
1f65ebb
Remove deprecated MICADO spec modes (#307)
oczoske Feb 3, 2026
9bf2119
Remove obsolete files
teutoburg Apr 29, 2025
b682c8f
Cleanup
teutoburg Apr 29, 2025
0140a84
DataContainer now supports Path objects
teutoburg Apr 29, 2025
97606c8
Delete this outdated, unused and undocumented version file
teutoburg Apr 29, 2025
8923e76
This should be solved by now
teutoburg Apr 29, 2025
f3c7e15
Cleanup of various obsolete things (#309)
teutoburg Feb 5, 2026
fd27cd0
Use Badges from astar-utils
teutoburg Apr 29, 2025
90ff1b0
Add astar-utils to requirements.github_actions.txt
teutoburg Apr 29, 2025
85bbaf3
Add irdb test marker to deselect non-instrument-package tests
teutoburg Apr 29, 2025
369ad21
Delete redundant code
teutoburg Apr 29, 2025
6074701
Run IRDB tests separately
teutoburg Feb 5, 2026
a7b9b28
Refactor MICADO tests
teutoburg Feb 5, 2026
3bc185c
Un-xfail xpassing test case
teutoburg Feb 5, 2026
3970cb7
Formatting etc.
teutoburg Feb 5, 2026
bac7f71
React to Deprecations in ScopeSim
teutoburg Feb 5, 2026
3f281f3
Refactor Badges (#310)
teutoburg Feb 6, 2026
3c8cb36
Refactoring and formatting in tests (#311)
teutoburg Feb 6, 2026
06289db
Fix duplicate job name
teutoburg Feb 6, 2026
1e3c429
Remove deprecated MICADO_Sci package
oczoske Feb 13, 2026
2a94a92
Remove deprecated MICADO_Sci package (#312)
oczoske Feb 13, 2026
3ca4908
Remove mention of deleted version.py from setup.py
teutoburg Feb 17, 2026
b3bd830
New METIS LMS notebook
oczoske Feb 17, 2026
23a07e9
Use test_fvpsf for testing notebook
teutoburg Feb 17, 2026
bcf4b12
Remove mention of deleted version.py from setup.py (#313)
teutoburg Feb 17, 2026
5fe0400
Run METIS demo notebooks as separate job
teutoburg Feb 17, 2026
5ff4a5a
Add preparatory notebook
oczoske Feb 17, 2026
394aca3
Massively reduce MICADO FVPSF notebook execution time in tests (#315)
teutoburg Feb 17, 2026
8ab5567
Run METIS demo notebooks as separate job (#316)
teutoburg Feb 17, 2026
0535b88
Merge branch 'dev_master' into oc/lms_notebook
oczoske Feb 17, 2026
7f0a14c
Update with more text
oczoske Feb 17, 2026
82afaee
Fix errors in notebook
teutoburg Feb 17, 2026
cbf1011
Clear output in notebook
teutoburg Feb 17, 2026
845e4b9
Doppler shift spectra
oczoske Feb 17, 2026
ee4fea4
IFU notebooks superseded by new ones
oczoske Feb 18, 2026
5f0a0f3
Notebook update
oczoske Feb 18, 2026
c8ec004
Flip a sign, add comments
oczoske Feb 18, 2026
cb6452c
New METIS LMS notebook (#314)
oczoske Feb 18, 2026
ea1a74a
Update badge report for 2026-02-18 release bundle
teutoburg Feb 18, 2026
b65e988
Update badge report for 2026-02-18 release bundle (#318)
teutoburg Feb 18, 2026
9012d3d
Hotfix publish script
teutoburg Feb 18, 2026
80a7cbf
Hotfix publish script (#319)
teutoburg Feb 18, 2026
32adbe1
Bump actions/upload-artifact from 6 to 7
dependabot[bot] Feb 27, 2026
0af0b3d
Bump actions/upload-artifact from 6 to 7 (#321)
teutoburg Feb 27, 2026
475cd7e
Add pytest xml parser and custom RST directive
teutoburg Mar 2, 2026
9c8f192
Add CSS for validation report table
teutoburg Mar 2, 2026
3e11b2b
Add custom JS for clickable table rows
teutoburg Mar 2, 2026
9309cb6
Add validation report to MICADO docs readme
teutoburg Mar 1, 2026
9258bb1
Run validation tests before docs build
teutoburg Mar 1, 2026
02baa60
Refactor MICADO MICADO img lim mag tests
teutoburg Mar 1, 2026
d7d7f09
Update parametrization for MICADO img lim mag tests
teutoburg Mar 3, 2026
ccabcd7
Fix JS to open in a new window
teutoburg Mar 4, 2026
4850523
Link test folder on GitHub
teutoburg Mar 4, 2026
01095cb
Add validation test results to docs (#323)
teutoburg Mar 6, 2026
11f6420
Set INS.DRS.SLIT for lss
oczoske Mar 10, 2026
df3270b
Add PRNU effect to all METIS detector configurations
ShannonS00 Mar 11, 2026
f7ad43a
Add PixelResponseNonUniformity to METIS detector YAMLs with deviatio…
ShannonS00 Mar 12, 2026
53a0c7c
Add `prnu_include` property to METIS detector configurations and set …
ShannonS00 Mar 12, 2026
a2c808e
Don't run scheduled tests on weekends
teutoburg Mar 14, 2026
9d95d79
Closed filter transmission file
oczoske Mar 16, 2026
3c83312
Transmission set to finite value
oczoske Mar 16, 2026
726042b
Neutral density filters for LMS
oczoske Mar 16, 2026
e9f05e2
add closed positions for imagers
oczoske Mar 16, 2026
408fe80
Implement lms-pp1 with header update
oczoske Mar 16, 2026
2eb87ff
Rename `prnu_include` to `include_prnu` in METIS detector YAML files …
ShannonS00 Mar 18, 2026
b8866f1
Add closed positions to focal-plane and pupil mask wheels in METIS (…
oczoske Mar 23, 2026
313ceee
Unused file
oczoske Mar 23, 2026
36ff5f7
Ubuntu 24.04 for readthedocs
oczoske Mar 30, 2026
99932fa
Extend predisperser ter below 2.7um
oczoske Mar 31, 2026
4b1da0a
Set wave_min to 2.65um
oczoske Mar 31, 2026
552020e
[METIS] Extend wavelength range below 2.7um (#330)
oczoske Apr 1, 2026
b51708f
Fix hawki test for system_transmission; clean up
oczoske Apr 2, 2026
e3a1603
Fix osiris test for system_transmission
oczoske Apr 2, 2026
09f0f83
Fix wfc3 test for system_transmission
oczoske Apr 2, 2026
e5eb28b
Fix some tests after `system_transmission` was converted to method (…
oczoske Apr 2, 2026
81ac6ae
Move slit to MICADO.yaml; general spec mode
oczoske Feb 3, 2026
2be6d1a
Offset slits
oczoske Feb 3, 2026
8dc20d5
Header from current slit
oczoske Apr 8, 2026
9ff838c
New notebook for the general SPEC mode
oczoske Apr 8, 2026
4c9f640
Require astropy extra for notebook to work
teutoburg Apr 8, 2026
87b0df7
Move large notebook to avoid running in CI
oczoske Apr 9, 2026
4e54fdb
Use official names for slits
oczoske Apr 9, 2026
a29f2cb
Move slit to MICADO.yaml; general spec mode (#308)
oczoske Apr 9, 2026
5d5d91c
chop-nod: no reference pixels
oczoske Apr 14, 2026
4e09aaf
Update of METIS FITS headers: INS.DRS.SLIT (#324)
oczoske Apr 14, 2026
96bf598
Fibre transmission for WCU lasers
oczoske Apr 14, 2026
3641dcc
changed name and inlude statement from `include_prnu` to ` include_pi…
ShannonS00 Apr 14, 2026
5239782
Fibre transmission for WCU lasers (#334)
oczoske Apr 15, 2026
84be6dc
changed `pixel_response` back to `prnu`
ShannonS00 Apr 15, 2026
ee71a9d
Add PRNU effect definition to all METIS detector descriptions (#326)
oczoske Apr 15, 2026
8587e3e
Bump ScopsSim from 0.10.0 to 0.11.0
teutoburg Apr 17, 2026
1e6662a
Bump ScopsSim from 0.11.1 to 0.11.3
teutoburg Apr 17, 2026
62b6237
Add illumination effect inclusion (#336)
ShannonS00 Apr 17, 2026
c63a393
Bump ScopsSim from 0.11.0 to 0.11.3
teutoburg Apr 17, 2026
c833246
Bump `needs_scopesim` in preparation of release (#337)
teutoburg Apr 17, 2026
45d945e
Add CODEOWNERS
teutoburg Apr 27, 2026
17ddebf
block has finite throughput 1e-32; minimum_throughput lowered
oczoske May 3, 2026
332e4fa
Blocking filter for MICADO (#342)
oczoske May 3, 2026
5866811
Switch to sphinx-book-theme and myst-nb for docs
astronomyk May 15, 2026
e099af3
Refactor instrument READMEs with shared ScopeSim guide
astronomyk May 15, 2026
c03863f
Add card gallery to docs landing page (index.md)
astronomyk May 15, 2026
f166d08
Cleanup vibe-coded docs
teutoburg May 16, 2026
3b7ea97
Harmonize on upper-case spelling and more cleanup
teutoburg May 16, 2026
485b358
Disable broken markdownlinkchecker for now...
teutoburg May 16, 2026
132389f
Even more cleanup
teutoburg May 16, 2026
c5fd670
METIS notebooks as TOC trees
teutoburg May 16, 2026
84f8b77
Major overhaul of documentation (#347)
teutoburg May 18, 2026
38b06f7
Change PSF filename to use variable reference
astronomyk May 20, 2026
ecda787
Change PSF filename to use variable reference (#349)
astronomyk May 21, 2026
3ececcf
Demo notebook for SkycalcTERCurve
oczoske Jun 15, 2026
31437c3
Demo notebook for SkycalcTERCurve (#358)
oczoske Jun 15, 2026
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
13 changes: 13 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This defines "ownership" of files in the repo, which is used for PR review requests among other things.
# Last matching pattern takes precedence.
# The syntax is defined here: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

# Global default
* @AstarVienna/scopesim-devs

/.github/ @hugobuddel @teutoburg
/irdb/ @teutoburg

# Specific instrument packages managed by individual people
/MOSAIC/ @oczoske
/NIRCam/ @teutoburg
2 changes: 1 addition & 1 deletion .github/workflows/badge_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: pytest -m "badges"

- name: Store badge report files
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: badge-report
path: _REPORTS
71 changes: 71 additions & 0 deletions .github/workflows/internal_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Any IRDB functionality not related to a specific instrument package.
# Has to be triggered from elsewhere like tests.yml or notebooktests.yml.

name: Internal functionality tests
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
from_pypi:
type: boolean
description: "Use plain pip install and ignore branch names below."
required: false
default: false
ScopeSim:
type: string
description: "Branch name to install ScopeSim from."
required: false
default: main
ScopeSim_Templates:
type: string
description: "Branch name to install ScopeSim_Templates from."
required: false
default: main

# Allow this workflow to be called from other repositories.
workflow_call:
inputs:
from_pypi:
type: boolean
description: "Use plain pip install and ignore branch names below."
required: false
default: false
ScopeSim:
type: string
description: "Branch name to install ScopeSim from."
required: false
default: main
ScopeSim_Templates:
type: string
description: "Branch name to install ScopeSim_Templates from."
required: false
default: main

jobs:
irdb_test:
name: Run internal tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v6
with:
# No matrix is used since this is a time-consuming task.
python-version: 3.13

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.github_actions.txt

- name: Install ScopeSim from repo
if: ${{ inputs.from_pypi == false || inputs.from_pypi == 'false' }}
run: |
echo "Re-installing ScopeSim from source" >> $GITHUB_STEP_SUMMARY
pip uninstall -y scopesim scopesim_templates
pip install git+https://github.com/AstarVienna/ScopeSim.git@${{ inputs.ScopeSim }}
pip install git+https://github.com/AstarVienna/ScopeSim_Templates.git@${{ inputs.ScopeSim_Templates }}

- name: Run Pytest for internal tests
run: pytest -m "irdb"
24 changes: 12 additions & 12 deletions .github/workflows/markdown_link_check.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: Check Markdown links

on:
push:
branches:
- main
- master
- dev_master
pull_request:
branches:
- main
- master
- dev_master
# push:
# branches:
# - main
# - master
# - dev_master
# pull_request:
# branches:
# - main
# - master
# - dev_master

# Allows you to run this workflow manually from the Actions tab.
workflow_dispatch:

# Run every day at 5:00 UTC
schedule:
- cron: "0 5 * * *"
# schedule:
# - cron: "0 5 * * *"

jobs:
markdown-link-check:
Expand Down
30 changes: 28 additions & 2 deletions .github/workflows/notebooktests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,40 @@ jobs:
PYDEVD_DISABLE_FILE_VALIDATION: 1
run: |
echo "## METIS Notebooks tested" >> $GITHUB_STEP_SUMMARY
echo "### Example Notebooks" >> $GITHUB_STEP_SUMMARY
for fn in METIS/docs/example_notebooks/*.ipynb
do
echo "${fn}"
echo "- ${fn}" >> $GITHUB_STEP_SUMMARY
/usr/bin/time -v jupytext --execute --update "${fn}"
done
echo "## Demo Notebooks" >> $GITHUB_STEP_SUMMARY

metis_demo_notebooks:
name: Run METIS Demo Notebooks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
# No matrix is used since this is a time-consuming task.
python-version: 3.13
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.github_actions.txt

- name: Install ScopeSim from repo
if: ${{ inputs.from_pypi == false || inputs.from_pypi == 'false' }}
run: |
echo "Re-installing ScopeSim from source" >> $GITHUB_STEP_SUMMARY
pip uninstall -y scopesim scopesim_templates
pip install git+https://github.com/AstarVienna/ScopeSim.git@${{ inputs.ScopeSim }}
pip install git+https://github.com/AstarVienna/ScopeSim_Templates.git@${{ inputs.ScopeSim_Templates }}
- name: Run Notebooks
env:
PYDEVD_DISABLE_FILE_VALIDATION: 1
run: |
echo "## METIS Demo Notebooks tested" >> $GITHUB_STEP_SUMMARY
for fn in METIS/docs/example_notebooks/demos/*.ipynb
do
echo "${fn}"
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/tests_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@ on:
branches:
- dev_master

# Run every day at 5:00 UTC
# Runs at 05:00 UTC, Monday through Friday
schedule:
- cron: "0 5 * * *"
- cron: "0 5 * * MON-FRI"

jobs:
tests:
name: Tests
uses: ./.github/workflows/tests.yml

internal_tests:
name: Internal Tests
uses: ./.github/workflows/internal_tests.yml

notebook_tests:
name: Notebook tests
uses: ./.github/workflows/notebooktests.yml
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/tests_dev_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ jobs:
ScopeSim: ${{ needs.determine_branches.outputs.ScopeSim }}
ScopeSIM_Templates: ${{ needs.determine_branches.outputs.ScopeSIM_Templates }}

internal_tests:
name: Internal Tests
needs: determine_branches
if: contains(github.event.pull_request.labels.*.name, 'irdb functionality')
uses: ./.github/workflows/internal_tests.yml
with:
ScopeSim: ${{ needs.determine_branches.outputs.ScopeSim }}
ScopeSIM_Templates: ${{ needs.determine_branches.outputs.ScopeSIM_Templates }}

notebook_tests:
name: Notebook tests
needs: determine_branches
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/tests_main_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
with:
from_pypi: true

internal_tests:
name: Internal Tests
uses: ./.github/workflows/internal_tests.yml
with:
from_pypi: true

notebook_tests:
name: Notebook tests
uses: ./.github/workflows/notebooktests.yml
Expand Down
9 changes: 7 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@
version: 2

build:
os: ubuntu-20.04
os: "ubuntu-24.04"
tools:
python: "3.9"
python: "3.11"
jobs:
post_install:
- pytest ./MICADO/test_micado/ -m validation --junit-xml=./MICADO/test_micado/validation_results.xml --tb=line -o junit_suite_name=MICADO || true
# - pytest ./METIS/tests/ -m validation --junit-xml=./METIS/tests/validation_results.xml --tb=line -o junit_suite_name=METIS || true
# - pytest ./MOSAIC/tests/ -m validation --junit-xml=./MOSAIC/tests/validation_results.xml --tb=line -o junit_suite_name=MOSAIC || true

sphinx:
configuration: conf.py
Expand Down
19 changes: 11 additions & 8 deletions ELT/tests/test_TER_properties.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
"""Unit tests for irdb/ELT"""
# pylint: disable=no-self-use, missing-class-docstring
# pylint: disable=missing-function-docstring
Expand Down Expand Up @@ -35,8 +36,6 @@ def test_eso_vs_scopesim_throughput():
plt.show()


## .todo: the values are not correct
@pytest.mark.xfail(reason="Does fail with ScopeSim 0.7.1. TODO: Remove mark when 0.8.0 is released.")
def test_eso_vs_scopesim_emission():
cmds = UserCommands(properties={
"!ATMO.temperature": 0.,
Expand All @@ -45,9 +44,11 @@ def test_eso_vs_scopesim_emission():
})

slist = sim.effects.SurfaceList(filename="LIST_mirrors_ELT.tbl", cmds=cmds)
ter = sim.effects.TERCurve(filename="TER_ELT_5_mirror.dat",
temperature="!ATMO.temperature",
cmds=cmds)
ter = sim.effects.TERCurve(
filename="TER_ELT_5_mirror.dat",
temperature="!ATMO.temperature",
cmds=cmds,
)

wave = np.linspace(0.3, 12.5, 100) * u.um
sl_flux = slist.emission(wave)
Expand Down Expand Up @@ -82,9 +83,11 @@ def fixture_elt_configs():
"TER_ELT_6_mirror_field_track.dat"
slist_6f = sim.effects.SurfaceList(filename="LIST_ELT_combined.tbl")

return {'5 mirror': slist_5,
'6 mirror pupil': slist_6p,
'6 mirror field': slist_6f}
return {
"5 mirror": slist_5,
"6 mirror pupil": slist_6p,
"6 mirror field": slist_6f,
}


class TestELTConfigurations:
Expand Down
2 changes: 1 addition & 1 deletion HAWKI/TC_dichroic.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# wavelength_unit : micron
# wavelength_unit : um
wavelength throughput
0.5 1
2.5 1
Binary file removed HAWKI/VLT-MAN-ESO-14800-3486_v110.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions HAWKI/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ yamls:
- HAWKI_H2RG.yaml

properties :
instrument: HAWKI
filter_name : Ks
airmass : 1.2
declination : -30
Expand Down
Loading
Loading