ScopeSim 0.11.2__tar.gz → 0.11.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {scopesim-0.11.2 → scopesim-0.11.3}/PKG-INFO +7 -5
- {scopesim-0.11.2 → scopesim-0.11.3}/pyproject.toml +11 -13
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/__init__.py +1 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/electronic/__init__.py +2 -1
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/electronic/electrons.py +3 -2
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/electronic/exposure.py +4 -6
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/electronic/noise.py +96 -0
- scopesim-0.11.3/scopesim/effects/illumination.py +208 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/metis_wcu/fpmask.py +4 -4
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/metis_wcu/metis_wcu.py +20 -10
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/psfs/discrete.py +72 -24
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/psfs/psf_base.py +22 -16
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/psfs/semianalytical.py +12 -2
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/spectral_trace_list.py +19 -2
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/spectral_trace_list_utils.py +11 -7
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/ter_curves.py +1 -1
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/optics/image_plane.py +1 -1
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/optics/optical_train.py +1 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/optics/optics_manager.py +38 -4
- scopesim-0.11.3/scopesim/tests/mocks/files/fp_mask_pinhole_int.dat +18 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_MetisWCU.py +72 -44
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_PSF.py +15 -2
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_PupilTransmission.py +9 -5
- scopesim-0.11.3/scopesim/tests/tests_effects/test_illumination.py +75 -0
- scopesim-0.11.3/scopesim/tests/tests_effects/test_prnu.py +73 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/LICENSE +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/README.md +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/commands/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/commands/scopesimple.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/commands/user_commands.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/2MASS/2MASS.H.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/2MASS/2MASS.J.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/2MASS/2MASS.Ks.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F643.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F643_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F648.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F648_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F657.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F657_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F666.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F666_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F680.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F680_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F694.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F694_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F709.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F709_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F723.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F723_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F738.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F738_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F754.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F754_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F770.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F770_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F785.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F785_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F802.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F802_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F819.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F819_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F838.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F838_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F858.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F858_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F878.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F878_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F893.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F893_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F902.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F902_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F911.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F911_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F919.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F919_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F924.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F924_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F927.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F927_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F932.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F932_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F936.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F936_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F940.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F940_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.sdss_g_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.sdss_i_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.sdss_r_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.sdss_z_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/Gemini/NIRI.Lprime-G0207w.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/Generic/Bessell.V.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/Generic/Johnson.I.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/Generic/Johnson.J.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/Generic/Johnson_UBVRIJHKL.N.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/HST/WFC3_IR.F160W.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1000W.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1065C.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1130W.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1140C.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1280W.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1500W.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1550C.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1800W.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F2100W.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F2300C.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F2550W.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F560W.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F770W.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/JWST/NIRCam.F164N.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/Paranal/HAWKI.BrGamma.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/Paranal/HAWKI.H.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/Paranal/HAWKI.J.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/Paranal/HAWKI.Ks.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/Paranal/NACO.Ks.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/SLOAN/SDSS.rprime_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/SLOAN/SDSS.z.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/data/svo/SLOAN/SDSS.zprime_filter.xml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/defaults.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/detector/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/detector/detector.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/detector/detector_manager.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/detector/nghxrg.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/apertures.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/binning_3d.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/data_container.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/detector_list.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/effects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/effects_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/electronic/dmps.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/electronic/pixels.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/fits_headers.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/metis_ifu_simple/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/metis_ifu_simple/ifu_simple.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/metis_lms_trace_list.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/metis_wcu/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/mosaic_trace_list.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/obs_strategies.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/psfs/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/psfs/analytical.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/rotation.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/shifts.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/shutter.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/spectral_efficiency.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/surface_list.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/effects/ter_curves_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/logconfig.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/optics/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/optics/fov.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/optics/fov_manager.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/optics/fov_volume_list.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/optics/image_plane_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/optics/optical_element.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/optics/surface.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/optics/surface_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/rc.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/reports/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/reports/report_generator.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/reports/rst_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/server/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/server/atmo_registry.txt +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/server/database.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/server/download_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/server/example_data_registry.txt +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/server/example_data_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/server/github_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/server/psfs_registry.txt +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/source/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/source/source.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/source/source_fields.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/source/source_templates.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/source/source_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/conftest.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/howtotest.md +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/METIS_LMS/TRACE_LMS.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/FPA_array_layout.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_centre_detector_chip.tbl +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_ELT.tbl +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_MICADO_Wide.tbl +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_SCAO_relay.tbl +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_IMG_SCAO_WIDE.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_SCAO_WIDE_2.config +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_SCAO_WIDE_2.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/PSF_basic.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/QE_h4rg.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_blank.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_filter_Br-gamma.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_atmo_average.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_dichroic.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_mirror_gold.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/aperture_list.tbl +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/emission_file.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/mock_MICADO_SCAO_WIDE.config +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/multidetector.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/test_FVPSF.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/FPA_array_layout.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/FPA_small.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/PSF_SCAO.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/PSF_SCAO_ConstPSF_0_5off.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/SLIT_15000x50mas.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/SLIT_3000x50mas.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/TC_filter_Spec_HK.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/TC_filter_Spec_IJ.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/TER_atmo_average.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/TRACE_15arcsec.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/TRACE_3arcsec.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/TRACE_MICADO.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/mock_MICADO_SPEC.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/ATMO_default_NIR_IMG.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/FITS_extra_keywords.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/INS_common_optics.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/INS_ifu_apertures.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/INS_ifu_traces.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/INS_lss_traces.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/INS_unity_refl.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/INS_unity_trans.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_atmosphere.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_basic_instrument.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_detector.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_mode_ifu.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_mode_simple_ifu.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_mode_spectroscopy.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_telescope.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/code/make_spectral_trace.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/default.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_BrGamma.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_CH4.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_H.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_J.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_open.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/slits/SLIT_narrow.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/slits/SLIT_wide.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/CMD_mvs_cmds.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/CMD_non_unity_cmds.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/CMD_unity_cmds.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/LIST_detector_layout.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/LIST_full_detector_layout.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/MASK_slit_A.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/MASK_slit_B.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/TER_ADC_const_10.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/TER_ADC_const_90.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/TER_blank.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/TER_grating.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/TER_non_unity.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/TER_unity.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/fp_mask_pinhole.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/skycalc_override.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_AnisoCADO_rms_map.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_AtmoLibraryTERCurve.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_ConstPSF.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_ConstPSF_WAVELENG.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_FVPSF.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_NCPAs_table.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_aperture.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_aperture_list.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_circular_fvpsf.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_image.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_linearity.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_report_addendum.rst +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_spectrum_Flam.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_spectrum_photlam.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_table.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_table.tbl +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/load_basic_instrument.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/check_photometry.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_B.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_H.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_I.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_J.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_K.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_L.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_M.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_N.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_R.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_U.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_V.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_flux_table.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_skycalc_r_6000_wave_0.3_15nm_airmass_1_pwv_2.5.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_skycalc_r_6000_wave_0.3_15nm_airmass_1_pwv_2.5.fits +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_skycalc_surface_brightness.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/aperture_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/detector_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/effects_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/fov_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/header_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/imagehdu_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/integr_spectroscopy_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/optics_manager_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/psf_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/report_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/source_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/trace_list_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/trace_list_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/yaml_objects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/default.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/test_detector.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/test_instrument.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/test_mode_2.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/test_package.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/test_telescope.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/version.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/MICADO_full.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/SimpleCADO.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/SimpleCADO_full_array.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/min_viable_sys.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/non_unity_sys.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/small.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/test_atmo.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/test_cfo.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/test_fpa.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/test_inst.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/test_scope.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/test_system.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/unity_sys.yaml +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/test_basic_instrument/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/test_basic_instrument/test_basic_instrument.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/test_import_all.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/test_init.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/test_logging.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/test_utils_functions.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_commands/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_commands/test_UserCommands.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_commands/test_scopesimple.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_detector/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_detector/test_detector_manager.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_ADConversion.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_AnisocadoConstPSF.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_ApertureList.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_ApertureMask.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_AtmoLibraryTERCurve.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_AtmosphericDispersion.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_AtmosphericDispersionCorrection.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_AutoExposure.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_BasicReadoutNoise.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_ConstPSF.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_DarkCurrent.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_DetectorList.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_DetectorModePropertiesSetter.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_Effects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_Effects_plot_methods.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_FVPSF.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_GaussianDiffractionPSF.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_InterPixelCapacitance.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_LinearityCurve.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_MetisIfuSimple.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_MetisLMSEfficiency.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_MetisLMSTraceList.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_NonCommonPathAberation.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_ReferencePixelBorder.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_Shutter.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_SkycalcTERCurve.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_SpectralEfficiency.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_SpectralTraceList.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_SpectralTraceListUtils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_Surface.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_SurfaceList.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_TERCurve.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_Vibration.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_adcwheel.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_deprecated.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_effect_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_exposure.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_fits_headers.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_mosaic_trace_list.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_obs_strategies.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_shot_noise.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_slitwheel.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_ter_curves_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_integrations/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_3_custom_effects.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_MICADO_SCAO_WIDE.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_basic_integration.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_flux_is_conserved_through_full_system.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_simplecado.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_source_fov_imageplane_play_nicely.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_speclecado.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_subpixel_shifts.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_optics/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_DataContainer.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_FOVManager.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_FieldOfView.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_FovVolumeList.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_ImagePlane.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_ImagePlaneUtils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_OpticalElement.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_OpticalTrain.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_OpticsManager.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_SpectralSurface.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_fov_utls.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_reports/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_reports/test_rst_utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_server/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_server/test_database.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_source/__init__.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_source/test_source_Source.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/tests_source/test_source_templates.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/tests/virtualenvs_faq.rst +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/utils.py +0 -0
- {scopesim-0.11.2 → scopesim-0.11.3}/scopesim/vega.fits +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: ScopeSim
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.3
|
|
4
4
|
Summary: Generalised telescope observation simulator
|
|
5
5
|
License: GPL-3.0-or-later
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Keywords: astronomy
|
|
7
8
|
Author: Kieran Leschinski
|
|
8
9
|
Author-email: kieran.leschinski@univie.ac.at
|
|
@@ -17,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
17
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
22
|
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
21
23
|
Requires-Dist: anisocado (>=0.5.0,<1.0)
|
|
22
24
|
Requires-Dist: astar-utils (>=0.5.0,<1.0)
|
|
@@ -28,14 +30,14 @@ Requires-Dist: lxml (>=6.0.2,<7.0.0)
|
|
|
28
30
|
Requires-Dist: matplotlib (>=3.10.5,<4.0.0)
|
|
29
31
|
Requires-Dist: more-itertools (>=10.2.0,<11.0.0)
|
|
30
32
|
Requires-Dist: numpy (>=1.26.4,<2.3.0) ; python_version >= "3.10" and python_version < "3.13"
|
|
31
|
-
Requires-Dist: numpy (>=2.
|
|
32
|
-
Requires-Dist: packaging (>=25.0,<
|
|
33
|
+
Requires-Dist: numpy (>=2.3.5,<3.0.0) ; python_version >= "3.13"
|
|
34
|
+
Requires-Dist: packaging (>=25.0,<27.0)
|
|
33
35
|
Requires-Dist: pooch (>=1.8.2,<2.0.0)
|
|
34
36
|
Requires-Dist: pyyaml (>=6.0.3,<7.0.0)
|
|
35
37
|
Requires-Dist: scipy (>=1.15.3,<1.16.0) ; python_version == "3.10"
|
|
36
38
|
Requires-Dist: scipy (>=1.17.0,<1.18.0) ; python_version >= "3.11"
|
|
37
39
|
Requires-Dist: skycalc-ipy (>=0.7.0,<1.0)
|
|
38
|
-
Requires-Dist: synphot (>=1.
|
|
40
|
+
Requires-Dist: synphot (>=1.6.1,<2.0.0)
|
|
39
41
|
Requires-Dist: tqdm (>=4.66.6,<5.0.0)
|
|
40
42
|
Project-URL: Bug Tracker, https://github.com/AstarVienna/ScopeSim/issues
|
|
41
43
|
Project-URL: Changelog, https://github.com/AstarVienna/ScopeSim/blob/main/CHANGELOG.md
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ScopeSim"
|
|
3
|
-
version = "0.11.
|
|
3
|
+
version = "0.11.3"
|
|
4
4
|
description = "Generalised telescope observation simulator"
|
|
5
5
|
license = {text = "GPL-3.0-or-later"}
|
|
6
6
|
authors = [
|
|
@@ -17,9 +17,7 @@ dynamic = [ "classifiers" ]
|
|
|
17
17
|
requires-python = ">=3.10,<3.15"
|
|
18
18
|
dependencies = [
|
|
19
19
|
"numpy (>=1.26.4,<2.3.0) ; python_version >= '3.10' and python_version < '3.13'",
|
|
20
|
-
"numpy (>=2.
|
|
21
|
-
# SciPy is only an indirect dependency through synphot, but has limited
|
|
22
|
-
# wheels for Python versions, so needs to be specified explicitly.
|
|
20
|
+
"numpy (>=2.3.5,<3.0.0) ; python_version >= '3.13'",
|
|
23
21
|
"scipy (>=1.15.3,<1.16.0) ; python_version >= '3.10' and python_version < '3.11'",
|
|
24
22
|
"scipy (>=1.17.0,<1.18.0) ; python_version >= '3.11'",
|
|
25
23
|
|
|
@@ -34,9 +32,9 @@ dependencies = [
|
|
|
34
32
|
"pyyaml (>=6.0.3,<7.0.0)",
|
|
35
33
|
"more-itertools (>=10.2.0,<11.0.0)",
|
|
36
34
|
"tqdm (>=4.66.6,<5.0.0)",
|
|
37
|
-
"packaging (>=25.0,<
|
|
35
|
+
"packaging (>=25.0,<27.0)",
|
|
38
36
|
|
|
39
|
-
"synphot (>=1.
|
|
37
|
+
"synphot (>=1.6.1,<2.0.0)",
|
|
40
38
|
"skycalc-ipy (>=0.7.0,<1.0)",
|
|
41
39
|
"anisocado (>=0.5.0,<1.0)",
|
|
42
40
|
"astar-utils (>=0.5.0,<1.0)"
|
|
@@ -61,14 +59,14 @@ optional = true
|
|
|
61
59
|
|
|
62
60
|
[tool.poetry.group.dev.dependencies]
|
|
63
61
|
jupyter = "^1.1.1"
|
|
64
|
-
jupytext = "^1.
|
|
65
|
-
ipykernel = "^
|
|
66
|
-
ipympl = "^0.
|
|
62
|
+
jupytext = "^1.19.0"
|
|
63
|
+
ipykernel = "^7.2.0"
|
|
64
|
+
ipympl = "^0.10.0"
|
|
67
65
|
|
|
68
66
|
[tool.poetry.group.test.dependencies]
|
|
69
67
|
pytest = "^9.0.2"
|
|
70
68
|
pytest-cov = "^7.0.0"
|
|
71
|
-
ipykernel = "^
|
|
69
|
+
ipykernel = "^7.2.0"
|
|
72
70
|
|
|
73
71
|
[tool.poetry.group.docs]
|
|
74
72
|
optional = true
|
|
@@ -82,9 +80,9 @@ myst-nb = "^1.3.0"
|
|
|
82
80
|
sphinxcontrib-apidoc = ">=0.6.0,<1.0"
|
|
83
81
|
sphinxcontrib-mermaid = "^2.0"
|
|
84
82
|
nbsphinx = "^0.9.8"
|
|
85
|
-
numpydoc = "^1.
|
|
86
|
-
ipykernel = "^
|
|
87
|
-
ipympl = "^0.
|
|
83
|
+
numpydoc = "^1.10.0"
|
|
84
|
+
ipykernel = "^7.2.0"
|
|
85
|
+
ipympl = "^0.10.0"
|
|
88
86
|
|
|
89
87
|
|
|
90
88
|
[build-system]
|
|
@@ -9,6 +9,7 @@ Classes:
|
|
|
9
9
|
- PoorMansHxRGReadoutNoise - simple readout noise for HAWAII detectors
|
|
10
10
|
- BasicReadoutNoise - readout noise
|
|
11
11
|
- ShotNoise - realisation of Poissonian photon noise
|
|
12
|
+
- PixelResponseNonUniformity - per-pixel gain variation (PRNU)
|
|
12
13
|
- DarkCurrent - add dark current
|
|
13
14
|
- LinearityCurve - apply detector (non-)linearity and saturation
|
|
14
15
|
- ReferencePixelBorder
|
|
@@ -23,7 +24,7 @@ logger = get_logger(__name__)
|
|
|
23
24
|
|
|
24
25
|
from .electrons import LinearityCurve, ADConversion, InterPixelCapacitance
|
|
25
26
|
from .noise import (Bias, PoorMansHxRGReadoutNoise, BasicReadoutNoise,
|
|
26
|
-
ShotNoise, DarkCurrent)
|
|
27
|
+
ShotNoise, DarkCurrent, PixelResponseNonUniformity)
|
|
27
28
|
from .exposure import AutoExposure, ExposureIntegration, ExposureOutput
|
|
28
29
|
from .pixels import ReferencePixelBorder, BinnedImage, UnequalBinnedImage
|
|
29
30
|
from .dmps import DetectorModePropertiesSetter
|
|
@@ -307,12 +307,13 @@ class ADConversion(Effect):
|
|
|
307
307
|
# Apply the gain value (copy from DarkCurrent)
|
|
308
308
|
# Note that this does not cater for the case where the gain is given
|
|
309
309
|
# as a plain dictionary. Should we implement that?
|
|
310
|
-
logger.info(f"Applying gain {from_currsys(self.cmds['!DET.gain'])}")
|
|
311
310
|
if hasattr(self.cmds["!DET.gain"], "dic"):
|
|
312
311
|
dtcr_id = obj.meta[real_colname("id", obj.meta)]
|
|
313
312
|
gain = self.cmds["!DET.gain"].dic[dtcr_id]
|
|
313
|
+
logger.info(f"Detector {dtcr_id}: applying gain {gain}")
|
|
314
314
|
elif isinstance(self.cmds["!DET.gain"], (float, int)):
|
|
315
315
|
gain = self.cmds["!DET.gain"]
|
|
316
|
+
logger.info(f"Applying gain {gain}")
|
|
316
317
|
else:
|
|
317
318
|
raise ValueError("<ADConversion>.meta['gain'] must be either "
|
|
318
319
|
f"dict or float, but is {self.cmds['!DET.gain']}")
|
|
@@ -341,7 +342,7 @@ class ADConversion(Effect):
|
|
|
341
342
|
# This used to create a new ImageHDU with the same header but the data
|
|
342
343
|
# set to the modified data. It should be fine to simply re-assign the
|
|
343
344
|
# data attribute, but just in case it's not...
|
|
344
|
-
logger.
|
|
345
|
+
logger.debug("Applying digitization to dtype %s.", new_dtype)
|
|
345
346
|
obj._hdu.data = obj._hdu.data.astype(new_dtype)
|
|
346
347
|
|
|
347
348
|
return obj
|
|
@@ -26,6 +26,9 @@ class AutoExposure(Effect):
|
|
|
26
26
|
|
|
27
27
|
The effects sets the parameters `!OBS.dit` and `!OBS.ndit`.
|
|
28
28
|
|
|
29
|
+
The effect is the first detector effect, hence essentially operates on the
|
|
30
|
+
`ImagePlane`, mapped to the detector array.
|
|
31
|
+
|
|
29
32
|
Examples
|
|
30
33
|
--------
|
|
31
34
|
The parameters `!OBS.exptime`, `!DET.full_well` and `!DET.mindit` should
|
|
@@ -45,10 +48,6 @@ class AutoExposure(Effect):
|
|
|
45
48
|
z_order: ClassVar[tuple[int, ...]] = (902,)
|
|
46
49
|
|
|
47
50
|
def __init__(self, **kwargs):
|
|
48
|
-
"""
|
|
49
|
-
The effect is the first detector effect, hence essentially operates
|
|
50
|
-
on the `ImagePlane`, mapped to the detector array.
|
|
51
|
-
"""
|
|
52
51
|
super().__init__(**kwargs)
|
|
53
52
|
self.meta.update(kwargs)
|
|
54
53
|
if self.cmds is None:
|
|
@@ -223,7 +222,7 @@ class ExposureOutput(Effect):
|
|
|
223
222
|
return obj
|
|
224
223
|
|
|
225
224
|
def set_mode(self, new_mode):
|
|
226
|
-
"""Set new mode for ExposureOutput (average or sum)"""
|
|
225
|
+
"""Set new mode for ExposureOutput (average or sum)."""
|
|
227
226
|
if new_mode in self.modes:
|
|
228
227
|
self.current_mode = new_mode
|
|
229
228
|
self.meta["current_mode"] = self.current_mode
|
|
@@ -234,7 +233,6 @@ class ExposureOutput(Effect):
|
|
|
234
233
|
class ExposureIntegration(Effect):
|
|
235
234
|
"""Integrate the expected flux over ``exptime``.
|
|
236
235
|
|
|
237
|
-
|
|
238
236
|
This effect multiplies the expected photon flux from the
|
|
239
237
|
``ImagePlane`` by the total exposure time, computed as
|
|
240
238
|
the product of ``dit`` and ``ndit``.
|
|
@@ -83,11 +83,13 @@ class PoorMansHxRGReadoutNoise(Effect):
|
|
|
83
83
|
return det
|
|
84
84
|
|
|
85
85
|
def plot(self, det, **kwargs):
|
|
86
|
+
"""Plot effect image."""
|
|
86
87
|
dtcr = self.apply_to(det)
|
|
87
88
|
fig, ax = figure_factory()
|
|
88
89
|
ax.imshow(dtcr.data, origin="lower")
|
|
89
90
|
|
|
90
91
|
def plot_hist(self, det, **kwargs):
|
|
92
|
+
"""Plot effect histogram."""
|
|
91
93
|
dtcr = self.apply_to(det)
|
|
92
94
|
fig, ax = figure_factory()
|
|
93
95
|
ax.hist(dtcr.data.flatten())
|
|
@@ -124,16 +126,107 @@ class BasicReadoutNoise(Effect):
|
|
|
124
126
|
return det
|
|
125
127
|
|
|
126
128
|
def plot(self, det):
|
|
129
|
+
"""Plot effect image."""
|
|
127
130
|
dtcr = self.apply_to(det)
|
|
128
131
|
fig, ax = figure_factory()
|
|
129
132
|
ax.imshow(dtcr.data)
|
|
130
133
|
|
|
131
134
|
def plot_hist(self, det, **kwargs):
|
|
135
|
+
"""Plot effect histogram."""
|
|
132
136
|
dtcr = self.apply_to(det)
|
|
133
137
|
fig, ax = figure_factory()
|
|
134
138
|
ax.hist(dtcr.data.flatten())
|
|
135
139
|
|
|
136
140
|
|
|
141
|
+
# TODO: Is this really a "noise" effect? Sounds more like "electrons" tbh.
|
|
142
|
+
class PixelResponseNonUniformity(Effect):
|
|
143
|
+
"""Pixel Response Non-Uniformity (PRNU).
|
|
144
|
+
|
|
145
|
+
Models the fixed pattern of per-pixel gain variations across the detector
|
|
146
|
+
arising from manufacturing differences in quantum efficiency. Each pixel is
|
|
147
|
+
multiplied by a gain factor drawn from N(1, ``prnu_std``) keyed by detector
|
|
148
|
+
ID. The gain map is generated once per detector on first use and reused
|
|
149
|
+
identically across all subsequent exposures.
|
|
150
|
+
|
|
151
|
+
.. versionadded:: 0.11.3
|
|
152
|
+
|
|
153
|
+
Parameters
|
|
154
|
+
----------
|
|
155
|
+
prnu_std : float or dict
|
|
156
|
+
Standard deviation of the per-pixel gain distribution.
|
|
157
|
+
|
|
158
|
+
prnu_seed : int, fixed
|
|
159
|
+
|
|
160
|
+
include: "!DET.include_prnu"
|
|
161
|
+
|
|
162
|
+
Example
|
|
163
|
+
-------
|
|
164
|
+
::
|
|
165
|
+
|
|
166
|
+
- name: prnu
|
|
167
|
+
description: Pixel response non-uniformity
|
|
168
|
+
class: PixelResponseNonUniformity
|
|
169
|
+
kwargs:
|
|
170
|
+
prnu_std: 0.001
|
|
171
|
+
prnu_seed: 42
|
|
172
|
+
include: "!DET.include_prnu"
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
|
|
176
|
+
required_keys: ClassVar[set] = set()
|
|
177
|
+
z_order: ClassVar[tuple[int, ...]] = (805,)
|
|
178
|
+
|
|
179
|
+
def __init__(self, **kwargs):
|
|
180
|
+
super().__init__(**kwargs)
|
|
181
|
+
self.meta.update(kwargs)
|
|
182
|
+
self._gain_maps = {} # keyed by dtcr_id
|
|
183
|
+
|
|
184
|
+
def apply_to(self, obj, **kwargs):
|
|
185
|
+
if not isinstance(obj, Detector):
|
|
186
|
+
return obj
|
|
187
|
+
|
|
188
|
+
random_seed = from_currsys(self.meta.get("prnu_seed"), self.cmds)
|
|
189
|
+
id_key = real_colname("id", obj.meta)
|
|
190
|
+
dtcr_id = obj.meta[id_key] if id_key is not None else None
|
|
191
|
+
|
|
192
|
+
prnu_std_meta = from_currsys(self.meta["prnu_std"], self.cmds)
|
|
193
|
+
if isinstance(prnu_std_meta, dict):
|
|
194
|
+
prnu_std = float(from_currsys(prnu_std_meta[dtcr_id], self.cmds))
|
|
195
|
+
elif isinstance(prnu_std_meta, (int, float)):
|
|
196
|
+
prnu_std = float(prnu_std_meta)
|
|
197
|
+
else:
|
|
198
|
+
raise TypeError(
|
|
199
|
+
"<PixelResponseNonUniformity>.meta['prnu_std'] must be a float "
|
|
200
|
+
f"or a dict keyed by detector ID, got {type(prnu_std_meta)}"
|
|
201
|
+
)
|
|
202
|
+
|
|
203
|
+
shape = obj._hdu.data.shape
|
|
204
|
+
if dtcr_id not in self._gain_maps:
|
|
205
|
+
rng = np.random.default_rng(random_seed)
|
|
206
|
+
self._gain_maps[dtcr_id] = rng.normal(
|
|
207
|
+
loc=1.0, scale=prnu_std, size=shape,
|
|
208
|
+
)
|
|
209
|
+
|
|
210
|
+
if self._gain_maps[dtcr_id].shape != shape:
|
|
211
|
+
raise ValueError("gain map shape mismatch")
|
|
212
|
+
|
|
213
|
+
obj._hdu.data = obj._hdu.data * self._gain_maps[dtcr_id]
|
|
214
|
+
return obj
|
|
215
|
+
|
|
216
|
+
def plot(self, det_id=None):
|
|
217
|
+
"""Plot effect."""
|
|
218
|
+
if not self._gain_maps:
|
|
219
|
+
raise RuntimeError("No gain map yet - run a simulation first.")
|
|
220
|
+
key = det_id if det_id in self._gain_maps else next(iter(self._gain_maps))
|
|
221
|
+
gain_map = self._gain_maps[key]
|
|
222
|
+
dev = np.max(np.abs(gain_map - 1.0))
|
|
223
|
+
fig, ax = figure_factory()
|
|
224
|
+
im = ax.imshow(gain_map, origin="lower", aspect="auto",
|
|
225
|
+
vmin=1 - dev, vmax=1 + dev)
|
|
226
|
+
fig.colorbar(im, ax=ax, label="per-pixel gain")
|
|
227
|
+
return fig
|
|
228
|
+
|
|
229
|
+
|
|
137
230
|
class ShotNoise(Effect):
|
|
138
231
|
z_order: ClassVar[tuple[int, ...]] = (820,)
|
|
139
232
|
|
|
@@ -196,11 +289,13 @@ class ShotNoise(Effect):
|
|
|
196
289
|
return det
|
|
197
290
|
|
|
198
291
|
def plot(self, det):
|
|
292
|
+
"""Plot effect image."""
|
|
199
293
|
dtcr = self.apply_to(det)
|
|
200
294
|
fig, ax = figure_factory()
|
|
201
295
|
ax.imshow(dtcr.data)
|
|
202
296
|
|
|
203
297
|
def plot_hist(self, det, **kwargs):
|
|
298
|
+
"""Plot effect histogram."""
|
|
204
299
|
dtcr = self.apply_to(det)
|
|
205
300
|
fig, ax = figure_factory()
|
|
206
301
|
ax.hist(dtcr.data.flatten())
|
|
@@ -240,6 +335,7 @@ class DarkCurrent(Effect):
|
|
|
240
335
|
return obj
|
|
241
336
|
|
|
242
337
|
def plot(self, det, **kwargs):
|
|
338
|
+
"""Plot effect."""
|
|
243
339
|
dit = from_currsys(self.meta["dit"], self.cmds)
|
|
244
340
|
ndit = from_currsys(self.meta["ndit"], self.cmds)
|
|
245
341
|
total_time = dit * ndit
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""Image-plane illumination effects."""
|
|
3
|
+
|
|
4
|
+
from typing import ClassVar
|
|
5
|
+
from collections.abc import Callable, Mapping
|
|
6
|
+
|
|
7
|
+
import numpy as np
|
|
8
|
+
from astropy import units as u
|
|
9
|
+
from astropy.modeling.functional_models import Gaussian2D
|
|
10
|
+
|
|
11
|
+
from . import Effect
|
|
12
|
+
from ..optics.image_plane import ImagePlane
|
|
13
|
+
from ..utils import figure_factory
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
__all__ = ["Illumination", "gaussian2d", "quadratic_vignetting"]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def gaussian2d(
|
|
20
|
+
shape: tuple[int, int],
|
|
21
|
+
amp: float = 1.0,
|
|
22
|
+
mu: tuple[float, float] = (0.0, 0.0),
|
|
23
|
+
sigma: tuple[float, float] = (2000.0, 2000.0),
|
|
24
|
+
theta: u.Quantity[u.deg] | float = 0.0 * u.deg,
|
|
25
|
+
) -> np.ndarray:
|
|
26
|
+
"""
|
|
27
|
+
2D elliptical Gaussian to be used for vignetting map.
|
|
28
|
+
|
|
29
|
+
.. versionadded:: 0.11.3
|
|
30
|
+
|
|
31
|
+
Parameters
|
|
32
|
+
----------
|
|
33
|
+
shape : tuple[int, int]
|
|
34
|
+
Image shape in pixels (ny, nx).
|
|
35
|
+
amp : float, optional
|
|
36
|
+
Peak throughput. The default is 1.0.
|
|
37
|
+
mu : tuple[float, float], optional
|
|
38
|
+
Offset of the peak center in pixels (x, y) from the image center.
|
|
39
|
+
The default is (0.0, 0.0), i.e. no offset.
|
|
40
|
+
sigma : tuple[float, float], optional
|
|
41
|
+
Gaussian widths in pixels (sx, sy). The default is (2000.0, 2000.0).
|
|
42
|
+
theta : float, optional
|
|
43
|
+
Rotation angle (if float, the angle is interpreted in degrees),
|
|
44
|
+
counterclockwise. The default is 0°.
|
|
45
|
+
|
|
46
|
+
Returns
|
|
47
|
+
-------
|
|
48
|
+
np.ndarray
|
|
49
|
+
Vignetting map.
|
|
50
|
+
|
|
51
|
+
"""
|
|
52
|
+
nx, ny = reversed(shape)
|
|
53
|
+
y, x = np.ogrid[:ny, :nx]
|
|
54
|
+
x = x - nx / 2
|
|
55
|
+
y = y - ny / 2
|
|
56
|
+
|
|
57
|
+
model = Gaussian2D(
|
|
58
|
+
amplitude=amp,
|
|
59
|
+
x_mean=mu[0],
|
|
60
|
+
y_mean=mu[1],
|
|
61
|
+
x_stddev=sigma[0],
|
|
62
|
+
y_stddev=sigma[1],
|
|
63
|
+
theta=theta << u.deg,
|
|
64
|
+
)
|
|
65
|
+
return model(x, y)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def quadratic_vignetting(
|
|
69
|
+
shape: tuple[int, int],
|
|
70
|
+
falloff: float = 0.01,
|
|
71
|
+
r_ref: float | None = None,
|
|
72
|
+
mu: tuple[float, float] = (0.0, 0.0),
|
|
73
|
+
stretch: tuple[float, float, float, float] = (1.0, 1.0, 1.0, 1.0),
|
|
74
|
+
) -> np.ndarray:
|
|
75
|
+
"""
|
|
76
|
+
Quadratic vignetting pattern with independent stretch factors.
|
|
77
|
+
|
|
78
|
+
.. versionadded:: 0.11.3
|
|
79
|
+
|
|
80
|
+
Parameters
|
|
81
|
+
----------
|
|
82
|
+
shape : tuple[int, int]
|
|
83
|
+
Image shape in pixels (ny, nx).
|
|
84
|
+
falloff : float, optional
|
|
85
|
+
Fractional illumination drop at `r_ref`. The default is 0.01 (= 1 %).
|
|
86
|
+
r_ref : float | None, optional
|
|
87
|
+
Reference radius in stretched pixels. If None (the default), use the
|
|
88
|
+
corner distance.
|
|
89
|
+
mu : tuple[float, float], optional
|
|
90
|
+
Offset of the vignetting center in pixels (x, y) from the image center.
|
|
91
|
+
The default is (0.0, 0.0), i.e. no offset.
|
|
92
|
+
stretch : tuple[float, float, float, float], optional
|
|
93
|
+
``(+x, -x, +y, -y)`` independent scale factors for half-planes
|
|
94
|
+
respectively. All 1.0 gives a circular pattern. A value > 1 widens the
|
|
95
|
+
falloff in that direction (shallower); < 1 narrows it (steeper).
|
|
96
|
+
The default is (1.0, 1.0, 1.0, 1.0).
|
|
97
|
+
|
|
98
|
+
Returns
|
|
99
|
+
-------
|
|
100
|
+
np.ndarray
|
|
101
|
+
Vignetting map.
|
|
102
|
+
|
|
103
|
+
"""
|
|
104
|
+
nx, ny = reversed(shape)
|
|
105
|
+
|
|
106
|
+
yy, xx = np.ogrid[:ny, :nx]
|
|
107
|
+
dx = xx - (nx / 2 + mu[0])
|
|
108
|
+
dy = yy - (ny / 2 + mu[1])
|
|
109
|
+
|
|
110
|
+
sx = np.where(dx >= 0, stretch[0], stretch[1])
|
|
111
|
+
sy = np.where(dy >= 0, stretch[2], stretch[3])
|
|
112
|
+
|
|
113
|
+
r2 = (dx / sx)**2 + (dy / sy)**2
|
|
114
|
+
|
|
115
|
+
if r_ref is None:
|
|
116
|
+
r2_ref = r2.max()
|
|
117
|
+
else:
|
|
118
|
+
r2_ref = r_ref**2
|
|
119
|
+
|
|
120
|
+
return np.clip(1.0 - falloff * r2 / r2_ref, 0.0, 1.0)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
class Illumination(Effect):
|
|
124
|
+
"""Large-scale illumination variation across the image plane.
|
|
125
|
+
|
|
126
|
+
.. versionadded:: 0.11.3
|
|
127
|
+
|
|
128
|
+
Parameters
|
|
129
|
+
----------
|
|
130
|
+
model : callable, optional
|
|
131
|
+
Function ``f(shape, **kwargs) -> ndarray`` returning the
|
|
132
|
+
illumination map. Defaults to :func:`gaussian2d`.
|
|
133
|
+
modelargs : dict, optional
|
|
134
|
+
Keyword arguments forwarded to ``model``. If omitted, the model's
|
|
135
|
+
own defaults are used.
|
|
136
|
+
|
|
137
|
+
include : str
|
|
138
|
+
Turn effect on/off from the IRDB
|
|
139
|
+
default.yaml. Defaults to ``"!DET.include_illumination"``.
|
|
140
|
+
|
|
141
|
+
Examples
|
|
142
|
+
--------
|
|
143
|
+
Polynomial vignetting with <1 % falloff (auto r_ref from image shape)
|
|
144
|
+
|
|
145
|
+
>>> eff = Illumination(
|
|
146
|
+
... model=quadratic_vignetting,
|
|
147
|
+
... modelargs={"falloff": 0.01},
|
|
148
|
+
... )
|
|
149
|
+
|
|
150
|
+
Custom model
|
|
151
|
+
|
|
152
|
+
>>> def my_model(shape, slope=-0.001):
|
|
153
|
+
>>> ny, nx = shape[-2], shape[-1]
|
|
154
|
+
>>> y, x = np.ogrid[:ny, :nx]
|
|
155
|
+
>>> r = np.sqrt((x - nx / 2)**2 + (y - ny / 2)**2)
|
|
156
|
+
>>> return np.clip(1 + slope * r, 0, None)
|
|
157
|
+
>>>
|
|
158
|
+
>>> eff = Illumination(model=my_model, modelargs={"slope": -0.0005})
|
|
159
|
+
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
z_order: ClassVar[tuple[int, ...]] = (750,)
|
|
163
|
+
|
|
164
|
+
def __init__(
|
|
165
|
+
self,
|
|
166
|
+
model: Callable = gaussian2d,
|
|
167
|
+
modelargs: Mapping | None = None,
|
|
168
|
+
**kwargs,
|
|
169
|
+
) -> None:
|
|
170
|
+
super().__init__(**kwargs)
|
|
171
|
+
self.meta.setdefault("include", "!DET.include_illumination")
|
|
172
|
+
self._model = model
|
|
173
|
+
self._modelargs = modelargs or {}
|
|
174
|
+
self._map = None
|
|
175
|
+
self._map_shape = None
|
|
176
|
+
|
|
177
|
+
def apply_to(self, obj, **kwargs):
|
|
178
|
+
if not isinstance(obj, ImagePlane):
|
|
179
|
+
return obj
|
|
180
|
+
|
|
181
|
+
shape = obj.hdu.data.shape
|
|
182
|
+
if self._map is None or shape != self._map_shape:
|
|
183
|
+
self._map = self._make_map(shape)
|
|
184
|
+
self._map_shape = shape
|
|
185
|
+
|
|
186
|
+
obj.hdu.data *= self._map
|
|
187
|
+
return obj
|
|
188
|
+
|
|
189
|
+
def _make_map(self, shape):
|
|
190
|
+
illumination_map = self._model(shape, **self._modelargs)
|
|
191
|
+
return illumination_map.astype(np.float32)
|
|
192
|
+
|
|
193
|
+
def plot(self):
|
|
194
|
+
"""Plot effect."""
|
|
195
|
+
if self._map is None:
|
|
196
|
+
raise RuntimeError(
|
|
197
|
+
"No illumination map cached — run a simulation first."
|
|
198
|
+
)
|
|
199
|
+
|
|
200
|
+
fig, ax = figure_factory()
|
|
201
|
+
im = ax.imshow(
|
|
202
|
+
self._map, origin="lower", vmin=0.98, vmax=1., cmap="gray_r",
|
|
203
|
+
)
|
|
204
|
+
fig.colorbar(im, ax=ax, label="Relative illumination")
|
|
205
|
+
ax.set_title("Illumination")
|
|
206
|
+
ax.set_xlabel("x [px]")
|
|
207
|
+
ax.set_ylabel("y [px]")
|
|
208
|
+
return fig
|
|
@@ -52,7 +52,7 @@ class FPMask:
|
|
|
52
52
|
maskname: Path | str | None = None,
|
|
53
53
|
fpmask_filename_format: str | None = None,
|
|
54
54
|
angle: float = 0,
|
|
55
|
-
shift: tuple[float, float] = (0
|
|
55
|
+
shift: tuple[float, float] = (0., 0.),
|
|
56
56
|
**kwargs
|
|
57
57
|
):
|
|
58
58
|
logger.debug("Initialising FPMask with %s", maskname)
|
|
@@ -99,9 +99,9 @@ class FPMask:
|
|
|
99
99
|
|
|
100
100
|
# Hole locations
|
|
101
101
|
tab = self.data_container.table
|
|
102
|
-
xhole = tab["x"].data
|
|
103
|
-
yhole = tab["y"].data
|
|
104
|
-
diam = tab["diam"].data
|
|
102
|
+
xhole = tab["x"].data.astype(float)
|
|
103
|
+
yhole = tab["y"].data.astype(float)
|
|
104
|
+
diam = tab["diam"].data.astype(float)
|
|
105
105
|
|
|
106
106
|
if self.angle != 0:
|
|
107
107
|
rangle = np.deg2rad(self.angle)
|
|
@@ -18,7 +18,7 @@ from scipy.interpolate import interp1d
|
|
|
18
18
|
import yaml
|
|
19
19
|
|
|
20
20
|
from .fpmask import FPMask
|
|
21
|
-
from ..ter_curves import TERCurve
|
|
21
|
+
from ..ter_curves import TERCurve
|
|
22
22
|
from ...utils import get_logger, seq, find_file, from_currsys
|
|
23
23
|
from ...source.source import Source
|
|
24
24
|
from ...source.source_fields import BackgroundSourceField
|
|
@@ -124,6 +124,7 @@ class WCUSource(TERCurve):
|
|
|
124
124
|
self.rho_tube = get_reflectivity(self.meta["rho_tube"])
|
|
125
125
|
self.rho_is = get_reflectivity(self.meta["rho_is"])
|
|
126
126
|
self.emiss_mask = self.meta["emiss_mask"]
|
|
127
|
+
self.fibre_trans = self.meta["fibre_transmission"]
|
|
127
128
|
|
|
128
129
|
# Compute the emission components
|
|
129
130
|
self.compute_lamp_emission()
|
|
@@ -207,13 +208,15 @@ class WCUSource(TERCurve):
|
|
|
207
208
|
dlam = self.cmds["!SIM.spectral.spectral_bin_width"]
|
|
208
209
|
lam = seq(lamc - 3200 * dlam, lamc + 3200 * dlam, dlam) * u.um
|
|
209
210
|
else:
|
|
210
|
-
filter_name = self.cmds["!OBS.filter_name"]
|
|
211
|
-
filename_format = self.cmds["!INST.filter_file_format"]
|
|
212
|
-
tempfilter = FilterCurve(filter_name=filter_name,
|
|
213
|
-
|
|
214
|
-
lammin, lammax = tempfilter.throughput.waverange << u.um
|
|
211
|
+
#filter_name = self.cmds["!OBS.filter_name"]
|
|
212
|
+
#filename_format = self.cmds["!INST.filter_file_format"]
|
|
213
|
+
#tempfilter = FilterCurve(filter_name=filter_name,
|
|
214
|
+
# filename_format=filename_format)
|
|
215
|
+
#lammin, lammax = tempfilter.throughput.waverange << u.um
|
|
216
|
+
lammin = self.cmds["!SIM.spectral.wave_min"]
|
|
217
|
+
lammax = self.cmds["!SIM.spectral.wave_max"]
|
|
215
218
|
dlam = self.cmds["!SIM.spectral.spectral_bin_width"]
|
|
216
|
-
lam = seq(lammin
|
|
219
|
+
lam = seq(lammin, lammax, dlam) * u.um
|
|
217
220
|
self.wavelength = lam
|
|
218
221
|
|
|
219
222
|
|
|
@@ -417,9 +420,10 @@ class WCUSource(TERCurve):
|
|
|
417
420
|
"""
|
|
418
421
|
Compute the intensity for the single-line lasers.
|
|
419
422
|
|
|
420
|
-
The function computes
|
|
421
|
-
lines are so far apart that there is no band that sees them both.
|
|
423
|
+
The function computes all three lasers at once. This is possible because
|
|
424
|
+
the lines are so far apart that there is no band that sees them both.
|
|
422
425
|
"""
|
|
426
|
+
print("Computing laser intensity")
|
|
423
427
|
lam = self.wavelength
|
|
424
428
|
dlam = lam[1] - lam[0]
|
|
425
429
|
|
|
@@ -438,6 +442,11 @@ class WCUSource(TERCurve):
|
|
|
438
442
|
lamc_m = 5.26 * u.um
|
|
439
443
|
power_m = 20e-3 * u.W / (c.c * c.h / lamc_m) * u.ph
|
|
440
444
|
|
|
445
|
+
# Apply fibre transmission
|
|
446
|
+
power_l *= self.fibre_trans
|
|
447
|
+
power_t *= self.fibre_trans
|
|
448
|
+
power_m *= self.fibre_trans
|
|
449
|
+
|
|
441
450
|
sigma = 2 * dlam
|
|
442
451
|
amp = 1/(sigma * np.sqrt(2 * np.pi))
|
|
443
452
|
|
|
@@ -447,8 +456,9 @@ class WCUSource(TERCurve):
|
|
|
447
456
|
line_t = sum(list_t[1:], start=list_t[0])
|
|
448
457
|
|
|
449
458
|
flux = ((power_l * line_l(lam) + power_m * line_m(lam) + power_t
|
|
450
|
-
* line_t(lam)) / (np.pi * self.d_is**2
|
|
459
|
+
* line_t(lam)) / (np.pi * self.d_is**2))
|
|
451
460
|
|
|
461
|
+
# emergent intensity from the IS output port
|
|
452
462
|
intens = mult_is * flux / (np.pi * u.sr)
|
|
453
463
|
|
|
454
464
|
return intens.to(self.bb_scale)
|