ScopeSim 0.11.1__tar.gz → 0.11.2__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.1 → scopesim-0.11.2}/PKG-INFO +16 -14
- {scopesim-0.11.1 → scopesim-0.11.2}/pyproject.toml +31 -30
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/detector/detector.py +1 -1
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/detector_list.py +4 -1
- scopesim-0.11.2/scopesim/effects/electronic/pixels.py +133 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/fits_headers.py +7 -6
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/metis_lms_trace_list.py +4 -4
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/metis_wcu/fpmask.py +9 -5
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/metis_wcu/metis_wcu.py +13 -6
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/psfs/discrete.py +124 -14
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/psfs/psf_base.py +1 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/ter_curves.py +73 -15
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/ter_curves_utils.py +8 -2
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/optics/surface.py +20 -19
- scopesim-0.11.2/scopesim/server/psfs_registry.txt +28 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/source/source_fields.py +1 -1
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_ConstPSF.py +17 -5
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_MetisLMSEfficiency.py +1 -1
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_MetisWCU.py +7 -6
- scopesim-0.11.2/scopesim/tests/tests_effects/test_ReferencePixelBorder.py +61 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_SkycalcTERCurve.py +35 -1
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_fits_headers.py +0 -1
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_SpectralSurface.py +5 -5
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/utils.py +3 -1
- scopesim-0.11.1/scopesim/effects/electronic/pixels.py +0 -83
- scopesim-0.11.1/scopesim/tests/tests_effects/test_ReferencePixelBorder.py +0 -53
- {scopesim-0.11.1 → scopesim-0.11.2}/LICENSE +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/README.md +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/commands/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/commands/scopesimple.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/commands/user_commands.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/2MASS/2MASS.H.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/2MASS/2MASS.J.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/2MASS/2MASS.Ks.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F643.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F643_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F648.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F648_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F657.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F657_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F666.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F666_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F680.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F680_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F694.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F694_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F709.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F709_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F723.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F723_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F738.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F738_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F754.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F754_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F770.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F770_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F785.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F785_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F802.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F802_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F819.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F819_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F838.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F838_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F858.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F858_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F878.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F878_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F893.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F893_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F902.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F902_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F911.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F911_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F919.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F919_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F924.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F924_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F927.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F927_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F932.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F932_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F936.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F936_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F940.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F940_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.sdss_g_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.sdss_i_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.sdss_r_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.sdss_z_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/Gemini/NIRI.Lprime-G0207w.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/Generic/Bessell.V.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/Generic/Johnson.I.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/Generic/Johnson.J.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/Generic/Johnson_UBVRIJHKL.N.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/HST/WFC3_IR.F160W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1000W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1065C.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1130W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1140C.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1280W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1500W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1550C.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1800W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F2100W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F2300C.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F2550W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F560W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F770W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/JWST/NIRCam.F164N.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/Paranal/HAWKI.BrGamma.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/Paranal/HAWKI.H.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/Paranal/HAWKI.J.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/Paranal/HAWKI.Ks.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/Paranal/NACO.Ks.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/SLOAN/SDSS.rprime_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/SLOAN/SDSS.z.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/data/svo/SLOAN/SDSS.zprime_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/defaults.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/detector/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/detector/detector_manager.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/detector/nghxrg.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/apertures.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/binning_3d.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/data_container.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/effects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/effects_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/electronic/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/electronic/dmps.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/electronic/electrons.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/electronic/exposure.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/electronic/noise.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/metis_ifu_simple/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/metis_ifu_simple/ifu_simple.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/metis_wcu/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/mosaic_trace_list.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/obs_strategies.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/psfs/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/psfs/analytical.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/psfs/semianalytical.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/rotation.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/shifts.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/shutter.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/spectral_efficiency.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/spectral_trace_list.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/spectral_trace_list_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/effects/surface_list.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/logconfig.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/optics/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/optics/fov.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/optics/fov_manager.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/optics/fov_volume_list.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/optics/image_plane.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/optics/image_plane_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/optics/optical_element.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/optics/optical_train.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/optics/optics_manager.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/optics/surface_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/rc.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/reports/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/reports/report_generator.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/reports/rst_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/server/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/server/atmo_registry.txt +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/server/database.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/server/download_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/server/example_data_registry.txt +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/server/example_data_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/server/github_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/source/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/source/source.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/source/source_templates.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/source/source_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/conftest.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/howtotest.md +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/METIS_LMS/TRACE_LMS.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/FPA_array_layout.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_centre_detector_chip.tbl +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_ELT.tbl +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_MICADO_Wide.tbl +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_SCAO_relay.tbl +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_IMG_SCAO_WIDE.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_SCAO_WIDE_2.config +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_SCAO_WIDE_2.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/PSF_basic.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/QE_h4rg.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_blank.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_filter_Br-gamma.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_atmo_average.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_dichroic.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_mirror_gold.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/aperture_list.tbl +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/emission_file.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/mock_MICADO_SCAO_WIDE.config +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/multidetector.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/test_FVPSF.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/FPA_array_layout.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/FPA_small.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/PSF_SCAO.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/PSF_SCAO_ConstPSF_0_5off.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/SLIT_15000x50mas.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/SLIT_3000x50mas.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/TC_filter_Spec_HK.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/TC_filter_Spec_IJ.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/TER_atmo_average.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/TRACE_15arcsec.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/TRACE_3arcsec.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/TRACE_MICADO.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/mock_MICADO_SPEC.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/ATMO_default_NIR_IMG.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/FITS_extra_keywords.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/INS_common_optics.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/INS_ifu_apertures.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/INS_ifu_traces.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/INS_lss_traces.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/INS_unity_refl.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/INS_unity_trans.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_atmosphere.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_basic_instrument.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_detector.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_mode_ifu.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_mode_simple_ifu.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_mode_spectroscopy.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_telescope.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/code/make_spectral_trace.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/default.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_BrGamma.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_CH4.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_H.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_J.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_open.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/slits/SLIT_narrow.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/slits/SLIT_wide.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/CMD_mvs_cmds.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/CMD_non_unity_cmds.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/CMD_unity_cmds.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/LIST_detector_layout.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/LIST_full_detector_layout.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/MASK_slit_A.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/MASK_slit_B.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/TER_ADC_const_10.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/TER_ADC_const_90.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/TER_blank.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/TER_grating.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/TER_non_unity.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/TER_unity.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/fp_mask_pinhole.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/skycalc_override.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_AnisoCADO_rms_map.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_AtmoLibraryTERCurve.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_ConstPSF.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_ConstPSF_WAVELENG.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_FVPSF.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_NCPAs_table.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_aperture.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_aperture_list.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_circular_fvpsf.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_image.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_linearity.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_report_addendum.rst +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_spectrum_Flam.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_spectrum_photlam.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_table.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_table.tbl +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/load_basic_instrument.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/check_photometry.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_B.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_H.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_I.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_J.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_K.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_L.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_M.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_N.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_R.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_U.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_V.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_flux_table.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_skycalc_r_6000_wave_0.3_15nm_airmass_1_pwv_2.5.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_skycalc_r_6000_wave_0.3_15nm_airmass_1_pwv_2.5.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_skycalc_surface_brightness.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/aperture_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/detector_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/effects_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/fov_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/header_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/imagehdu_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/integr_spectroscopy_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/optics_manager_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/psf_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/report_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/source_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/trace_list_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/trace_list_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/yaml_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/default.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/test_detector.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/test_instrument.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/test_mode_2.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/test_package.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/test_telescope.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/version.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/MICADO_full.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/SimpleCADO.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/SimpleCADO_full_array.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/min_viable_sys.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/non_unity_sys.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/small.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/test_atmo.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/test_cfo.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/test_fpa.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/test_inst.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/test_scope.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/test_system.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/unity_sys.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/test_basic_instrument/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/test_basic_instrument/test_basic_instrument.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/test_import_all.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/test_init.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/test_logging.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/test_utils_functions.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_commands/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_commands/test_UserCommands.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_commands/test_scopesimple.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_detector/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_detector/test_detector_manager.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_ADConversion.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_AnisocadoConstPSF.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_ApertureList.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_ApertureMask.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_AtmoLibraryTERCurve.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_AtmosphericDispersion.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_AtmosphericDispersionCorrection.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_AutoExposure.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_BasicReadoutNoise.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_DarkCurrent.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_DetectorList.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_DetectorModePropertiesSetter.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_Effects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_Effects_plot_methods.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_FVPSF.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_GaussianDiffractionPSF.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_InterPixelCapacitance.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_LinearityCurve.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_MetisIfuSimple.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_MetisLMSTraceList.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_NonCommonPathAberation.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_PSF.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_PupilTransmission.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_Shutter.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_SpectralEfficiency.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_SpectralTraceList.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_SpectralTraceListUtils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_Surface.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_SurfaceList.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_TERCurve.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_Vibration.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_adcwheel.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_deprecated.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_effect_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_exposure.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_mosaic_trace_list.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_obs_strategies.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_shot_noise.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_slitwheel.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_ter_curves_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_integrations/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_3_custom_effects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_MICADO_SCAO_WIDE.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_basic_integration.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_flux_is_conserved_through_full_system.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_simplecado.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_source_fov_imageplane_play_nicely.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_speclecado.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_subpixel_shifts.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_optics/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_DataContainer.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_FOVManager.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_FieldOfView.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_FovVolumeList.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_ImagePlane.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_ImagePlaneUtils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_OpticalElement.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_OpticalTrain.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_OpticsManager.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_fov_utls.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_reports/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_reports/test_rst_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_server/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_server/test_database.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_source/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_source/test_source_Source.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/tests_source/test_source_templates.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/tests/virtualenvs_faq.rst +0 -0
- {scopesim-0.11.1 → scopesim-0.11.2}/scopesim/vega.fits +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: ScopeSim
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.2
|
|
4
4
|
Summary: Generalised telescope observation simulator
|
|
5
5
|
License: GPL-3.0-or-later
|
|
6
6
|
Keywords: astronomy
|
|
7
7
|
Author: Kieran Leschinski
|
|
8
|
-
Author-email: kieran.leschinski@
|
|
8
|
+
Author-email: kieran.leschinski@univie.ac.at
|
|
9
9
|
Maintainer: Kieran Leschinski
|
|
10
|
-
Maintainer-email: kieran.leschinski@
|
|
11
|
-
Requires-Python: >=3.10,<3.
|
|
10
|
+
Maintainer-email: kieran.leschinski@univie.ac.at
|
|
11
|
+
Requires-Python: >=3.10,<3.15
|
|
12
12
|
Classifier: Intended Audience :: Science/Research
|
|
13
13
|
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
@@ -18,21 +18,23 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
20
20
|
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
21
|
-
Requires-Dist: anisocado (>=0.
|
|
22
|
-
Requires-Dist: astar-utils (>=0.
|
|
23
|
-
Requires-Dist: astropy (>=6.1.7,<
|
|
21
|
+
Requires-Dist: anisocado (>=0.5.0,<1.0)
|
|
22
|
+
Requires-Dist: astar-utils (>=0.5.0,<1.0)
|
|
23
|
+
Requires-Dist: astropy (>=6.1.7,<8.0.0)
|
|
24
24
|
Requires-Dist: beautifulsoup4 (>=4.13.3,<5.0.0)
|
|
25
25
|
Requires-Dist: docutils (>=0.19,<1.0)
|
|
26
26
|
Requires-Dist: httpx (>=0.28.1,<1.0)
|
|
27
|
-
Requires-Dist: lxml (>=
|
|
28
|
-
Requires-Dist: matplotlib (>=3.10.
|
|
27
|
+
Requires-Dist: lxml (>=6.0.2,<7.0.0)
|
|
28
|
+
Requires-Dist: matplotlib (>=3.10.5,<4.0.0)
|
|
29
29
|
Requires-Dist: more-itertools (>=10.2.0,<11.0.0)
|
|
30
|
-
Requires-Dist: numpy (>=1.26.4,<2.3.0)
|
|
31
|
-
Requires-Dist:
|
|
30
|
+
Requires-Dist: numpy (>=1.26.4,<2.3.0) ; python_version >= "3.10" and python_version < "3.13"
|
|
31
|
+
Requires-Dist: numpy (>=2.2.6,<3.0.0) ; python_version >= "3.13"
|
|
32
|
+
Requires-Dist: packaging (>=25.0,<26.0)
|
|
32
33
|
Requires-Dist: pooch (>=1.8.2,<2.0.0)
|
|
33
|
-
Requires-Dist: pyyaml (>=6.0.
|
|
34
|
-
Requires-Dist: scipy (>=1.15.3,<
|
|
35
|
-
Requires-Dist:
|
|
34
|
+
Requires-Dist: pyyaml (>=6.0.3,<7.0.0)
|
|
35
|
+
Requires-Dist: scipy (>=1.15.3,<1.16.0) ; python_version == "3.10"
|
|
36
|
+
Requires-Dist: scipy (>=1.17.0,<1.18.0) ; python_version >= "3.11"
|
|
37
|
+
Requires-Dist: skycalc-ipy (>=0.7.0,<1.0)
|
|
36
38
|
Requires-Dist: synphot (>=1.5.0,<2.0.0)
|
|
37
39
|
Requires-Dist: tqdm (>=4.66.6,<5.0.0)
|
|
38
40
|
Project-URL: Bug Tracker, https://github.com/AstarVienna/ScopeSim/issues
|
|
@@ -1,40 +1,45 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ScopeSim"
|
|
3
|
-
version = "0.11.
|
|
3
|
+
version = "0.11.2"
|
|
4
4
|
description = "Generalised telescope observation simulator"
|
|
5
5
|
license = {text = "GPL-3.0-or-later"}
|
|
6
6
|
authors = [
|
|
7
|
-
{name = "Kieran Leschinski", email = "kieran.leschinski@
|
|
7
|
+
{name = "Kieran Leschinski", email = "kieran.leschinski@univie.ac.at"}
|
|
8
8
|
]
|
|
9
9
|
maintainers = [
|
|
10
|
-
{name = "Kieran Leschinski", email = "kieran.leschinski@
|
|
10
|
+
{name = "Kieran Leschinski", email = "kieran.leschinski@univie.ac.at"},
|
|
11
11
|
{name = "Hugo Buddelmeijer", email = "hugo@buddelmeijer.nl"},
|
|
12
12
|
{name = "Fabian Haberhauer", email = "fabian.haberhauer@univie.ac.at"},
|
|
13
13
|
]
|
|
14
14
|
readme = "README.md"
|
|
15
15
|
keywords = [ "astronomy" ]
|
|
16
16
|
dynamic = [ "classifiers" ]
|
|
17
|
-
requires-python = ">=3.10,<3.
|
|
17
|
+
requires-python = ">=3.10,<3.15"
|
|
18
18
|
dependencies = [
|
|
19
|
-
"numpy (>=1.26.4,<2.3.0)",
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
"numpy (>=1.26.4,<2.3.0) ; python_version >= '3.10' and python_version < '3.13'",
|
|
20
|
+
"numpy (>=2.2.6,<3.0.0) ; python_version >= '3.13'",
|
|
21
|
+
# SciPy is only an indirect dependency through synphot, but has limited
|
|
22
|
+
# wheels for Python versions, so needs to be specified explicitly.
|
|
23
|
+
"scipy (>=1.15.3,<1.16.0) ; python_version >= '3.10' and python_version < '3.11'",
|
|
24
|
+
"scipy (>=1.17.0,<1.18.0) ; python_version >= '3.11'",
|
|
25
|
+
|
|
26
|
+
"astropy (>=6.1.7,<8.0.0)",
|
|
27
|
+
"matplotlib (>=3.10.5,<4.0.0)",
|
|
23
28
|
"pooch (>=1.8.2,<2.0.0)",
|
|
24
29
|
|
|
25
30
|
"docutils (>=0.19,<1.0)",
|
|
26
31
|
"httpx (>=0.28.1,<1.0)",
|
|
27
32
|
"beautifulsoup4 (>=4.13.3,<5.0.0)",
|
|
28
|
-
"lxml (>=
|
|
29
|
-
"pyyaml (>=6.0.
|
|
33
|
+
"lxml (>=6.0.2,<7.0.0)",
|
|
34
|
+
"pyyaml (>=6.0.3,<7.0.0)",
|
|
30
35
|
"more-itertools (>=10.2.0,<11.0.0)",
|
|
31
36
|
"tqdm (>=4.66.6,<5.0.0)",
|
|
32
|
-
"packaging (>=
|
|
37
|
+
"packaging (>=25.0,<26.0)",
|
|
33
38
|
|
|
34
39
|
"synphot (>=1.5.0,<2.0.0)",
|
|
35
|
-
"skycalc-ipy (>=0.
|
|
36
|
-
"anisocado (>=0.
|
|
37
|
-
"astar-utils (>=0.
|
|
40
|
+
"skycalc-ipy (>=0.7.0,<1.0)",
|
|
41
|
+
"anisocado (>=0.5.0,<1.0)",
|
|
42
|
+
"astar-utils (>=0.5.0,<1.0)"
|
|
38
43
|
]
|
|
39
44
|
|
|
40
45
|
[project.urls]
|
|
@@ -56,14 +61,14 @@ optional = true
|
|
|
56
61
|
|
|
57
62
|
[tool.poetry.group.dev.dependencies]
|
|
58
63
|
jupyter = "^1.1.1"
|
|
59
|
-
jupytext = "^1.
|
|
60
|
-
ipykernel = "^6.
|
|
61
|
-
ipympl = "^0.9.
|
|
64
|
+
jupytext = "^1.18.1"
|
|
65
|
+
ipykernel = "^6.31.0"
|
|
66
|
+
ipympl = "^0.9.8"
|
|
62
67
|
|
|
63
68
|
[tool.poetry.group.test.dependencies]
|
|
64
|
-
pytest = "^
|
|
65
|
-
pytest-cov = "^
|
|
66
|
-
ipykernel = "^6.
|
|
69
|
+
pytest = "^9.0.2"
|
|
70
|
+
pytest-cov = "^7.0.0"
|
|
71
|
+
ipykernel = "^6.31.0"
|
|
67
72
|
|
|
68
73
|
[tool.poetry.group.docs]
|
|
69
74
|
optional = true
|
|
@@ -72,14 +77,14 @@ optional = true
|
|
|
72
77
|
sphinx = "^8.1.3"
|
|
73
78
|
sphinx-book-theme = "^1.1.4"
|
|
74
79
|
jupyter-sphinx = ">=0.5.3"
|
|
75
|
-
sphinx-copybutton = "
|
|
80
|
+
sphinx-copybutton = ">=0.5.2,<1.0"
|
|
76
81
|
myst-nb = "^1.3.0"
|
|
77
|
-
sphinxcontrib-apidoc = ">=0.6.0"
|
|
78
|
-
sphinxcontrib-mermaid = "^
|
|
79
|
-
nbsphinx = "^0.9.
|
|
82
|
+
sphinxcontrib-apidoc = ">=0.6.0,<1.0"
|
|
83
|
+
sphinxcontrib-mermaid = "^2.0"
|
|
84
|
+
nbsphinx = "^0.9.8"
|
|
80
85
|
numpydoc = "^1.9.0"
|
|
81
|
-
ipykernel = "^6.
|
|
82
|
-
ipympl = "^0.9.
|
|
86
|
+
ipykernel = "^6.31.0"
|
|
87
|
+
ipympl = "^0.9.8"
|
|
83
88
|
|
|
84
89
|
|
|
85
90
|
[build-system]
|
|
@@ -107,12 +112,8 @@ filterwarnings = [
|
|
|
107
112
|
"ignore:Cannot merge meta key.*:astropy.utils.metadata.MergeConflictWarning",
|
|
108
113
|
"ignore::astropy.wcs.wcs.FITSFixedWarning",
|
|
109
114
|
"default:The fov_grid*:DeprecationWarning",
|
|
110
|
-
# Raised when saving fits files, not so important to fix:
|
|
111
|
-
"ignore:.*a HIERARCH card will be created.*:astropy.io.fits.verify.VerifyWarning",
|
|
112
115
|
# Pytest Notebook stuff
|
|
113
116
|
"ignore:Proactor*:RuntimeWarning",
|
|
114
|
-
# Suddenly appears from Pillow in a few tests
|
|
115
|
-
"ignore:'mode' parameter is deprecated and will be removed*:DeprecationWarning"
|
|
116
117
|
]
|
|
117
118
|
|
|
118
119
|
[tool.coverage.report]
|
|
@@ -48,7 +48,7 @@ class Detector:
|
|
|
48
48
|
@property
|
|
49
49
|
def hdu(self):
|
|
50
50
|
"""Return internal HDU."""
|
|
51
|
-
self._hdu.header.update(stringify_dict(self.meta))
|
|
51
|
+
self._hdu.header.update(stringify_dict(self.meta, fits_safe=True))
|
|
52
52
|
|
|
53
53
|
pixel_scale = from_currsys("!INST.pixel_scale", self.cmds)
|
|
54
54
|
plate_scale = from_currsys("!INST.plate_scale", self.cmds)
|
|
@@ -359,7 +359,10 @@ class DetectorList(Effect):
|
|
|
359
359
|
hdr["DET_ID"] = row["id"]
|
|
360
360
|
hdr["EXTNAME"] = f"DET_{row['id']}"
|
|
361
361
|
|
|
362
|
-
row_dict = {
|
|
362
|
+
row_dict = {
|
|
363
|
+
f"HIERARCH {col.upper()}" if len(col) > 8 else col: row[col]
|
|
364
|
+
for col in row.colnames
|
|
365
|
+
}
|
|
363
366
|
hdr.update(row_dict)
|
|
364
367
|
hdrs.append(hdr)
|
|
365
368
|
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""Any effects regarding pixels, like binning and border effects."""
|
|
3
|
+
|
|
4
|
+
from typing import ClassVar
|
|
5
|
+
|
|
6
|
+
from .. import Effect
|
|
7
|
+
from ...detector import Detector
|
|
8
|
+
from ...utils import from_currsys, figure_factory, check_keys, real_colname
|
|
9
|
+
from .. import logger
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ReferencePixelBorder(Effect):
|
|
13
|
+
"""Remove signal from reference pixels.
|
|
14
|
+
|
|
15
|
+
Detectors often have a number of rows and columns around the edges masked.
|
|
16
|
+
These pixels serve as reference pixels for various purposes. They do not
|
|
17
|
+
get any signal, but have all the detector effects, such as dark current
|
|
18
|
+
and readout noise.
|
|
19
|
+
|
|
20
|
+
.. versionchanged:: 0.11.2
|
|
21
|
+
|
|
22
|
+
Re-implemented the effect with a new YAML syntax, see #840 for details.
|
|
23
|
+
|
|
24
|
+
Parameters
|
|
25
|
+
----------
|
|
26
|
+
border : list(4)
|
|
27
|
+
a list with the number of rows and columns to be masked. The sequence
|
|
28
|
+
should be [bottom, left, top, right]
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
z_order: ClassVar[tuple[int, ...]] = (861,)
|
|
32
|
+
|
|
33
|
+
def __init__(self, **kwargs):
|
|
34
|
+
super().__init__(**kwargs)
|
|
35
|
+
self.meta["border_sequence"] = "bottom left top right"
|
|
36
|
+
if "border" not in self.meta:
|
|
37
|
+
self.meta["border"] = [0, 0, 0, 0]
|
|
38
|
+
else:
|
|
39
|
+
self.meta["border"] = from_currsys(self.meta["border"], self.cmds)
|
|
40
|
+
if isinstance(self.meta["border"], dict):
|
|
41
|
+
for val in self.meta["border"].values():
|
|
42
|
+
if len(val) != 4:
|
|
43
|
+
raise ValueError("All entries for 'border' must have exactly four values.")
|
|
44
|
+
else:
|
|
45
|
+
if len(self.meta["border"]) != 4:
|
|
46
|
+
raise ValueError(
|
|
47
|
+
"Parameter 'border' must have exactly four values.")
|
|
48
|
+
|
|
49
|
+
def apply_to(self, obj, **kwargs):
|
|
50
|
+
"""Mask border pixels."""
|
|
51
|
+
if not isinstance(obj, Detector):
|
|
52
|
+
logger.warning(
|
|
53
|
+
"ReferencePixelBorder: got non-detector object: %s", type(obj))
|
|
54
|
+
return obj
|
|
55
|
+
|
|
56
|
+
logger.info(f"Applying border {from_currsys(self.meta['border'])}")
|
|
57
|
+
if hasattr(self.meta["border"], "dic"):
|
|
58
|
+
dtcr_id = obj.meta[real_colname("id", obj.meta)]
|
|
59
|
+
border = self.meta["border"].dic[dtcr_id]
|
|
60
|
+
elif isinstance(self.meta["border"], list):
|
|
61
|
+
border = self.meta["border"]
|
|
62
|
+
else:
|
|
63
|
+
raise ValueError(
|
|
64
|
+
"<ReferenceBorderPixel>.meta['border'] must be either "
|
|
65
|
+
f"dict or list, but is {self.meta['border']}")
|
|
66
|
+
|
|
67
|
+
if border[0] > 0:
|
|
68
|
+
obj.data[:border[0], :] = 0
|
|
69
|
+
if border[1] > 0:
|
|
70
|
+
obj.data[:, :border[1]] = 0
|
|
71
|
+
if border[2] > 0:
|
|
72
|
+
obj.data[-border[2]:, :] = 0
|
|
73
|
+
if border[3] > 0:
|
|
74
|
+
obj.data[:, -border[3]:] = 0
|
|
75
|
+
return obj
|
|
76
|
+
|
|
77
|
+
def plot(self, det, **kwargs):
|
|
78
|
+
"""Show the masked detector image."""
|
|
79
|
+
det = self.apply_to(det)
|
|
80
|
+
_, ax = figure_factory()
|
|
81
|
+
ax.imshow(det.data, origin="bottom", **kwargs)
|
|
82
|
+
|
|
83
|
+
def __str__(self) -> str:
|
|
84
|
+
"""Return str(self)."""
|
|
85
|
+
msg = (
|
|
86
|
+
f"{self.__class__.__name__}: \"{self.display_name}\"\n"
|
|
87
|
+
f" {from_currsys(self.meta['border'], self.cmds)}"
|
|
88
|
+
f" ({self.meta['border_sequence']})\n"
|
|
89
|
+
)
|
|
90
|
+
return msg
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
class BinnedImage(Effect):
|
|
94
|
+
required_keys = {"bin_size"}
|
|
95
|
+
z_order: ClassVar[tuple[int, ...]] = (870,)
|
|
96
|
+
|
|
97
|
+
def __init__(self, **kwargs):
|
|
98
|
+
super().__init__(**kwargs)
|
|
99
|
+
check_keys(self.meta, self.required_keys, action="error")
|
|
100
|
+
|
|
101
|
+
def apply_to(self, det, **kwargs):
|
|
102
|
+
if not isinstance(det, Detector):
|
|
103
|
+
return det
|
|
104
|
+
|
|
105
|
+
bs = from_currsys(self.meta["bin_size"], self.cmds)
|
|
106
|
+
image = det._hdu.data
|
|
107
|
+
h, w = image.shape
|
|
108
|
+
new_image = image.reshape((h//bs, bs, w//bs, bs))
|
|
109
|
+
det._hdu.data = new_image.sum(axis=3).sum(axis=1)
|
|
110
|
+
|
|
111
|
+
return det
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
class UnequalBinnedImage(Effect):
|
|
115
|
+
required_keys = {"binx","biny"}
|
|
116
|
+
z_order: ClassVar[tuple[int, ...]] = (870,)
|
|
117
|
+
|
|
118
|
+
def __init__(self, **kwargs):
|
|
119
|
+
super().__init__(**kwargs)
|
|
120
|
+
check_keys(self.meta, self.required_keys, action="error")
|
|
121
|
+
|
|
122
|
+
def apply_to(self, det, **kwargs):
|
|
123
|
+
if not isinstance(det, Detector):
|
|
124
|
+
return det
|
|
125
|
+
|
|
126
|
+
bx = from_currsys(self.meta["binx"], self.cmds)
|
|
127
|
+
by = from_currsys(self.meta["biny"], self.cmds)
|
|
128
|
+
image = det._hdu.data
|
|
129
|
+
h, w = image.shape
|
|
130
|
+
new_image = image.reshape((h//bx, bx, w//by, by))
|
|
131
|
+
det._hdu.data = new_image.sum(axis=3).sum(axis=1)
|
|
132
|
+
|
|
133
|
+
return det
|
|
@@ -7,7 +7,6 @@ from typing import ClassVar
|
|
|
7
7
|
from collections.abc import Iterable, Mapping, MutableMapping
|
|
8
8
|
|
|
9
9
|
import yaml
|
|
10
|
-
import numpy as np
|
|
11
10
|
from more_itertools import always_iterable
|
|
12
11
|
|
|
13
12
|
from astropy.io import fits
|
|
@@ -18,8 +17,7 @@ from astar_utils.nested_mapping import recursive_update
|
|
|
18
17
|
|
|
19
18
|
from . import Effect
|
|
20
19
|
from ..source.source_fields import HDUSourceField, TableSourceField
|
|
21
|
-
from ..utils import from_currsys, find_file
|
|
22
|
-
from ..utils import get_logger
|
|
20
|
+
from ..utils import from_currsys, find_file, get_logger
|
|
23
21
|
|
|
24
22
|
logger = get_logger(__name__)
|
|
25
23
|
|
|
@@ -291,8 +289,8 @@ class ExtraFitsKeywords(Effect):
|
|
|
291
289
|
optics_manager=opt_train)
|
|
292
290
|
unresolved = flatten_dict(dic.get("unresolved_keywords", {}))
|
|
293
291
|
for i in _get_relevant_extensions(dic, hdul):
|
|
294
|
-
hdul[i].header.update(
|
|
295
|
-
hdul[i].header.update(unresolved)
|
|
292
|
+
hdul[i].header.update(_resolve_counters(resolved, i))
|
|
293
|
+
hdul[i].header.update(_resolve_counters(unresolved, i))
|
|
296
294
|
|
|
297
295
|
return hdul
|
|
298
296
|
|
|
@@ -353,10 +351,13 @@ def _resolve_paragraph_strings(value, i_ext):
|
|
|
353
351
|
def _resolve_counters(dic, i_ext):
|
|
354
352
|
"""Deal with (key, value) and (key, (value, comment)) cases."""
|
|
355
353
|
for key, value in dic.items():
|
|
354
|
+
# Avoid astropy warning
|
|
355
|
+
if len(key) > 8 and not key.startswith("HIERARCH"):
|
|
356
|
+
key = f"HIERARCH {key.upper()}"
|
|
356
357
|
# Catch any value+comments lists/tuples
|
|
357
358
|
match value:
|
|
358
359
|
case [value, comment]:
|
|
359
|
-
yield key,
|
|
360
|
+
yield key, _resolve_paragraph_strings(value, i_ext), comment
|
|
360
361
|
case value:
|
|
361
362
|
yield key, _resolve_paragraph_strings(value, i_ext)
|
|
362
363
|
|
|
@@ -407,10 +407,10 @@ class MetisLMSSpectralTrace(SpectralTrace):
|
|
|
407
407
|
for i in range(4):
|
|
408
408
|
for j in range(4):
|
|
409
409
|
sel_ij = (subpoly["Row"] == i) * (subpoly["Col"] == j)
|
|
410
|
-
thematrix[i, j] = (subpoly["P3"][sel_ij] * angle**3 +
|
|
411
|
-
subpoly["P2"][sel_ij] * angle**2 +
|
|
412
|
-
subpoly["P1"][sel_ij] * angle +
|
|
413
|
-
subpoly["P0"][sel_ij])
|
|
410
|
+
thematrix[i, j] = (subpoly["P3"][sel_ij][0] * angle**3 +
|
|
411
|
+
subpoly["P2"][sel_ij][0] * angle**2 +
|
|
412
|
+
subpoly["P1"][sel_ij][0] * angle +
|
|
413
|
+
subpoly["P0"][sel_ij][0])
|
|
414
414
|
|
|
415
415
|
matrices[matnames[matid]] = thematrix
|
|
416
416
|
|
|
@@ -32,7 +32,7 @@ class FPMask:
|
|
|
32
32
|
|
|
33
33
|
hdr = {
|
|
34
34
|
"BG_SRC": True,
|
|
35
|
-
"BG_SURF": "WCU focal plane mask",
|
|
35
|
+
"BG_SURF": "WCU focal plane mask",
|
|
36
36
|
"CTYPE1": "LINEAR",
|
|
37
37
|
"CTYPE2": "LINEAR",
|
|
38
38
|
"CRPIX1": 1024.5,
|
|
@@ -64,6 +64,7 @@ class FPMask:
|
|
|
64
64
|
if maskname == "open":
|
|
65
65
|
self.holehdu = fits.ImageHDU()
|
|
66
66
|
self.holehdu.header.update(self.hdr)
|
|
67
|
+
self.holehdu.header['BG_SURF'] = "WCU FP mask open"
|
|
67
68
|
self.opaquehdu = None
|
|
68
69
|
else:
|
|
69
70
|
# Try to find the file as a path
|
|
@@ -88,11 +89,13 @@ class FPMask:
|
|
|
88
89
|
"""
|
|
89
90
|
holehdu = fits.ImageHDU()
|
|
90
91
|
holehdu.header.update(header)
|
|
91
|
-
holehdu.
|
|
92
|
+
holehdu.header['BG_SURF'] = f"WCU FP mask {self.name} holes"
|
|
93
|
+
holehdu.data = np.zeros((2047, 2047), dtype=np.float32)
|
|
92
94
|
|
|
93
95
|
opaquehdu = fits.ImageHDU()
|
|
94
96
|
opaquehdu.header.update(header)
|
|
95
|
-
opaquehdu.
|
|
97
|
+
opaquehdu.header['BG_SURF'] = f"WCU FP mask {self.name} opaque"
|
|
98
|
+
opaquehdu.data = np.ones((2047, 2047), dtype=np.float32)
|
|
96
99
|
|
|
97
100
|
# Hole locations
|
|
98
101
|
tab = self.data_container.table
|
|
@@ -115,10 +118,11 @@ class FPMask:
|
|
|
115
118
|
in_field = (xpix > 0) * (xpix < 2047) * (ypix > 0) * (ypix < 2047)
|
|
116
119
|
|
|
117
120
|
for x, y, d in zip(xpix[in_field], ypix[in_field], diam[in_field]):
|
|
118
|
-
holearea
|
|
121
|
+
# holearea is the effective number of pixels covered by the hole
|
|
122
|
+
holearea = (d/2)**2 * np.pi / self.pixarea.value
|
|
119
123
|
xint, yint, fracs = sub_pixel_fractions(x, y)
|
|
120
124
|
holehdu.data[yint, xint] = np.array(fracs) * holearea
|
|
121
|
-
opaquehdu.data[yint, xint] *= 1 - np.array(fracs) * holearea
|
|
125
|
+
opaquehdu.data[yint, xint] *= 1 - np.array(fracs) * holearea
|
|
122
126
|
|
|
123
127
|
self.xpix = xpix
|
|
124
128
|
self.ypix = ypix
|
|
@@ -154,7 +154,7 @@ class WCUSource(TERCurve):
|
|
|
154
154
|
header=hole_hdu.header)
|
|
155
155
|
hole_src = Source(field=hole_fld)
|
|
156
156
|
else:
|
|
157
|
-
hole_src = Source(image_hdu=self.fpmask.holehdu, spectra=bb_flux)
|
|
157
|
+
hole_src = Source(image_hdu=self.fpmask.holehdu, spectra=[bb_flux])
|
|
158
158
|
|
|
159
159
|
self._background_source.append(hole_src)
|
|
160
160
|
|
|
@@ -170,7 +170,7 @@ class WCUSource(TERCurve):
|
|
|
170
170
|
opaque_src = Source(field=opaque_fld)
|
|
171
171
|
else:
|
|
172
172
|
opaque_src = Source(image_hdu=self.fpmask.opaquehdu,
|
|
173
|
-
spectra=mask_flux)
|
|
173
|
+
spectra=[mask_flux])
|
|
174
174
|
self._background_source.append(opaque_src)
|
|
175
175
|
|
|
176
176
|
return self._background_source
|
|
@@ -205,7 +205,7 @@ class WCUSource(TERCurve):
|
|
|
205
205
|
if "wcu_lms" in self.cmds["!OBS.modes"]:
|
|
206
206
|
lamc = self.cmds["!OBS.wavelen"]
|
|
207
207
|
dlam = self.cmds["!SIM.spectral.spectral_bin_width"]
|
|
208
|
-
lam = seq(lamc -
|
|
208
|
+
lam = seq(lamc - 3200 * dlam, lamc + 3200 * dlam, dlam) * u.um
|
|
209
209
|
else:
|
|
210
210
|
filter_name = self.cmds["!OBS.filter_name"]
|
|
211
211
|
filename_format = self.cmds["!INST.filter_file_format"]
|
|
@@ -392,7 +392,7 @@ class WCUSource(TERCurve):
|
|
|
392
392
|
* mult_is / (np.pi * u.sr))
|
|
393
393
|
elif self.current_lamp == "laser":
|
|
394
394
|
self.intens_lamp = self._laser_intensity()
|
|
395
|
-
elif self.current_lamp == "
|
|
395
|
+
elif self.current_lamp == "off":
|
|
396
396
|
self.intens_lamp = np.zeros(len(lam)) * self.bb_scale
|
|
397
397
|
else:
|
|
398
398
|
raise ValueError(f"Unknown lamp: {self.current_lamp}")
|
|
@@ -423,13 +423,17 @@ class WCUSource(TERCurve):
|
|
|
423
423
|
lam = self.wavelength
|
|
424
424
|
dlam = lam[1] - lam[0]
|
|
425
425
|
|
|
426
|
+
mult_is = self.is_multiplication(lam)
|
|
427
|
+
|
|
426
428
|
# Laser 1 (L band) # TODO move to yaml
|
|
427
429
|
lamc_l = 3.39 * u.um
|
|
428
430
|
power_l = 5e-3 * u.W / (c.c * c.h / lamc_l) * u.ph
|
|
431
|
+
|
|
429
432
|
# Laser 2 (tunable), power divided among multiple lines
|
|
430
433
|
lam_t = seq(4.68, 4.78, 0.01) * u.um
|
|
431
434
|
nline = len(lam_t)
|
|
432
435
|
power_t = 70e-3 * u.W / (c.c * c.h / lam) * u.ph / nline
|
|
436
|
+
|
|
433
437
|
# Laser 3 (M band)
|
|
434
438
|
lamc_m = 5.26 * u.um
|
|
435
439
|
power_m = 20e-3 * u.W / (c.c * c.h / lamc_m) * u.ph
|
|
@@ -441,9 +445,12 @@ class WCUSource(TERCurve):
|
|
|
441
445
|
line_m = Gaussian1D(amplitude=amp, mean=lamc_m, stddev=sigma)
|
|
442
446
|
list_t = [Gaussian1D(amplitude=amp, mean=ll, stddev=sigma) for ll in lam_t]
|
|
443
447
|
line_t = sum(list_t[1:], start=list_t[0])
|
|
448
|
+
|
|
444
449
|
flux = ((power_l * line_l(lam) + power_m * line_m(lam) + power_t
|
|
445
|
-
* line_t(lam)) / (np.pi * self.
|
|
446
|
-
|
|
450
|
+
* line_t(lam)) / (np.pi * self.d_is**2 / 4))
|
|
451
|
+
|
|
452
|
+
intens = mult_is * flux / (np.pi * u.sr)
|
|
453
|
+
|
|
447
454
|
return intens.to(self.bb_scale)
|
|
448
455
|
|
|
449
456
|
def compute_fp_emission(self):
|