ScopeSim 0.11.0__tar.gz → 0.11.1__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.1}/PKG-INFO +1 -1
- {scopesim-0.11.0 → scopesim-0.11.1}/pyproject.toml +2 -13
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/defaults.yaml +10 -2
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/effects.py +22 -16
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/electronic/__init__.py +2 -1
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/electronic/electrons.py +152 -17
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/metis_lms_trace_list.py +61 -24
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/metis_wcu/fpmask.py +1 -1
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/metis_wcu/metis_wcu.py +21 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/ter_curves.py +117 -6
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/optics/fov.py +63 -35
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/optics/optical_element.py +5 -2
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/optics/optical_train.py +1 -1
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/optics/optics_manager.py +1 -1
- scopesim-0.11.1/scopesim/server/__init__.py +41 -0
- scopesim-0.11.1/scopesim/server/atmo_registry.txt +1 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/server/database.py +10 -10
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/server/download_utils.py +72 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/server/example_data_utils.py +4 -27
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/source/source.py +6 -2
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/source/source_fields.py +40 -2
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/source/source_templates.py +1 -1
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/source/source_utils.py +3 -2
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/METIS_LMS/TRACE_LMS.fits +0 -0
- scopesim-0.11.1/scopesim/tests/mocks/files/test_AtmoLibraryTERCurve.fits +3 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/check_photometry.py +3 -5
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/test_logging.py +2 -0
- scopesim-0.11.1/scopesim/tests/tests_effects/test_AtmoLibraryTERCurve.py +50 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_GaussianDiffractionPSF.py +1 -0
- scopesim-0.11.1/scopesim/tests/tests_effects/test_InterPixelCapacitance.py +124 -0
- scopesim-0.11.1/scopesim/tests/tests_effects/test_MetisLMSTraceList.py +42 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_MetisWCU.py +10 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/utils.py +28 -2
- scopesim-0.11.0/scopesim/server/__init__.py +0 -11
- {scopesim-0.11.0 → scopesim-0.11.1}/LICENSE +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/README.md +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/commands/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/commands/scopesimple.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/commands/user_commands.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/2MASS/2MASS.H.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/2MASS/2MASS.J.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/2MASS/2MASS.Ks.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F643.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F643_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F648.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F648_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F657.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F657_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F666.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F666_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F680.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F680_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F694.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F694_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F709.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F709_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F723.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F723_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F738.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F738_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F754.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F754_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F770.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F770_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F785.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F785_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F802.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F802_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F819.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F819_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F838.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F838_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F858.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F858_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F878.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F878_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F893.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F893_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F902.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F902_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F911.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F911_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F919.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F919_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F924.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F924_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F927.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F927_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F932.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F932_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F936.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F936_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F940.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.F940_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.sdss_g_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.sdss_i_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.sdss_r_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.sdss_z_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/GTC/OSIRIS.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/Gemini/NIRI.Lprime-G0207w.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/Generic/Bessell.V.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/Generic/Johnson.I.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/Generic/Johnson.J.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/Generic/Johnson_UBVRIJHKL.N.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/HST/WFC3_IR.F160W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F1000W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F1065C.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F1130W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F1140C.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F1280W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F1500W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F1550C.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F1800W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F2100W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F2300C.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F2550W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F560W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.F770W.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/MIRI.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/JWST/NIRCam.F164N.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/Paranal/HAWKI.BrGamma.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/Paranal/HAWKI.H.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/Paranal/HAWKI.J.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/Paranal/HAWKI.Ks.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/Paranal/NACO.Ks.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/SLOAN/SDSS.rprime_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/SLOAN/SDSS.z.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/data/svo/SLOAN/SDSS.zprime_filter.xml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/detector/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/detector/detector.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/detector/detector_manager.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/detector/nghxrg.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/apertures.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/binning_3d.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/data_container.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/detector_list.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/effects_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/electronic/dmps.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/electronic/exposure.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/electronic/noise.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/electronic/pixels.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/fits_headers.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/metis_ifu_simple/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/metis_ifu_simple/ifu_simple.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/metis_wcu/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/mosaic_trace_list.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/obs_strategies.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/psfs/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/psfs/analytical.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/psfs/discrete.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/psfs/psf_base.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/psfs/semianalytical.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/rotation.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/shifts.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/shutter.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/spectral_efficiency.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/spectral_trace_list.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/spectral_trace_list_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/surface_list.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/effects/ter_curves_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/logconfig.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/optics/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/optics/fov_manager.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/optics/fov_volume_list.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/optics/image_plane.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/optics/image_plane_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/optics/surface.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/optics/surface_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/rc.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/reports/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/reports/report_generator.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/reports/rst_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/server/example_data_registry.txt +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/server/github_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/source/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/conftest.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/howtotest.md +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/FPA_array_layout.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_centre_detector_chip.tbl +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_ELT.tbl +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_MICADO_Wide.tbl +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_SCAO_relay.tbl +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_IMG_SCAO_WIDE.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_SCAO_WIDE_2.config +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_SCAO_WIDE_2.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/PSF_basic.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/QE_h4rg.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_blank.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_filter_Br-gamma.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_atmo_average.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_dichroic.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_mirror_gold.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/aperture_list.tbl +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/emission_file.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/mock_MICADO_SCAO_WIDE.config +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/multidetector.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SCAO_WIDE/test_FVPSF.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/FPA_array_layout.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/FPA_small.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/PSF_SCAO.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/PSF_SCAO_ConstPSF_0_5off.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/SLIT_15000x50mas.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/SLIT_3000x50mas.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/TC_filter_Spec_HK.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/TC_filter_Spec_IJ.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/TER_atmo_average.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/TRACE_15arcsec.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/TRACE_3arcsec.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/TRACE_MICADO.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/MICADO_SPEC/mock_MICADO_SPEC.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/ATMO_default_NIR_IMG.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/FITS_extra_keywords.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/INS_common_optics.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/INS_ifu_apertures.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/INS_ifu_traces.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/INS_lss_traces.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/INS_unity_refl.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/INS_unity_trans.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/YAML_atmosphere.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/YAML_basic_instrument.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/YAML_detector.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/YAML_mode_ifu.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/YAML_mode_simple_ifu.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/YAML_mode_spectroscopy.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/YAML_telescope.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/code/make_spectral_trace.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/default.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_BrGamma.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_CH4.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_H.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_J.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_open.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/slits/SLIT_narrow.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/basic_instrument/slits/SLIT_wide.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/CMD_mvs_cmds.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/CMD_non_unity_cmds.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/CMD_unity_cmds.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/LIST_detector_layout.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/LIST_full_detector_layout.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/MASK_slit_A.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/MASK_slit_B.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/TER_ADC_const_10.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/TER_ADC_const_90.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/TER_blank.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/TER_grating.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/TER_non_unity.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/TER_unity.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/fp_mask_pinhole.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/skycalc_override.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_AnisoCADO_rms_map.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_ConstPSF.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_ConstPSF_WAVELENG.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_FVPSF.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_NCPAs_table.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_aperture.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_aperture_list.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_circular_fvpsf.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_image.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_linearity.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_report_addendum.rst +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_spectrum_Flam.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_spectrum_photlam.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_table.fits +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/files/test_table.tbl +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/load_basic_instrument.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/eso_etc_filter_B.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/eso_etc_filter_H.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/eso_etc_filter_I.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/eso_etc_filter_J.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/eso_etc_filter_K.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/eso_etc_filter_L.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/eso_etc_filter_M.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/eso_etc_filter_N.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/eso_etc_filter_R.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/eso_etc_filter_U.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/eso_etc_filter_V.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/photometry/eso_etc_flux_table.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/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.1}/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.1}/scopesim/tests/mocks/photometry/eso_skycalc_surface_brightness.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/aperture_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/detector_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/effects_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/fov_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/header_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/imagehdu_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/integr_spectroscopy_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/optics_manager_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/psf_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/report_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/source_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/trace_list_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/trace_list_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/py_objects/yaml_objects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/test_package/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/test_package/default.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/test_package/test_detector.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/test_package/test_instrument.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/test_package/test_mode_2.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/test_package/test_package.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/test_package/test_telescope.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/test_package/version.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/MICADO_full.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/SimpleCADO.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/SimpleCADO_full_array.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/min_viable_sys.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/non_unity_sys.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/small.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/test_atmo.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/test_cfo.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/test_fpa.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/test_inst.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/test_scope.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/test_system.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/mocks/yamls/unity_sys.yaml +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/test_basic_instrument/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/test_basic_instrument/test_basic_instrument.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/test_import_all.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/test_init.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/test_utils_functions.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_commands/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_commands/test_UserCommands.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_commands/test_scopesimple.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_detector/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_detector/test_detector_manager.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_ADConversion.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_AnisocadoConstPSF.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_ApertureList.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_ApertureMask.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_AtmosphericDispersion.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_AtmosphericDispersionCorrection.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_AutoExposure.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_BasicReadoutNoise.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_ConstPSF.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_DarkCurrent.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_DetectorList.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_DetectorModePropertiesSetter.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_Effects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_Effects_plot_methods.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_FVPSF.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_LinearityCurve.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_MetisIfuSimple.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_MetisLMSEfficiency.py +1 -1
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_NonCommonPathAberation.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_PSF.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_PupilTransmission.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_ReferencePixelBorder.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_Shutter.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_SkycalcTERCurve.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_SpectralEfficiency.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_SpectralTraceList.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_SpectralTraceListUtils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_Surface.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_SurfaceList.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_TERCurve.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_Vibration.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_adcwheel.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_deprecated.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_effect_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_exposure.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_fits_headers.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_mosaic_trace_list.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_obs_strategies.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_shot_noise.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_slitwheel.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_effects/test_ter_curves_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_integrations/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_integrations/test_3_custom_effects.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_integrations/test_MICADO_SCAO_WIDE.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_integrations/test_basic_integration.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_integrations/test_flux_is_conserved_through_full_system.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_integrations/test_simplecado.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_integrations/test_source_fov_imageplane_play_nicely.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_integrations/test_speclecado.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_integrations/test_subpixel_shifts.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_optics/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_optics/test_DataContainer.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_optics/test_FOVManager.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_optics/test_FieldOfView.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_optics/test_FovVolumeList.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_optics/test_ImagePlane.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_optics/test_ImagePlaneUtils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_optics/test_OpticalElement.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_optics/test_OpticalTrain.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_optics/test_OpticsManager.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_optics/test_SpectralSurface.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_optics/test_fov_utls.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_reports/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_reports/test_rst_utils.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_server/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_server/test_database.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_source/__init__.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_source/test_source_Source.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/tests_source/test_source_templates.py +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/tests/virtualenvs_faq.rst +0 -0
- {scopesim-0.11.0 → scopesim-0.11.1}/scopesim/vega.fits +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ScopeSim"
|
|
3
|
-
version = "0.11.
|
|
3
|
+
version = "0.11.1"
|
|
4
4
|
description = "Generalised telescope observation simulator"
|
|
5
5
|
license = {text = "GPL-3.0-or-later"}
|
|
6
6
|
authors = [
|
|
@@ -69,7 +69,7 @@ ipykernel = "^6.30.0"
|
|
|
69
69
|
optional = true
|
|
70
70
|
|
|
71
71
|
[tool.poetry.group.docs.dependencies]
|
|
72
|
-
sphinx = "^
|
|
72
|
+
sphinx = "^8.1.3"
|
|
73
73
|
sphinx-book-theme = "^1.1.4"
|
|
74
74
|
jupyter-sphinx = ">=0.5.3"
|
|
75
75
|
sphinx-copybutton = "^0.5.2"
|
|
@@ -99,7 +99,6 @@ filterwarnings = [
|
|
|
99
99
|
"ignore::ResourceWarning",
|
|
100
100
|
"ignore:The fit may be poorly conditioned:astropy.utils.exceptions.AstropyUserWarning",
|
|
101
101
|
"ignore::astropy.units.core.UnitsWarning",
|
|
102
|
-
"default:`trapz` is deprecated.*:DeprecationWarning",
|
|
103
102
|
# Perhaps fix?
|
|
104
103
|
"ignore:divide by zero encountered in scalar divide:RuntimeWarning",
|
|
105
104
|
"ignore:divide by zero encountered in double_scalars:RuntimeWarning",
|
|
@@ -110,18 +109,8 @@ filterwarnings = [
|
|
|
110
109
|
"default:The fov_grid*:DeprecationWarning",
|
|
111
110
|
# Raised when saving fits files, not so important to fix:
|
|
112
111
|
"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
112
|
# Pytest Notebook stuff
|
|
122
113
|
"ignore:Proactor*:RuntimeWarning",
|
|
123
|
-
# lxml warning introduced by beautifulsoup
|
|
124
|
-
"ignore:The 'strip_cdata' option of HTMLParser*:DeprecationWarning",
|
|
125
114
|
# Suddenly appears from Pillow in a few tests
|
|
126
115
|
"ignore:'mode' parameter is deprecated and will be removed*:DeprecationWarning"
|
|
127
116
|
]
|
|
@@ -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
|
|
@@ -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
|
"""
|
|
@@ -43,31 +43,16 @@ class MetisLMSSpectralTraceList(SpectralTraceList):
|
|
|
43
43
|
def __init__(self, **kwargs):
|
|
44
44
|
super().__init__(**kwargs)
|
|
45
45
|
|
|
46
|
-
# self.params = {"wavelen": "!OBS.wavelen"}
|
|
47
|
-
# self.params.update(kwargs)
|
|
48
|
-
|
|
49
46
|
self.wavelen = self.meta["wavelen"]
|
|
50
47
|
|
|
51
48
|
# field of view of the instrument
|
|
52
49
|
self.slicelist = self._file["Aperture List"].data
|
|
53
50
|
|
|
54
|
-
# self.view = np.array([self.meta["naxis1"] * self.meta["pixscale"],
|
|
55
|
-
# self.meta["nslice"] * self.meta["slicewidth"]])
|
|
56
|
-
|
|
57
51
|
self.view = np.array([self.slicelist["right"].max() -
|
|
58
52
|
self.slicelist["left"].min(),
|
|
59
53
|
self.slicelist["top"].max() -
|
|
60
54
|
self.slicelist["bottom"].min()])
|
|
61
55
|
|
|
62
|
-
# for sli, spt in enumerate(self.spectral_traces.values()):
|
|
63
|
-
# spt.meta["xmin"] = self.slicelist["left"][sli]
|
|
64
|
-
# spt.meta["xmax"] = self.slicelist["right"][sli]
|
|
65
|
-
# spt.meta["ymin"] = self.slicelist["bottom"][sli]
|
|
66
|
-
# spt.meta["ymax"] = self.slicelist["top"][sli]
|
|
67
|
-
|
|
68
|
-
# if self._file is not None:
|
|
69
|
-
# self.make_spectral_traces()
|
|
70
|
-
|
|
71
56
|
def apply_to(self, obj, **kwargs):
|
|
72
57
|
"""See parent docstring."""
|
|
73
58
|
if isinstance(obj, FovVolumeList):
|
|
@@ -161,7 +146,8 @@ class MetisLMSSpectralTraceList(SpectralTraceList):
|
|
|
161
146
|
# determine echelle order and angle from specified wavelength
|
|
162
147
|
tempres = self._angle_from_lambda()
|
|
163
148
|
self.meta["order"] = tempres["Ord"]
|
|
164
|
-
self.meta["
|
|
149
|
+
self.meta["echelle"] = tempres["Echelle"]
|
|
150
|
+
self.meta["predisperser"] = tempres["Predisperser"]
|
|
165
151
|
|
|
166
152
|
spec_traces = {}
|
|
167
153
|
for sli in np.arange(self.meta["nslice"]):
|
|
@@ -262,7 +248,21 @@ class MetisLMSSpectralTraceList(SpectralTraceList):
|
|
|
262
248
|
lam = from_currsys(self.meta["wavelen"], self.cmds)
|
|
263
249
|
grat_spacing = self.meta["grat_spacing"]
|
|
264
250
|
wcal = self._file["WCAL"].data
|
|
265
|
-
|
|
251
|
+
angles = echelle_setting(lam, grat_spacing, wcal)
|
|
252
|
+
predispcoeff = self._file["Predisperser"].data["coefficients"]
|
|
253
|
+
angles["Predisperser"] = predisperser_angle(lam, predispcoeff)
|
|
254
|
+
return angles
|
|
255
|
+
|
|
256
|
+
def __str__(self):
|
|
257
|
+
msg = (
|
|
258
|
+
f"{self.__class__.__name__} \"{self.display_name}\" : "
|
|
259
|
+
f"{len(self.spectral_traces)} traces"
|
|
260
|
+
f" - Central wavelength: {from_currsys(self.meta['wavelen'], self.cmds)} um"
|
|
261
|
+
f" - Order: {self.meta['order']}"
|
|
262
|
+
f" - Predisperser angle: {self.meta['predisperser']:.3f} deg"
|
|
263
|
+
f" - Echelle angle: {self.meta['echelle']:.3f} deg"
|
|
264
|
+
)
|
|
265
|
+
return msg
|
|
266
266
|
|
|
267
267
|
|
|
268
268
|
class MetisLMSSpectralTrace(SpectralTrace):
|
|
@@ -390,7 +390,7 @@ class MetisLMSSpectralTrace(SpectralTrace):
|
|
|
390
390
|
"""
|
|
391
391
|
spslice = self.meta["slice"]
|
|
392
392
|
order = self.meta["order"]
|
|
393
|
-
angle = self.meta["
|
|
393
|
+
angle = self.meta["echelle"]
|
|
394
394
|
matnames = ["A", "B", "AI", "BI"]
|
|
395
395
|
matrices = {}
|
|
396
396
|
|
|
@@ -464,19 +464,56 @@ class MetisLMSSpectralTrace(SpectralTrace):
|
|
|
464
464
|
return msg
|
|
465
465
|
|
|
466
466
|
def __str__(self):
|
|
467
|
-
msg = (
|
|
468
|
-
|
|
469
|
-
|
|
467
|
+
msg = (
|
|
468
|
+
f"<{self.__class__.__name__}> \"{self.meta['description']}\" : "
|
|
469
|
+
f"{from_currsys(self.meta['wavelen'], self.cmds)} um : "
|
|
470
|
+
f"Order {self.meta['order']} : "
|
|
471
|
+
f"Predisperser {self.meta['predisperser']:.3f}, "
|
|
472
|
+
f"Echelle {self.meta['echelle']:.3f}"
|
|
473
|
+
)
|
|
470
474
|
return msg
|
|
471
475
|
|
|
472
476
|
|
|
477
|
+
def predisperser_angle(wavelength, predisp_coeff):
|
|
478
|
+
"""
|
|
479
|
+
Compute the predisperser angle needed for central `wavelength`.
|
|
480
|
+
|
|
481
|
+
.. versionadded:: 0.11.1
|
|
482
|
+
|
|
483
|
+
Parameters
|
|
484
|
+
----------
|
|
485
|
+
wavelength : float
|
|
486
|
+
Central wavelength in microns.
|
|
487
|
+
predisp_coeff : array-like
|
|
488
|
+
Array of coefficients to compute the predisperser angle. Element `i`
|
|
489
|
+
multiplies the monomial `wavelength^i`, hence the length of
|
|
490
|
+
the array determines the order of the polynomial.
|
|
491
|
+
|
|
492
|
+
Returns
|
|
493
|
+
-------
|
|
494
|
+
angle : float
|
|
495
|
+
Predisperser angle.
|
|
496
|
+
|
|
497
|
+
Notes
|
|
498
|
+
-----
|
|
499
|
+
The function implements a polynomial as in Fig.3-15 of E-REP-ATC-MET-1003_3-0.
|
|
500
|
+
|
|
501
|
+
"""
|
|
502
|
+
angle = 0.
|
|
503
|
+
lam = 1.
|
|
504
|
+
for coeff in predisp_coeff:
|
|
505
|
+
angle += coeff * lam
|
|
506
|
+
lam *= wavelength
|
|
507
|
+
return angle
|
|
508
|
+
|
|
509
|
+
|
|
473
510
|
def echelle_setting(wavelength, grat_spacing, wcal_def):
|
|
474
511
|
"""
|
|
475
512
|
Determine optimal echelle rotation angle for wavelength.
|
|
476
513
|
|
|
477
514
|
Parameters
|
|
478
515
|
----------
|
|
479
|
-
|
|
516
|
+
wavelength : float
|
|
480
517
|
central wavelength in microns
|
|
481
518
|
grat_spacing : float
|
|
482
519
|
grating rule spacing in microns
|
|
@@ -489,7 +526,7 @@ def echelle_setting(wavelength, grat_spacing, wcal_def):
|
|
|
489
526
|
-------
|
|
490
527
|
a `dict` with entries
|
|
491
528
|
- `Ord`: echelle order
|
|
492
|
-
- `
|
|
529
|
+
- `Echelle`: echelle angle
|
|
493
530
|
- `Phase`: phase
|
|
494
531
|
"""
|
|
495
532
|
if isinstance(wcal_def, fits.FITS_rec):
|
|
@@ -518,7 +555,7 @@ def echelle_setting(wavelength, grat_spacing, wcal_def):
|
|
|
518
555
|
# Compute the phase corresponding to the wavelength
|
|
519
556
|
phase = wavelength * order / (2 * grat_spacing)
|
|
520
557
|
|
|
521
|
-
return {"Ord": order, "
|
|
558
|
+
return {"Ord": order, "Echelle": angle, "Phase": phase}
|
|
522
559
|
|
|
523
560
|
|
|
524
561
|
class MetisLMSImageSlicer(ApertureMask):
|
|
@@ -28,6 +28,7 @@ from ...optics.surface import SpectralSurface
|
|
|
28
28
|
logger = get_logger(__name__)
|
|
29
29
|
|
|
30
30
|
|
|
31
|
+
|
|
31
32
|
class WCUSource(TERCurve):
|
|
32
33
|
"""
|
|
33
34
|
Warm Calibration Unit Source.
|
|
@@ -95,6 +96,8 @@ class WCUSource(TERCurve):
|
|
|
95
96
|
self.meta.update(config)
|
|
96
97
|
|
|
97
98
|
self.meta.update(kwargs)
|
|
99
|
+
# We need to keep temperatures in Celsius for FITS headers
|
|
100
|
+
self._kelvin2celsius()
|
|
98
101
|
|
|
99
102
|
# Check on the presence of one vital parameter
|
|
100
103
|
if "rho_tube" not in self.meta:
|
|
@@ -263,9 +266,26 @@ class WCUSource(TERCurve):
|
|
|
263
266
|
else:
|
|
264
267
|
raise ValueError("is_temp below absolute zero, not changed")
|
|
265
268
|
|
|
269
|
+
self._kelvin2celsius()
|
|
270
|
+
|
|
266
271
|
self.compute_lamp_emission()
|
|
267
272
|
self.compute_fp_emission()
|
|
268
273
|
|
|
274
|
+
def _kelvin2celsius(self):
|
|
275
|
+
"""Convert Kelvin to Celsius
|
|
276
|
+
|
|
277
|
+
Temperatures in Celsius are needed for FITS headers only. astropy.units
|
|
278
|
+
produces ugly floating point numbers."""
|
|
279
|
+
temp0 = 273.15
|
|
280
|
+
for param in ["bb_temp", "is_temp", "wcu_temp"]:
|
|
281
|
+
if param in self.meta:
|
|
282
|
+
if isinstance(self.meta[param], u.Quantity):
|
|
283
|
+
self.meta[param+"_c"] = np.round(self.meta[param].value - temp0, 7)
|
|
284
|
+
else:
|
|
285
|
+
self.meta[param+"_c"] = np.round(self.meta[param] - temp0, 7)
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
269
289
|
def set_bb_aperture(self, value: float) -> None:
|
|
270
290
|
"""
|
|
271
291
|
Change the flux-controlling aperture for the black-body source.
|
|
@@ -279,6 +299,7 @@ class WCUSource(TERCurve):
|
|
|
279
299
|
logger.warning("bb_aperture value out of range [0, 1], clipping to %f",
|
|
280
300
|
value)
|
|
281
301
|
self.bb_aperture = value
|
|
302
|
+
self.meta['bb_aperture'] = value
|
|
282
303
|
self.compute_lamp_emission()
|
|
283
304
|
|
|
284
305
|
def set_fpmask(
|