ScopeSim 0.11.1__tar.gz → 0.11.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {scopesim-0.11.1 → scopesim-0.11.3}/PKG-INFO +20 -16
- {scopesim-0.11.1 → scopesim-0.11.3}/pyproject.toml +31 -32
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/detector/detector.py +1 -1
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/__init__.py +1 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/detector_list.py +4 -1
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/electronic/__init__.py +2 -1
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/electronic/electrons.py +3 -2
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/electronic/exposure.py +4 -6
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/electronic/noise.py +96 -0
- scopesim-0.11.3/scopesim/effects/electronic/pixels.py +133 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/fits_headers.py +7 -6
- scopesim-0.11.3/scopesim/effects/illumination.py +208 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/metis_lms_trace_list.py +4 -4
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/metis_wcu/fpmask.py +13 -9
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/metis_wcu/metis_wcu.py +32 -15
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/psfs/discrete.py +196 -38
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/psfs/psf_base.py +23 -16
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/psfs/semianalytical.py +12 -2
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/spectral_trace_list.py +19 -2
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/spectral_trace_list_utils.py +11 -7
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/ter_curves.py +73 -15
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/ter_curves_utils.py +8 -2
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/optics/image_plane.py +1 -1
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/optics/optical_train.py +1 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/optics/optics_manager.py +38 -4
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/optics/surface.py +20 -19
- scopesim-0.11.3/scopesim/server/psfs_registry.txt +28 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/source/source_fields.py +1 -1
- scopesim-0.11.3/scopesim/tests/mocks/files/fp_mask_pinhole_int.dat +18 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_ConstPSF.py +17 -5
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_MetisLMSEfficiency.py +1 -1
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_MetisWCU.py +74 -45
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_PSF.py +15 -2
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_PupilTransmission.py +9 -5
- scopesim-0.11.3/scopesim/tests/tests_effects/test_ReferencePixelBorder.py +61 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_SkycalcTERCurve.py +35 -1
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_fits_headers.py +0 -1
- scopesim-0.11.3/scopesim/tests/tests_effects/test_illumination.py +75 -0
- scopesim-0.11.3/scopesim/tests/tests_effects/test_prnu.py +73 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_SpectralSurface.py +5 -5
- {scopesim-0.11.1 → scopesim-0.11.3}/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.3}/LICENSE +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/README.md +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/commands/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/commands/scopesimple.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/commands/user_commands.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/2MASS/2MASS.H.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/2MASS/2MASS.J.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/2MASS/2MASS.Ks.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F643.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F643_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F648.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F648_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F657.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F657_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F666.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F666_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F680.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F680_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F694.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F694_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F709.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F709_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F723.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F723_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F738.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F738_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F754.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F754_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F770.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F770_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F785.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F785_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F802.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F802_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F819.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F819_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F838.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F838_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F858.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F858_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F878.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F878_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F893.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F893_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F902.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F902_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F911.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F911_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F919.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F919_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F924.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F924_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F927.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F927_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F932.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F932_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F936.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F936_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F940.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.F940_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.sdss_g_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.sdss_i_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.sdss_r_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.sdss_z_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/GTC/OSIRIS.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/Gemini/NIRI.Lprime-G0207w.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/Generic/Bessell.V.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/Generic/Johnson.I.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/Generic/Johnson.J.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/Generic/Johnson_UBVRIJHKL.N.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/HST/WFC3_IR.F160W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1000W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1065C.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1130W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1140C.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1280W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1500W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1550C.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F1800W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F2100W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F2300C.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F2550W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F560W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.F770W.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/MIRI.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/JWST/NIRCam.F164N.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/Paranal/HAWKI.BrGamma.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/Paranal/HAWKI.H.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/Paranal/HAWKI.J.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/Paranal/HAWKI.Ks.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/Paranal/NACO.Ks.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/SLOAN/SDSS.rprime_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/SLOAN/SDSS.z.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/data/svo/SLOAN/SDSS.zprime_filter.xml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/defaults.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/detector/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/detector/detector_manager.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/detector/nghxrg.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/apertures.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/binning_3d.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/data_container.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/effects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/effects_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/electronic/dmps.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/metis_ifu_simple/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/metis_ifu_simple/ifu_simple.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/metis_wcu/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/mosaic_trace_list.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/obs_strategies.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/psfs/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/psfs/analytical.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/rotation.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/shifts.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/shutter.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/spectral_efficiency.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/effects/surface_list.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/logconfig.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/optics/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/optics/fov.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/optics/fov_manager.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/optics/fov_volume_list.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/optics/image_plane_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/optics/optical_element.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/optics/surface_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/rc.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/reports/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/reports/report_generator.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/reports/rst_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/server/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/server/atmo_registry.txt +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/server/database.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/server/download_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/server/example_data_registry.txt +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/server/example_data_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/server/github_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/source/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/source/source.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/source/source_templates.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/source/source_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/conftest.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/howtotest.md +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/METIS_LMS/TRACE_LMS.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/FPA_array_layout.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_centre_detector_chip.tbl +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_ELT.tbl +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_MICADO_Wide.tbl +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_SCAO_relay.tbl +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_IMG_SCAO_WIDE.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_SCAO_WIDE_2.config +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_SCAO_WIDE_2.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/PSF_basic.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/QE_h4rg.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_blank.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_filter_Br-gamma.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_atmo_average.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_dichroic.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_mirror_gold.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/aperture_list.tbl +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/emission_file.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/mock_MICADO_SCAO_WIDE.config +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/multidetector.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SCAO_WIDE/test_FVPSF.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/FPA_array_layout.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/FPA_small.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/PSF_SCAO.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/PSF_SCAO_ConstPSF_0_5off.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/SLIT_15000x50mas.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/SLIT_3000x50mas.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/TC_filter_Spec_HK.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/TC_filter_Spec_IJ.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/TER_atmo_average.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/TRACE_15arcsec.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/TRACE_3arcsec.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/TRACE_MICADO.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/MICADO_SPEC/mock_MICADO_SPEC.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/ATMO_default_NIR_IMG.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/FITS_extra_keywords.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/INS_common_optics.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/INS_ifu_apertures.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/INS_ifu_traces.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/INS_lss_traces.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/INS_unity_refl.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/INS_unity_trans.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_atmosphere.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_basic_instrument.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_detector.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_mode_ifu.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_mode_simple_ifu.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_mode_spectroscopy.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/YAML_telescope.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/code/make_spectral_trace.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/default.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_BrGamma.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_CH4.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_H.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_J.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_open.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/slits/SLIT_narrow.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/basic_instrument/slits/SLIT_wide.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/CMD_mvs_cmds.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/CMD_non_unity_cmds.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/CMD_unity_cmds.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/LIST_detector_layout.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/LIST_full_detector_layout.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/MASK_slit_A.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/MASK_slit_B.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/TER_ADC_const_10.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/TER_ADC_const_90.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/TER_blank.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/TER_grating.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/TER_non_unity.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/TER_unity.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/fp_mask_pinhole.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/skycalc_override.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_AnisoCADO_rms_map.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_AtmoLibraryTERCurve.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_ConstPSF.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_ConstPSF_WAVELENG.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_FVPSF.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_NCPAs_table.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_aperture.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_aperture_list.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_circular_fvpsf.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_image.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_linearity.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_report_addendum.rst +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_spectrum_Flam.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_spectrum_photlam.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_table.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/files/test_table.tbl +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/load_basic_instrument.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/check_photometry.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_B.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_H.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_I.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_J.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_K.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_L.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_M.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_N.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_R.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_U.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_filter_V.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_etc_flux_table.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_skycalc_r_6000_wave_0.3_15nm_airmass_1_pwv_2.5.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_skycalc_r_6000_wave_0.3_15nm_airmass_1_pwv_2.5.fits +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/photometry/eso_skycalc_surface_brightness.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/aperture_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/detector_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/effects_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/fov_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/header_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/imagehdu_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/integr_spectroscopy_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/optics_manager_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/psf_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/report_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/source_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/trace_list_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/trace_list_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/py_objects/yaml_objects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/default.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/test_detector.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/test_instrument.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/test_mode_2.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/test_package.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/test_telescope.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/test_package/version.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/MICADO_full.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/SimpleCADO.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/SimpleCADO_full_array.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/min_viable_sys.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/non_unity_sys.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/small.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/test_atmo.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/test_cfo.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/test_fpa.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/test_inst.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/test_scope.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/test_system.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/mocks/yamls/unity_sys.yaml +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/test_basic_instrument/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/test_basic_instrument/test_basic_instrument.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/test_import_all.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/test_init.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/test_logging.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/test_utils_functions.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_commands/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_commands/test_UserCommands.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_commands/test_scopesimple.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_detector/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_detector/test_detector_manager.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_ADConversion.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_AnisocadoConstPSF.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_ApertureList.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_ApertureMask.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_AtmoLibraryTERCurve.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_AtmosphericDispersion.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_AtmosphericDispersionCorrection.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_AutoExposure.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_BasicReadoutNoise.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_DarkCurrent.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_DetectorList.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_DetectorModePropertiesSetter.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_Effects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_Effects_plot_methods.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_FVPSF.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_GaussianDiffractionPSF.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_InterPixelCapacitance.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_LinearityCurve.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_MetisIfuSimple.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_MetisLMSTraceList.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_NonCommonPathAberation.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_Shutter.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_SpectralEfficiency.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_SpectralTraceList.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_SpectralTraceListUtils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_Surface.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_SurfaceList.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_TERCurve.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_Vibration.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_adcwheel.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_deprecated.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_effect_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_exposure.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_mosaic_trace_list.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_obs_strategies.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_shot_noise.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_slitwheel.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_effects/test_ter_curves_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_integrations/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_3_custom_effects.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_MICADO_SCAO_WIDE.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_basic_integration.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_flux_is_conserved_through_full_system.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_simplecado.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_source_fov_imageplane_play_nicely.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_speclecado.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_integrations/test_subpixel_shifts.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_optics/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_DataContainer.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_FOVManager.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_FieldOfView.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_FovVolumeList.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_ImagePlane.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_ImagePlaneUtils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_OpticalElement.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_OpticalTrain.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_OpticsManager.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_optics/test_fov_utls.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_reports/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_reports/test_rst_utils.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_server/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_server/test_database.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_source/__init__.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_source/test_source_Source.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/tests_source/test_source_templates.py +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/tests/virtualenvs_faq.rst +0 -0
- {scopesim-0.11.1 → scopesim-0.11.3}/scopesim/vega.fits +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: ScopeSim
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.3
|
|
4
4
|
Summary: Generalised telescope observation simulator
|
|
5
5
|
License: GPL-3.0-or-later
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Keywords: astronomy
|
|
7
8
|
Author: Kieran Leschinski
|
|
8
|
-
Author-email: kieran.leschinski@
|
|
9
|
+
Author-email: kieran.leschinski@univie.ac.at
|
|
9
10
|
Maintainer: Kieran Leschinski
|
|
10
|
-
Maintainer-email: kieran.leschinski@
|
|
11
|
-
Requires-Python: >=3.10,<3.
|
|
11
|
+
Maintainer-email: kieran.leschinski@univie.ac.at
|
|
12
|
+
Requires-Python: >=3.10,<3.15
|
|
12
13
|
Classifier: Intended Audience :: Science/Research
|
|
13
14
|
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
14
15
|
Classifier: Operating System :: OS Independent
|
|
@@ -17,23 +18,26 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
17
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
22
|
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
21
|
-
Requires-Dist: anisocado (>=0.
|
|
22
|
-
Requires-Dist: astar-utils (>=0.
|
|
23
|
-
Requires-Dist: astropy (>=6.1.7,<
|
|
23
|
+
Requires-Dist: anisocado (>=0.5.0,<1.0)
|
|
24
|
+
Requires-Dist: astar-utils (>=0.5.0,<1.0)
|
|
25
|
+
Requires-Dist: astropy (>=6.1.7,<8.0.0)
|
|
24
26
|
Requires-Dist: beautifulsoup4 (>=4.13.3,<5.0.0)
|
|
25
27
|
Requires-Dist: docutils (>=0.19,<1.0)
|
|
26
28
|
Requires-Dist: httpx (>=0.28.1,<1.0)
|
|
27
|
-
Requires-Dist: lxml (>=
|
|
28
|
-
Requires-Dist: matplotlib (>=3.10.
|
|
29
|
+
Requires-Dist: lxml (>=6.0.2,<7.0.0)
|
|
30
|
+
Requires-Dist: matplotlib (>=3.10.5,<4.0.0)
|
|
29
31
|
Requires-Dist: more-itertools (>=10.2.0,<11.0.0)
|
|
30
|
-
Requires-Dist: numpy (>=1.26.4,<2.3.0)
|
|
31
|
-
Requires-Dist:
|
|
32
|
+
Requires-Dist: numpy (>=1.26.4,<2.3.0) ; python_version >= "3.10" and python_version < "3.13"
|
|
33
|
+
Requires-Dist: numpy (>=2.3.5,<3.0.0) ; python_version >= "3.13"
|
|
34
|
+
Requires-Dist: packaging (>=25.0,<27.0)
|
|
32
35
|
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:
|
|
36
|
-
Requires-Dist:
|
|
36
|
+
Requires-Dist: pyyaml (>=6.0.3,<7.0.0)
|
|
37
|
+
Requires-Dist: scipy (>=1.15.3,<1.16.0) ; python_version == "3.10"
|
|
38
|
+
Requires-Dist: scipy (>=1.17.0,<1.18.0) ; python_version >= "3.11"
|
|
39
|
+
Requires-Dist: skycalc-ipy (>=0.7.0,<1.0)
|
|
40
|
+
Requires-Dist: synphot (>=1.6.1,<2.0.0)
|
|
37
41
|
Requires-Dist: tqdm (>=4.66.6,<5.0.0)
|
|
38
42
|
Project-URL: Bug Tracker, https://github.com/AstarVienna/ScopeSim/issues
|
|
39
43
|
Project-URL: Changelog, https://github.com/AstarVienna/ScopeSim/blob/main/CHANGELOG.md
|
|
@@ -1,40 +1,43 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ScopeSim"
|
|
3
|
-
version = "0.11.
|
|
3
|
+
version = "0.11.3"
|
|
4
4
|
description = "Generalised telescope observation simulator"
|
|
5
5
|
license = {text = "GPL-3.0-or-later"}
|
|
6
6
|
authors = [
|
|
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.3.5,<3.0.0) ; python_version >= '3.13'",
|
|
21
|
+
"scipy (>=1.15.3,<1.16.0) ; python_version >= '3.10' and python_version < '3.11'",
|
|
22
|
+
"scipy (>=1.17.0,<1.18.0) ; python_version >= '3.11'",
|
|
23
|
+
|
|
24
|
+
"astropy (>=6.1.7,<8.0.0)",
|
|
25
|
+
"matplotlib (>=3.10.5,<4.0.0)",
|
|
23
26
|
"pooch (>=1.8.2,<2.0.0)",
|
|
24
27
|
|
|
25
28
|
"docutils (>=0.19,<1.0)",
|
|
26
29
|
"httpx (>=0.28.1,<1.0)",
|
|
27
30
|
"beautifulsoup4 (>=4.13.3,<5.0.0)",
|
|
28
|
-
"lxml (>=
|
|
29
|
-
"pyyaml (>=6.0.
|
|
31
|
+
"lxml (>=6.0.2,<7.0.0)",
|
|
32
|
+
"pyyaml (>=6.0.3,<7.0.0)",
|
|
30
33
|
"more-itertools (>=10.2.0,<11.0.0)",
|
|
31
34
|
"tqdm (>=4.66.6,<5.0.0)",
|
|
32
|
-
"packaging (>=
|
|
35
|
+
"packaging (>=25.0,<27.0)",
|
|
33
36
|
|
|
34
|
-
"synphot (>=1.
|
|
35
|
-
"skycalc-ipy (>=0.
|
|
36
|
-
"anisocado (>=0.
|
|
37
|
-
"astar-utils (>=0.
|
|
37
|
+
"synphot (>=1.6.1,<2.0.0)",
|
|
38
|
+
"skycalc-ipy (>=0.7.0,<1.0)",
|
|
39
|
+
"anisocado (>=0.5.0,<1.0)",
|
|
40
|
+
"astar-utils (>=0.5.0,<1.0)"
|
|
38
41
|
]
|
|
39
42
|
|
|
40
43
|
[project.urls]
|
|
@@ -56,14 +59,14 @@ optional = true
|
|
|
56
59
|
|
|
57
60
|
[tool.poetry.group.dev.dependencies]
|
|
58
61
|
jupyter = "^1.1.1"
|
|
59
|
-
jupytext = "^1.
|
|
60
|
-
ipykernel = "^
|
|
61
|
-
ipympl = "^0.
|
|
62
|
+
jupytext = "^1.19.0"
|
|
63
|
+
ipykernel = "^7.2.0"
|
|
64
|
+
ipympl = "^0.10.0"
|
|
62
65
|
|
|
63
66
|
[tool.poetry.group.test.dependencies]
|
|
64
|
-
pytest = "^
|
|
65
|
-
pytest-cov = "^
|
|
66
|
-
ipykernel = "^
|
|
67
|
+
pytest = "^9.0.2"
|
|
68
|
+
pytest-cov = "^7.0.0"
|
|
69
|
+
ipykernel = "^7.2.0"
|
|
67
70
|
|
|
68
71
|
[tool.poetry.group.docs]
|
|
69
72
|
optional = true
|
|
@@ -72,14 +75,14 @@ optional = true
|
|
|
72
75
|
sphinx = "^8.1.3"
|
|
73
76
|
sphinx-book-theme = "^1.1.4"
|
|
74
77
|
jupyter-sphinx = ">=0.5.3"
|
|
75
|
-
sphinx-copybutton = "
|
|
78
|
+
sphinx-copybutton = ">=0.5.2,<1.0"
|
|
76
79
|
myst-nb = "^1.3.0"
|
|
77
|
-
sphinxcontrib-apidoc = ">=0.6.0"
|
|
78
|
-
sphinxcontrib-mermaid = "^
|
|
79
|
-
nbsphinx = "^0.9.
|
|
80
|
-
numpydoc = "^1.
|
|
81
|
-
ipykernel = "^
|
|
82
|
-
ipympl = "^0.
|
|
80
|
+
sphinxcontrib-apidoc = ">=0.6.0,<1.0"
|
|
81
|
+
sphinxcontrib-mermaid = "^2.0"
|
|
82
|
+
nbsphinx = "^0.9.8"
|
|
83
|
+
numpydoc = "^1.10.0"
|
|
84
|
+
ipykernel = "^7.2.0"
|
|
85
|
+
ipympl = "^0.10.0"
|
|
83
86
|
|
|
84
87
|
|
|
85
88
|
[build-system]
|
|
@@ -107,12 +110,8 @@ filterwarnings = [
|
|
|
107
110
|
"ignore:Cannot merge meta key.*:astropy.utils.metadata.MergeConflictWarning",
|
|
108
111
|
"ignore::astropy.wcs.wcs.FITSFixedWarning",
|
|
109
112
|
"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
113
|
# Pytest Notebook stuff
|
|
113
114
|
"ignore:Proactor*:RuntimeWarning",
|
|
114
|
-
# Suddenly appears from Pillow in a few tests
|
|
115
|
-
"ignore:'mode' parameter is deprecated and will be removed*:DeprecationWarning"
|
|
116
115
|
]
|
|
117
116
|
|
|
118
117
|
[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
|
|
|
@@ -9,6 +9,7 @@ Classes:
|
|
|
9
9
|
- PoorMansHxRGReadoutNoise - simple readout noise for HAWAII detectors
|
|
10
10
|
- BasicReadoutNoise - readout noise
|
|
11
11
|
- ShotNoise - realisation of Poissonian photon noise
|
|
12
|
+
- PixelResponseNonUniformity - per-pixel gain variation (PRNU)
|
|
12
13
|
- DarkCurrent - add dark current
|
|
13
14
|
- LinearityCurve - apply detector (non-)linearity and saturation
|
|
14
15
|
- ReferencePixelBorder
|
|
@@ -23,7 +24,7 @@ logger = get_logger(__name__)
|
|
|
23
24
|
|
|
24
25
|
from .electrons import LinearityCurve, ADConversion, InterPixelCapacitance
|
|
25
26
|
from .noise import (Bias, PoorMansHxRGReadoutNoise, BasicReadoutNoise,
|
|
26
|
-
ShotNoise, DarkCurrent)
|
|
27
|
+
ShotNoise, DarkCurrent, PixelResponseNonUniformity)
|
|
27
28
|
from .exposure import AutoExposure, ExposureIntegration, ExposureOutput
|
|
28
29
|
from .pixels import ReferencePixelBorder, BinnedImage, UnequalBinnedImage
|
|
29
30
|
from .dmps import DetectorModePropertiesSetter
|
|
@@ -307,12 +307,13 @@ class ADConversion(Effect):
|
|
|
307
307
|
# Apply the gain value (copy from DarkCurrent)
|
|
308
308
|
# Note that this does not cater for the case where the gain is given
|
|
309
309
|
# as a plain dictionary. Should we implement that?
|
|
310
|
-
logger.info(f"Applying gain {from_currsys(self.cmds['!DET.gain'])}")
|
|
311
310
|
if hasattr(self.cmds["!DET.gain"], "dic"):
|
|
312
311
|
dtcr_id = obj.meta[real_colname("id", obj.meta)]
|
|
313
312
|
gain = self.cmds["!DET.gain"].dic[dtcr_id]
|
|
313
|
+
logger.info(f"Detector {dtcr_id}: applying gain {gain}")
|
|
314
314
|
elif isinstance(self.cmds["!DET.gain"], (float, int)):
|
|
315
315
|
gain = self.cmds["!DET.gain"]
|
|
316
|
+
logger.info(f"Applying gain {gain}")
|
|
316
317
|
else:
|
|
317
318
|
raise ValueError("<ADConversion>.meta['gain'] must be either "
|
|
318
319
|
f"dict or float, but is {self.cmds['!DET.gain']}")
|
|
@@ -341,7 +342,7 @@ class ADConversion(Effect):
|
|
|
341
342
|
# This used to create a new ImageHDU with the same header but the data
|
|
342
343
|
# set to the modified data. It should be fine to simply re-assign the
|
|
343
344
|
# data attribute, but just in case it's not...
|
|
344
|
-
logger.
|
|
345
|
+
logger.debug("Applying digitization to dtype %s.", new_dtype)
|
|
345
346
|
obj._hdu.data = obj._hdu.data.astype(new_dtype)
|
|
346
347
|
|
|
347
348
|
return obj
|
|
@@ -26,6 +26,9 @@ class AutoExposure(Effect):
|
|
|
26
26
|
|
|
27
27
|
The effects sets the parameters `!OBS.dit` and `!OBS.ndit`.
|
|
28
28
|
|
|
29
|
+
The effect is the first detector effect, hence essentially operates on the
|
|
30
|
+
`ImagePlane`, mapped to the detector array.
|
|
31
|
+
|
|
29
32
|
Examples
|
|
30
33
|
--------
|
|
31
34
|
The parameters `!OBS.exptime`, `!DET.full_well` and `!DET.mindit` should
|
|
@@ -45,10 +48,6 @@ class AutoExposure(Effect):
|
|
|
45
48
|
z_order: ClassVar[tuple[int, ...]] = (902,)
|
|
46
49
|
|
|
47
50
|
def __init__(self, **kwargs):
|
|
48
|
-
"""
|
|
49
|
-
The effect is the first detector effect, hence essentially operates
|
|
50
|
-
on the `ImagePlane`, mapped to the detector array.
|
|
51
|
-
"""
|
|
52
51
|
super().__init__(**kwargs)
|
|
53
52
|
self.meta.update(kwargs)
|
|
54
53
|
if self.cmds is None:
|
|
@@ -223,7 +222,7 @@ class ExposureOutput(Effect):
|
|
|
223
222
|
return obj
|
|
224
223
|
|
|
225
224
|
def set_mode(self, new_mode):
|
|
226
|
-
"""Set new mode for ExposureOutput (average or sum)"""
|
|
225
|
+
"""Set new mode for ExposureOutput (average or sum)."""
|
|
227
226
|
if new_mode in self.modes:
|
|
228
227
|
self.current_mode = new_mode
|
|
229
228
|
self.meta["current_mode"] = self.current_mode
|
|
@@ -234,7 +233,6 @@ class ExposureOutput(Effect):
|
|
|
234
233
|
class ExposureIntegration(Effect):
|
|
235
234
|
"""Integrate the expected flux over ``exptime``.
|
|
236
235
|
|
|
237
|
-
|
|
238
236
|
This effect multiplies the expected photon flux from the
|
|
239
237
|
``ImagePlane`` by the total exposure time, computed as
|
|
240
238
|
the product of ``dit`` and ``ndit``.
|
|
@@ -83,11 +83,13 @@ class PoorMansHxRGReadoutNoise(Effect):
|
|
|
83
83
|
return det
|
|
84
84
|
|
|
85
85
|
def plot(self, det, **kwargs):
|
|
86
|
+
"""Plot effect image."""
|
|
86
87
|
dtcr = self.apply_to(det)
|
|
87
88
|
fig, ax = figure_factory()
|
|
88
89
|
ax.imshow(dtcr.data, origin="lower")
|
|
89
90
|
|
|
90
91
|
def plot_hist(self, det, **kwargs):
|
|
92
|
+
"""Plot effect histogram."""
|
|
91
93
|
dtcr = self.apply_to(det)
|
|
92
94
|
fig, ax = figure_factory()
|
|
93
95
|
ax.hist(dtcr.data.flatten())
|
|
@@ -124,16 +126,107 @@ class BasicReadoutNoise(Effect):
|
|
|
124
126
|
return det
|
|
125
127
|
|
|
126
128
|
def plot(self, det):
|
|
129
|
+
"""Plot effect image."""
|
|
127
130
|
dtcr = self.apply_to(det)
|
|
128
131
|
fig, ax = figure_factory()
|
|
129
132
|
ax.imshow(dtcr.data)
|
|
130
133
|
|
|
131
134
|
def plot_hist(self, det, **kwargs):
|
|
135
|
+
"""Plot effect histogram."""
|
|
132
136
|
dtcr = self.apply_to(det)
|
|
133
137
|
fig, ax = figure_factory()
|
|
134
138
|
ax.hist(dtcr.data.flatten())
|
|
135
139
|
|
|
136
140
|
|
|
141
|
+
# TODO: Is this really a "noise" effect? Sounds more like "electrons" tbh.
|
|
142
|
+
class PixelResponseNonUniformity(Effect):
|
|
143
|
+
"""Pixel Response Non-Uniformity (PRNU).
|
|
144
|
+
|
|
145
|
+
Models the fixed pattern of per-pixel gain variations across the detector
|
|
146
|
+
arising from manufacturing differences in quantum efficiency. Each pixel is
|
|
147
|
+
multiplied by a gain factor drawn from N(1, ``prnu_std``) keyed by detector
|
|
148
|
+
ID. The gain map is generated once per detector on first use and reused
|
|
149
|
+
identically across all subsequent exposures.
|
|
150
|
+
|
|
151
|
+
.. versionadded:: 0.11.3
|
|
152
|
+
|
|
153
|
+
Parameters
|
|
154
|
+
----------
|
|
155
|
+
prnu_std : float or dict
|
|
156
|
+
Standard deviation of the per-pixel gain distribution.
|
|
157
|
+
|
|
158
|
+
prnu_seed : int, fixed
|
|
159
|
+
|
|
160
|
+
include: "!DET.include_prnu"
|
|
161
|
+
|
|
162
|
+
Example
|
|
163
|
+
-------
|
|
164
|
+
::
|
|
165
|
+
|
|
166
|
+
- name: prnu
|
|
167
|
+
description: Pixel response non-uniformity
|
|
168
|
+
class: PixelResponseNonUniformity
|
|
169
|
+
kwargs:
|
|
170
|
+
prnu_std: 0.001
|
|
171
|
+
prnu_seed: 42
|
|
172
|
+
include: "!DET.include_prnu"
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
|
|
176
|
+
required_keys: ClassVar[set] = set()
|
|
177
|
+
z_order: ClassVar[tuple[int, ...]] = (805,)
|
|
178
|
+
|
|
179
|
+
def __init__(self, **kwargs):
|
|
180
|
+
super().__init__(**kwargs)
|
|
181
|
+
self.meta.update(kwargs)
|
|
182
|
+
self._gain_maps = {} # keyed by dtcr_id
|
|
183
|
+
|
|
184
|
+
def apply_to(self, obj, **kwargs):
|
|
185
|
+
if not isinstance(obj, Detector):
|
|
186
|
+
return obj
|
|
187
|
+
|
|
188
|
+
random_seed = from_currsys(self.meta.get("prnu_seed"), self.cmds)
|
|
189
|
+
id_key = real_colname("id", obj.meta)
|
|
190
|
+
dtcr_id = obj.meta[id_key] if id_key is not None else None
|
|
191
|
+
|
|
192
|
+
prnu_std_meta = from_currsys(self.meta["prnu_std"], self.cmds)
|
|
193
|
+
if isinstance(prnu_std_meta, dict):
|
|
194
|
+
prnu_std = float(from_currsys(prnu_std_meta[dtcr_id], self.cmds))
|
|
195
|
+
elif isinstance(prnu_std_meta, (int, float)):
|
|
196
|
+
prnu_std = float(prnu_std_meta)
|
|
197
|
+
else:
|
|
198
|
+
raise TypeError(
|
|
199
|
+
"<PixelResponseNonUniformity>.meta['prnu_std'] must be a float "
|
|
200
|
+
f"or a dict keyed by detector ID, got {type(prnu_std_meta)}"
|
|
201
|
+
)
|
|
202
|
+
|
|
203
|
+
shape = obj._hdu.data.shape
|
|
204
|
+
if dtcr_id not in self._gain_maps:
|
|
205
|
+
rng = np.random.default_rng(random_seed)
|
|
206
|
+
self._gain_maps[dtcr_id] = rng.normal(
|
|
207
|
+
loc=1.0, scale=prnu_std, size=shape,
|
|
208
|
+
)
|
|
209
|
+
|
|
210
|
+
if self._gain_maps[dtcr_id].shape != shape:
|
|
211
|
+
raise ValueError("gain map shape mismatch")
|
|
212
|
+
|
|
213
|
+
obj._hdu.data = obj._hdu.data * self._gain_maps[dtcr_id]
|
|
214
|
+
return obj
|
|
215
|
+
|
|
216
|
+
def plot(self, det_id=None):
|
|
217
|
+
"""Plot effect."""
|
|
218
|
+
if not self._gain_maps:
|
|
219
|
+
raise RuntimeError("No gain map yet - run a simulation first.")
|
|
220
|
+
key = det_id if det_id in self._gain_maps else next(iter(self._gain_maps))
|
|
221
|
+
gain_map = self._gain_maps[key]
|
|
222
|
+
dev = np.max(np.abs(gain_map - 1.0))
|
|
223
|
+
fig, ax = figure_factory()
|
|
224
|
+
im = ax.imshow(gain_map, origin="lower", aspect="auto",
|
|
225
|
+
vmin=1 - dev, vmax=1 + dev)
|
|
226
|
+
fig.colorbar(im, ax=ax, label="per-pixel gain")
|
|
227
|
+
return fig
|
|
228
|
+
|
|
229
|
+
|
|
137
230
|
class ShotNoise(Effect):
|
|
138
231
|
z_order: ClassVar[tuple[int, ...]] = (820,)
|
|
139
232
|
|
|
@@ -196,11 +289,13 @@ class ShotNoise(Effect):
|
|
|
196
289
|
return det
|
|
197
290
|
|
|
198
291
|
def plot(self, det):
|
|
292
|
+
"""Plot effect image."""
|
|
199
293
|
dtcr = self.apply_to(det)
|
|
200
294
|
fig, ax = figure_factory()
|
|
201
295
|
ax.imshow(dtcr.data)
|
|
202
296
|
|
|
203
297
|
def plot_hist(self, det, **kwargs):
|
|
298
|
+
"""Plot effect histogram."""
|
|
204
299
|
dtcr = self.apply_to(det)
|
|
205
300
|
fig, ax = figure_factory()
|
|
206
301
|
ax.hist(dtcr.data.flatten())
|
|
@@ -240,6 +335,7 @@ class DarkCurrent(Effect):
|
|
|
240
335
|
return obj
|
|
241
336
|
|
|
242
337
|
def plot(self, det, **kwargs):
|
|
338
|
+
"""Plot effect."""
|
|
243
339
|
dit = from_currsys(self.meta["dit"], self.cmds)
|
|
244
340
|
ndit = from_currsys(self.meta["ndit"], self.cmds)
|
|
245
341
|
total_time = dit * ndit
|
|
@@ -0,0 +1,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
|
|