ScopeSim 0.11.0__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.0 → scopesim-0.11.2}/PKG-INFO +16 -14
- {scopesim-0.11.0 → scopesim-0.11.2}/pyproject.toml +32 -42
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/defaults.yaml +10 -2
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/detector/detector.py +1 -1
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/detector_list.py +4 -1
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/effects.py +22 -16
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/electronic/__init__.py +2 -1
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/electronic/electrons.py +152 -17
- scopesim-0.11.2/scopesim/effects/electronic/pixels.py +133 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/fits_headers.py +7 -6
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/metis_lms_trace_list.py +65 -28
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/metis_wcu/fpmask.py +10 -6
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/metis_wcu/metis_wcu.py +34 -6
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/psfs/discrete.py +124 -14
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/psfs/psf_base.py +1 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/ter_curves.py +186 -17
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/ter_curves_utils.py +8 -2
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/optics/fov.py +63 -35
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/optics/optical_element.py +5 -2
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/optics/optical_train.py +1 -1
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/optics/optics_manager.py +1 -1
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/optics/surface.py +20 -19
- scopesim-0.11.2/scopesim/server/__init__.py +41 -0
- scopesim-0.11.2/scopesim/server/atmo_registry.txt +1 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/server/database.py +10 -10
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/server/download_utils.py +72 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/server/example_data_utils.py +4 -27
- scopesim-0.11.2/scopesim/server/psfs_registry.txt +28 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/source/source.py +6 -2
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/source/source_fields.py +41 -3
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/source/source_templates.py +1 -1
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/source/source_utils.py +3 -2
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/METIS_LMS/TRACE_LMS.fits +0 -0
- scopesim-0.11.2/scopesim/tests/mocks/files/test_AtmoLibraryTERCurve.fits +3 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/check_photometry.py +3 -5
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/test_logging.py +2 -0
- scopesim-0.11.2/scopesim/tests/tests_effects/test_AtmoLibraryTERCurve.py +50 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_ConstPSF.py +17 -5
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_GaussianDiffractionPSF.py +1 -0
- scopesim-0.11.2/scopesim/tests/tests_effects/test_InterPixelCapacitance.py +124 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_MetisLMSEfficiency.py +2 -2
- scopesim-0.11.2/scopesim/tests/tests_effects/test_MetisLMSTraceList.py +42 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_MetisWCU.py +17 -6
- scopesim-0.11.2/scopesim/tests/tests_effects/test_ReferencePixelBorder.py +61 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_SkycalcTERCurve.py +35 -1
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_fits_headers.py +0 -1
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_SpectralSurface.py +5 -5
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/utils.py +31 -3
- scopesim-0.11.0/scopesim/effects/electronic/pixels.py +0 -83
- scopesim-0.11.0/scopesim/server/__init__.py +0 -11
- scopesim-0.11.0/scopesim/tests/tests_effects/test_ReferencePixelBorder.py +0 -53
- {scopesim-0.11.0 → scopesim-0.11.2}/LICENSE +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/README.md +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/commands/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/commands/scopesimple.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/commands/user_commands.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/2MASS/2MASS.H.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/2MASS/2MASS.J.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/2MASS/2MASS.Ks.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F643.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F643_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F648.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F648_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F657.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F657_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F666.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F666_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F680.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F680_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F694.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F694_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F709.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F709_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F723.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F723_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F738.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F738_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F754.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F754_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F770.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F770_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F785.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F785_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F802.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F802_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F819.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F819_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F838.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F838_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F858.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F858_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F878.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F878_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F893.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F893_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F902.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F902_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F911.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F911_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F919.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F919_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F924.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F924_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F927.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F927_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F932.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F932_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F936.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F936_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F940.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.F940_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.sdss_g_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.sdss_i_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.sdss_r_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.sdss_z_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/GTC/OSIRIS.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/Gemini/NIRI.Lprime-G0207w.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/Generic/Bessell.V.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/Generic/Johnson.I.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/Generic/Johnson.J.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/Generic/Johnson_UBVRIJHKL.N.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/HST/WFC3_IR.F160W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1000W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1065C.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1130W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1140C.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1280W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1500W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1550C.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F1800W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F2100W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F2300C.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F2550W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F560W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.F770W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/MIRI.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/JWST/NIRCam.F164N.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/Paranal/HAWKI.BrGamma.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/Paranal/HAWKI.H.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/Paranal/HAWKI.J.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/Paranal/HAWKI.Ks.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/Paranal/NACO.Ks.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/SLOAN/SDSS.rprime_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/SLOAN/SDSS.z.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/data/svo/SLOAN/SDSS.zprime_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/detector/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/detector/detector_manager.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/detector/nghxrg.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/apertures.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/binning_3d.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/data_container.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/effects_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/electronic/dmps.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/electronic/exposure.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/electronic/noise.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/metis_ifu_simple/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/metis_ifu_simple/ifu_simple.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/metis_wcu/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/mosaic_trace_list.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/obs_strategies.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/psfs/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/psfs/analytical.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/psfs/semianalytical.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/rotation.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/shifts.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/shutter.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/spectral_efficiency.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/spectral_trace_list.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/spectral_trace_list_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/effects/surface_list.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/logconfig.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/optics/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/optics/fov_manager.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/optics/fov_volume_list.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/optics/image_plane.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/optics/image_plane_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/optics/surface_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/rc.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/reports/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/reports/report_generator.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/reports/rst_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/server/example_data_registry.txt +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/server/github_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/source/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/conftest.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/howtotest.md +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/FPA_array_layout.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_centre_detector_chip.tbl +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_ELT.tbl +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_MICADO_Wide.tbl +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_SCAO_relay.tbl +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_IMG_SCAO_WIDE.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_SCAO_WIDE_2.config +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_SCAO_WIDE_2.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/PSF_basic.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/QE_h4rg.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_blank.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_filter_Br-gamma.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_atmo_average.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_dichroic.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_mirror_gold.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/aperture_list.tbl +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/emission_file.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/mock_MICADO_SCAO_WIDE.config +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/multidetector.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SCAO_WIDE/test_FVPSF.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/FPA_array_layout.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/FPA_small.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/PSF_SCAO.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/PSF_SCAO_ConstPSF_0_5off.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/SLIT_15000x50mas.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/SLIT_3000x50mas.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/TC_filter_Spec_HK.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/TC_filter_Spec_IJ.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/TER_atmo_average.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/TRACE_15arcsec.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/TRACE_3arcsec.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/TRACE_MICADO.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/MICADO_SPEC/mock_MICADO_SPEC.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/ATMO_default_NIR_IMG.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/FITS_extra_keywords.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/INS_common_optics.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/INS_ifu_apertures.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/INS_ifu_traces.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/INS_lss_traces.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/INS_unity_refl.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/INS_unity_trans.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_atmosphere.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_basic_instrument.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_detector.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_mode_ifu.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_mode_simple_ifu.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_mode_spectroscopy.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/YAML_telescope.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/code/make_spectral_trace.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/default.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_BrGamma.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_CH4.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_H.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_J.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_open.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/slits/SLIT_narrow.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/basic_instrument/slits/SLIT_wide.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/CMD_mvs_cmds.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/CMD_non_unity_cmds.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/CMD_unity_cmds.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/LIST_detector_layout.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/LIST_full_detector_layout.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/MASK_slit_A.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/MASK_slit_B.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/TER_ADC_const_10.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/TER_ADC_const_90.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/TER_blank.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/TER_grating.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/TER_non_unity.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/TER_unity.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/fp_mask_pinhole.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/skycalc_override.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_AnisoCADO_rms_map.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_ConstPSF.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_ConstPSF_WAVELENG.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_FVPSF.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_NCPAs_table.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_aperture.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_aperture_list.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_circular_fvpsf.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_image.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_linearity.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_report_addendum.rst +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_spectrum_Flam.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_spectrum_photlam.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_table.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/files/test_table.tbl +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/load_basic_instrument.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_B.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_H.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_I.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_J.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_K.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_L.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_M.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_N.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_R.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_U.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_filter_V.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_etc_flux_table.dat +0 -0
- {scopesim-0.11.0 → 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.0 → 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.0 → scopesim-0.11.2}/scopesim/tests/mocks/photometry/eso_skycalc_surface_brightness.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/aperture_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/detector_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/effects_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/fov_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/header_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/imagehdu_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/integr_spectroscopy_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/optics_manager_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/psf_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/report_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/source_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/trace_list_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/trace_list_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/py_objects/yaml_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/default.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/test_detector.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/test_instrument.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/test_mode_2.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/test_package.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/test_telescope.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/test_package/version.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/MICADO_full.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/SimpleCADO.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/SimpleCADO_full_array.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/min_viable_sys.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/non_unity_sys.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/small.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/test_atmo.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/test_cfo.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/test_fpa.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/test_inst.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/test_scope.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/test_system.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/mocks/yamls/unity_sys.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/test_basic_instrument/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/test_basic_instrument/test_basic_instrument.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/test_import_all.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/test_init.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/test_utils_functions.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_commands/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_commands/test_UserCommands.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_commands/test_scopesimple.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_detector/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_detector/test_detector_manager.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_ADConversion.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_AnisocadoConstPSF.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_ApertureList.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_ApertureMask.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_AtmosphericDispersion.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_AtmosphericDispersionCorrection.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_AutoExposure.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_BasicReadoutNoise.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_DarkCurrent.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_DetectorList.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_DetectorModePropertiesSetter.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_Effects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_Effects_plot_methods.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_FVPSF.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_LinearityCurve.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_MetisIfuSimple.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_NonCommonPathAberation.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_PSF.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_PupilTransmission.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_Shutter.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_SpectralEfficiency.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_SpectralTraceList.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_SpectralTraceListUtils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_Surface.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_SurfaceList.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_TERCurve.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_Vibration.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_adcwheel.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_deprecated.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_effect_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_exposure.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_mosaic_trace_list.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_obs_strategies.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_shot_noise.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_slitwheel.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_effects/test_ter_curves_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_integrations/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_3_custom_effects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_MICADO_SCAO_WIDE.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_basic_integration.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_flux_is_conserved_through_full_system.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_simplecado.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_source_fov_imageplane_play_nicely.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_speclecado.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_integrations/test_subpixel_shifts.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_optics/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_DataContainer.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_FOVManager.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_FieldOfView.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_FovVolumeList.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_ImagePlane.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_ImagePlaneUtils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_OpticalElement.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_OpticalTrain.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_OpticsManager.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_optics/test_fov_utls.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_reports/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_reports/test_rst_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_server/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_server/test_database.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_source/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_source/test_source_Source.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/tests_source/test_source_templates.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.2}/scopesim/tests/virtualenvs_faq.rst +0 -0
- {scopesim-0.11.0 → 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,30 +61,30 @@ 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
|
|
70
75
|
|
|
71
76
|
[tool.poetry.group.docs.dependencies]
|
|
72
|
-
sphinx = "^
|
|
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]
|
|
@@ -99,7 +104,6 @@ filterwarnings = [
|
|
|
99
104
|
"ignore::ResourceWarning",
|
|
100
105
|
"ignore:The fit may be poorly conditioned:astropy.utils.exceptions.AstropyUserWarning",
|
|
101
106
|
"ignore::astropy.units.core.UnitsWarning",
|
|
102
|
-
"default:`trapz` is deprecated.*:DeprecationWarning",
|
|
103
107
|
# Perhaps fix?
|
|
104
108
|
"ignore:divide by zero encountered in scalar divide:RuntimeWarning",
|
|
105
109
|
"ignore:divide by zero encountered in double_scalars:RuntimeWarning",
|
|
@@ -108,22 +112,8 @@ filterwarnings = [
|
|
|
108
112
|
"ignore:Cannot merge meta key.*:astropy.utils.metadata.MergeConflictWarning",
|
|
109
113
|
"ignore::astropy.wcs.wcs.FITSFixedWarning",
|
|
110
114
|
"default:The fov_grid*:DeprecationWarning",
|
|
111
|
-
# Raised when saving fits files, not so important to fix:
|
|
112
|
-
"ignore:.*a HIERARCH card will be created.*:astropy.io.fits.verify.VerifyWarning",
|
|
113
|
-
# Web-related issues, fix at some point
|
|
114
|
-
"ignore:'urllib3.contrib.pyopenssl'*:DeprecationWarning",
|
|
115
|
-
"ignore:Blowfish*:UserWarning",
|
|
116
|
-
"ignore:TripleDES*:UserWarning",
|
|
117
|
-
# Not sure what that is but it's everywhere...
|
|
118
|
-
"ignore:'cgi'*:DeprecationWarning",
|
|
119
|
-
"ignore:The py23*:DeprecationWarning",
|
|
120
|
-
"ignore:datetime.datetime.utcfromtimestamp()*:DeprecationWarning",
|
|
121
115
|
# Pytest Notebook stuff
|
|
122
116
|
"ignore:Proactor*:RuntimeWarning",
|
|
123
|
-
# lxml warning introduced by beautifulsoup
|
|
124
|
-
"ignore:The 'strip_cdata' option of HTMLParser*:DeprecationWarning",
|
|
125
|
-
# Suddenly appears from Pillow in a few tests
|
|
126
|
-
"ignore:'mode' parameter is deprecated and will be removed*:DeprecationWarning"
|
|
127
117
|
]
|
|
128
118
|
|
|
129
119
|
[tool.coverage.report]
|
|
@@ -35,8 +35,16 @@ properties :
|
|
|
35
35
|
file :
|
|
36
36
|
local_packages_path : "./inst_pkgs/"
|
|
37
37
|
server_base_url : "https://scopesim.univie.ac.at/InstPkgSvr/"
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
retries: 3
|
|
39
|
+
example_data:
|
|
40
|
+
suburl: "example_data"
|
|
41
|
+
hash_file : "example_data_registry.txt"
|
|
42
|
+
psfs:
|
|
43
|
+
suburl: "psfs"
|
|
44
|
+
hash_file : "psfs_registry.txt"
|
|
45
|
+
atmo:
|
|
46
|
+
suburl: "atmo"
|
|
47
|
+
hash_file : "atmo_registry.txt"
|
|
40
48
|
use_cached_downloads : "update"
|
|
41
49
|
search_path : ["./inst_pkgs/", "./"]
|
|
42
50
|
error_on_missing_file : False
|
|
@@ -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
|
|
|
@@ -302,23 +302,29 @@ Meta-data
|
|
|
302
302
|
else:
|
|
303
303
|
p.text(str(self))
|
|
304
304
|
|
|
305
|
-
def
|
|
306
|
-
if isinstance(item, str)
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
else:
|
|
317
|
-
value = self.meta
|
|
318
|
-
else:
|
|
319
|
-
raise ValueError(f"__getitem__ calls must start with '#': {item}")
|
|
305
|
+
def get_from_meta(self, item: str):
|
|
306
|
+
if not isinstance(item, str):
|
|
307
|
+
raise TypeError("Effect.resolve_meta() needs a string.")
|
|
308
|
+
|
|
309
|
+
if not item.startswith("#"):
|
|
310
|
+
raise ValueError(f"resolve_meta calls must start with '#': {item}")
|
|
311
|
+
|
|
312
|
+
if len(item) == 1:
|
|
313
|
+
return self.meta # When do we actually need/want this??
|
|
314
|
+
|
|
315
|
+
key = item.removeprefix("#")
|
|
320
316
|
|
|
321
|
-
|
|
317
|
+
if not key.endswith("!"):
|
|
318
|
+
return self.meta[key]
|
|
319
|
+
|
|
320
|
+
key = key.removesuffix("!")
|
|
321
|
+
if key == "":
|
|
322
|
+
return from_currsys(self.meta, self.cmds)
|
|
323
|
+
|
|
324
|
+
return from_currsys(self.meta[key], self.cmds)
|
|
325
|
+
|
|
326
|
+
def __getitem__(self, item):
|
|
327
|
+
return self.get_from_meta(item)
|
|
322
328
|
|
|
323
329
|
def _get_path(self):
|
|
324
330
|
if any(key not in self.meta for key in ("path", "filename_format")):
|
|
@@ -15,12 +15,13 @@ Classes:
|
|
|
15
15
|
- BinnedImage
|
|
16
16
|
- UnequalBinnedImage
|
|
17
17
|
- Bias - adds constant bias level to readout
|
|
18
|
+
- InterPixelCapacitance - apply IPC kernel to detector readout
|
|
18
19
|
"""
|
|
19
20
|
|
|
20
21
|
from ...utils import get_logger
|
|
21
22
|
logger = get_logger(__name__)
|
|
22
23
|
|
|
23
|
-
from .electrons import LinearityCurve, ADConversion
|
|
24
|
+
from .electrons import LinearityCurve, ADConversion, InterPixelCapacitance
|
|
24
25
|
from .noise import (Bias, PoorMansHxRGReadoutNoise, BasicReadoutNoise,
|
|
25
26
|
ShotNoise, DarkCurrent)
|
|
26
27
|
from .exposure import AutoExposure, ExposureIntegration, ExposureOutput
|
|
@@ -11,13 +11,15 @@ Related effects:
|
|
|
11
11
|
from typing import ClassVar
|
|
12
12
|
|
|
13
13
|
import numpy as np
|
|
14
|
+
from scipy.signal import oaconvolve
|
|
14
15
|
|
|
15
16
|
from .. import Effect
|
|
16
17
|
from ...detector import Detector
|
|
17
18
|
from ...utils import figure_factory, check_keys
|
|
18
|
-
from ...utils import from_currsys, real_colname
|
|
19
|
+
from ...utils import from_currsys, real_colname, get_logger
|
|
19
20
|
from . import logger
|
|
20
21
|
|
|
22
|
+
logger = get_logger(__name__)
|
|
21
23
|
|
|
22
24
|
class LinearityCurve(Effect):
|
|
23
25
|
"""
|
|
@@ -91,6 +93,133 @@ class LinearityCurve(Effect):
|
|
|
91
93
|
return fig
|
|
92
94
|
|
|
93
95
|
|
|
96
|
+
class InterPixelCapacitance(Effect):
|
|
97
|
+
r"""Inter-pixel capacitance effect.
|
|
98
|
+
|
|
99
|
+
The effect models cross-talk due to inter-pixel capacitance with
|
|
100
|
+
a convolution kernel following [1]_.
|
|
101
|
+
|
|
102
|
+
.. versionadded:: 0.11.1
|
|
103
|
+
|
|
104
|
+
Example
|
|
105
|
+
-------
|
|
106
|
+
The effect is usually instantiated in a yaml file.
|
|
107
|
+
|
|
108
|
+
The first example uses the three-parameter model in Eq. (9) of [1].
|
|
109
|
+
The three parameters are `alpha_edge` (corresponding to :math:`\alpha`) for
|
|
110
|
+
the effect of neighbouring pixels sharing an edge with the pixel under
|
|
111
|
+
consideration, `alpha_corner` (corresponding to :math:`\alpha^\prime`) for
|
|
112
|
+
pixels sharing a corner, and `alpha_aniso` (corresponding to
|
|
113
|
+
:math:`\alpha_{+}`) to allow for different capacitive coupling along rows
|
|
114
|
+
and columns. The simpler one- and two-parameters models are recovered by
|
|
115
|
+
setting `alpha_aniso` and/or `alpha_corner` to zero.
|
|
116
|
+
|
|
117
|
+
::
|
|
118
|
+
|
|
119
|
+
- name: ipc
|
|
120
|
+
description: Apply inter-pixel capacitance
|
|
121
|
+
class: InterPixelCapacitance
|
|
122
|
+
kwargs:
|
|
123
|
+
alpha_edge: 0.02
|
|
124
|
+
alpha_corner: 0.002
|
|
125
|
+
alpha_aniso: 0
|
|
126
|
+
|
|
127
|
+
Alternatively, a convolution kernel can be provided explicitely:
|
|
128
|
+
|
|
129
|
+
::
|
|
130
|
+
|
|
131
|
+
- name: ipc
|
|
132
|
+
description: Apply inter-pixel capacitance
|
|
133
|
+
class: InterPixelCapacitance
|
|
134
|
+
kwargs:
|
|
135
|
+
kernel: [
|
|
136
|
+
[0.0011, 0.0127, 0.0011],
|
|
137
|
+
[0.0163, 0.9360, 0.0164],
|
|
138
|
+
[0.0011, 0.0127, 0.0011],
|
|
139
|
+
]
|
|
140
|
+
|
|
141
|
+
.. [1] Kannawadi et al., "The Impact of Interpixel Capacitance in CMOS
|
|
142
|
+
Detectors on PSF Shapes and Implications for WFIRST",
|
|
143
|
+
PASP 128, 095001 (2016).
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
z_order: ClassVar[tuple[int, ...]] = (810,)
|
|
147
|
+
|
|
148
|
+
def __init__(self, **kwargs):
|
|
149
|
+
super().__init__(**kwargs)
|
|
150
|
+
|
|
151
|
+
self.meta.update(kwargs)
|
|
152
|
+
self.kernel = self._build_kernel(kwargs)
|
|
153
|
+
|
|
154
|
+
def _build_kernel(self, params):
|
|
155
|
+
"""Build a 3x3 kernel."""
|
|
156
|
+
if "kernel" in params:
|
|
157
|
+
kernel = np.asarray(params['kernel']).astype(float)
|
|
158
|
+
kernsum = np.sum(kernel)
|
|
159
|
+
if kernsum > 1:
|
|
160
|
+
logger.warning("IPC kernel is larger than one, normalising")
|
|
161
|
+
kernel /= kernsum
|
|
162
|
+
if kernsum <= 0:
|
|
163
|
+
raise ValueError("IPC kernel has negative normalisation")
|
|
164
|
+
return kernel
|
|
165
|
+
|
|
166
|
+
a_corner = params.get("alpha_corner", 0)
|
|
167
|
+
a_aniso = params.get("alpha_aniso", 0)
|
|
168
|
+
a_edge = params.get("alpha_edge", 0)
|
|
169
|
+
|
|
170
|
+
kernel = np.array([
|
|
171
|
+
[a_corner, a_edge - a_aniso, a_corner],
|
|
172
|
+
[a_edge + a_aniso, 1 - 4 * (a_edge + a_corner), a_edge + a_aniso],
|
|
173
|
+
[a_corner, a_edge - a_aniso, a_corner]
|
|
174
|
+
])
|
|
175
|
+
return kernel
|
|
176
|
+
|
|
177
|
+
def apply_to(self, det, **kwargs):
|
|
178
|
+
if not isinstance(det, Detector):
|
|
179
|
+
logger.debug("%s applied to %s", self.display_name,
|
|
180
|
+
det.__class__.__name__)
|
|
181
|
+
return det
|
|
182
|
+
|
|
183
|
+
newdata = oaconvolve(det._hdu.data, self.kernel, mode="same")
|
|
184
|
+
det._hdu.data = newdata
|
|
185
|
+
return det
|
|
186
|
+
|
|
187
|
+
def update(self, **kwargs):
|
|
188
|
+
"""Update the IPC kernel.
|
|
189
|
+
|
|
190
|
+
An instance `ipc` of `InterPixelCapacitance` can be updated by
|
|
191
|
+
specifying either a new `kernel`:
|
|
192
|
+
``ipc.update(kernel=[[0., 0.02, 0], [0, 0.92, 0], [0, 0.02, 0]])``
|
|
193
|
+
or by specifying one or more of the `alpha` parameters:
|
|
194
|
+
``ipc.update(alpha_edge=0.02, alpha_corner=0.002)``
|
|
195
|
+
|
|
196
|
+
Notes
|
|
197
|
+
-----
|
|
198
|
+
Unspecified `alpha` parameters (here `alpha_aniso`) default to zero.
|
|
199
|
+
"""
|
|
200
|
+
if "kernel" in kwargs:
|
|
201
|
+
for key in ["alpha_edge", "alpha_corner", "alpha_aniso"]:
|
|
202
|
+
self.meta.pop(key, None)
|
|
203
|
+
self.meta.update(kwargs)
|
|
204
|
+
self.kernel = self._build_kernel(kwargs)
|
|
205
|
+
|
|
206
|
+
def __str__(self):
|
|
207
|
+
kernel_str = np.array2string(
|
|
208
|
+
self.kernel,
|
|
209
|
+
precision=4,
|
|
210
|
+
floatmode="fixed",
|
|
211
|
+
prefix=" kernel = ",
|
|
212
|
+
)
|
|
213
|
+
msg = (
|
|
214
|
+
f"<{self.__class__.__name__}> \"{self.meta['description']}\" :"
|
|
215
|
+
f"alpha_edge = {self.meta.get('alpha_edge', 'NA')}"
|
|
216
|
+
f"alpha_corner = {self.meta.get('alpha_corner', 'NA')}"
|
|
217
|
+
f"alpha_aniso = {self.meta.get('alpha_aniso', 'NA')}"
|
|
218
|
+
f"kernel = {kernel_str}"
|
|
219
|
+
)
|
|
220
|
+
return msg
|
|
221
|
+
|
|
222
|
+
|
|
94
223
|
class ADConversion(Effect):
|
|
95
224
|
"""Analogue-Digital Conversion effect.
|
|
96
225
|
|
|
@@ -102,24 +231,30 @@ class ADConversion(Effect):
|
|
|
102
231
|
The effect is usually instantiated in a yaml file.
|
|
103
232
|
|
|
104
233
|
For a single-detector instrument:
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
234
|
+
|
|
235
|
+
::
|
|
236
|
+
|
|
237
|
+
- name: ad_conversion
|
|
238
|
+
description: Apply gain and convert electron count into integers
|
|
239
|
+
class: ADConversion
|
|
240
|
+
kwargs:
|
|
241
|
+
dtype: uint16
|
|
242
|
+
gain: "!DET.gain" # or a number if !DET.gain has not been set yet
|
|
111
243
|
|
|
112
244
|
For a multi-detector instrument the detector ids need to be identical to
|
|
113
245
|
those used to instantiate the DetectorList effect.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
246
|
+
|
|
247
|
+
::
|
|
248
|
+
|
|
249
|
+
- name: ad_conversion
|
|
250
|
+
description: Apply gain and convert electron count into integers
|
|
251
|
+
class: ADConversion
|
|
252
|
+
kwargs:
|
|
253
|
+
dtype: uint16
|
|
254
|
+
gain:
|
|
255
|
+
id1: 2.2
|
|
256
|
+
id2: 2.1
|
|
257
|
+
id3 2.3
|
|
123
258
|
|
|
124
259
|
Again, `!DET.gain` can be used here. This can be useful when the
|
|
125
260
|
`DetectorModePropertiesSetter` effect is used to switch between different
|
|
@@ -142,7 +277,7 @@ class ADConversion(Effect):
|
|
|
142
277
|
self.meta.update(kwargs)
|
|
143
278
|
|
|
144
279
|
def _should_apply(self) -> bool:
|
|
145
|
-
"""Check cases where the effect should not be applied
|
|
280
|
+
"""Check cases where the effect should not be applied.
|
|
146
281
|
|
|
147
282
|
This does not do anything right now.
|
|
148
283
|
"""
|
|
@@ -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
|
|