ScopeSim 0.11.3__tar.gz → 0.12.0__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.3 → scopesim-0.12.0}/PKG-INFO +17 -21
- {scopesim-0.11.3 → scopesim-0.12.0}/pyproject.toml +33 -32
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/__init__.py +3 -2
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/commands/user_commands.py +6 -1
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/defaults.yaml +4 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/detector/detector.py +35 -3
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/detector/detector_manager.py +9 -7
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/__init__.py +1 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/apertures.py +7 -19
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/data_container.py +9 -5
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/detector_list.py +4 -27
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/effects.py +13 -11
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/effects_utils.py +2 -11
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/electronic/__init__.py +29 -1
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/electronic/dmps.py +9 -6
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/electronic/electrons.py +54 -59
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/electronic/exposure.py +20 -9
- scopesim-0.12.0/scopesim/effects/electronic/noise.py +434 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/electronic/pixels.py +61 -60
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/fits_headers.py +4 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/illumination.py +5 -4
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/metis_lms_trace_list.py +147 -94
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/metis_wcu/metis_wcu.py +67 -11
- scopesim-0.12.0/scopesim/effects/micado_ifu_trace_list.py +222 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/mosaic_trace_list.py +86 -24
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/psfs/discrete.py +51 -35
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/psfs/psf_base.py +99 -61
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/rotation.py +1 -1
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/shifts.py +2 -27
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/spectral_efficiency.py +8 -5
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/spectral_trace_list.py +157 -80
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/spectral_trace_list_utils.py +171 -66
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/surface_list.py +0 -26
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/ter_curves.py +88 -91
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/ter_curves_utils.py +2 -225
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/optics/fov.py +81 -62
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/optics/fov_manager.py +30 -8
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/optics/image_plane.py +27 -51
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/optics/image_plane_utils.py +197 -376
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/optics/optical_train.py +107 -114
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/optics/surface.py +107 -14
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/reports/rst_utils.py +1 -1
- scopesim-0.12.0/scopesim/server/atmo_registry.txt +2 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/server/database.py +30 -61
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/server/download_utils.py +1 -1
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/server/example_data_utils.py +0 -7
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/server/psfs_registry.txt +2 -2
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/source/source.py +1 -140
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/source/source_fields.py +18 -10
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/source/source_templates.py +2 -3
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/source/source_utils.py +1 -89
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/conftest.py +3 -0
- scopesim-0.12.0/scopesim/tests/mocks/MOSAIC/TRACE_MOS-LR-J.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_ADConversion.py +9 -9
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_AtmoLibraryTERCurve.py +11 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_AtmosphericDispersion.py +11 -13
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_AtmosphericDispersionCorrection.py +5 -3
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_AutoExposure.py +50 -3
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_BasicReadoutNoise.py +21 -6
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_ConstPSF.py +63 -44
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_InterPixelCapacitance.py +2 -2
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_LinearityCurve.py +3 -3
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_MetisLMSTraceList.py +24 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_MetisWCU.py +21 -1
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_SpectralTraceList.py +1 -5
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_SpectralTraceListUtils.py +59 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_Surface.py +26 -1
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_SurfaceList.py +2 -1
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_TERCurve.py +41 -3
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_effect_utils.py +4 -19
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_exposure.py +7 -7
- scopesim-0.12.0/scopesim/tests/tests_effects/test_mosaic_trace_list.py +203 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_prnu.py +8 -8
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_shot_noise.py +9 -9
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_slitwheel.py +0 -3
- scopesim-0.12.0/scopesim/tests/tests_effects/test_ter_curves_utils.py +42 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_integrations/test_flux_is_conserved_through_full_system.py +12 -9
- scopesim-0.12.0/scopesim/tests/tests_integrations/test_source_fov_imageplane_play_nicely.py +272 -0
- scopesim-0.12.0/scopesim/tests/tests_optics/test_FOVManager.py +115 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_optics/test_FieldOfView.py +8 -23
- scopesim-0.12.0/scopesim/tests/tests_optics/test_ImagePlane.py +529 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_optics/test_ImagePlaneUtils.py +90 -21
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_optics/test_fov_utls.py +71 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_reports/test_rst_utils.py +1 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_server/test_database.py +1 -53
- scopesim-0.12.0/scopesim/tests/tests_source/source_helpers.py +95 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_source/test_source_Source.py +4 -166
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/utils.py +10 -4
- scopesim-0.11.3/scopesim/effects/electronic/noise.py +0 -385
- scopesim-0.11.3/scopesim/server/atmo_registry.txt +0 -1
- scopesim-0.11.3/scopesim/server/github_utils.py +0 -95
- scopesim-0.11.3/scopesim/tests/tests_effects/test_mosaic_trace_list.py +0 -64
- scopesim-0.11.3/scopesim/tests/tests_effects/test_ter_curves_utils.py +0 -89
- scopesim-0.11.3/scopesim/tests/tests_integrations/test_source_fov_imageplane_play_nicely.py +0 -66
- scopesim-0.11.3/scopesim/tests/tests_optics/test_FOVManager.py +0 -58
- scopesim-0.11.3/scopesim/tests/tests_optics/test_ImagePlane.py +0 -998
- {scopesim-0.11.3 → scopesim-0.12.0}/LICENSE +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/README.md +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/commands/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/commands/scopesimple.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/2MASS/2MASS.H.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/2MASS/2MASS.J.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/2MASS/2MASS.Ks.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F643.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F643_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F648.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F648_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F657.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F657_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F666.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F666_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F680.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F680_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F694.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F694_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F709.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F709_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F723.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F723_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F738.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F738_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F754.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F754_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F770.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F770_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F785.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F785_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F802.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F802_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F819.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F819_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F838.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F838_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F858.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F858_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F878.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F878_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F893.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F893_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F902.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F902_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F911.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F911_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F919.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F919_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F924.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F924_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F927.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F927_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F932.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F932_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F936.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F936_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F940.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.F940_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.sdss_g_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.sdss_i_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.sdss_r_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.sdss_z_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/GTC/OSIRIS.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/Gemini/NIRI.Lprime-G0207w.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/Generic/Bessell.V.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/Generic/Johnson.I.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/Generic/Johnson.J.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/Generic/Johnson_UBVRIJHKL.N.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/HST/WFC3_IR.F160W.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F1000W.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F1065C.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F1130W.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F1140C.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F1280W.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F1500W.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F1550C.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F1800W.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F2100W.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F2300C.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F2550W.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F560W.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.F770W.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/MIRI.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/JWST/NIRCam.F164N.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/Paranal/HAWKI.BrGamma.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/Paranal/HAWKI.H.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/Paranal/HAWKI.J.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/Paranal/HAWKI.Ks.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/Paranal/NACO.Ks.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/SLOAN/SDSS.rprime_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/SLOAN/SDSS.z.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/data/svo/SLOAN/SDSS.zprime_filter.xml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/detector/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/detector/nghxrg.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/binning_3d.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/metis_ifu_simple/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/metis_ifu_simple/ifu_simple.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/metis_wcu/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/metis_wcu/fpmask.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/obs_strategies.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/psfs/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/psfs/analytical.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/psfs/semianalytical.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/effects/shutter.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/logconfig.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/optics/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/optics/fov_volume_list.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/optics/optical_element.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/optics/optics_manager.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/optics/surface_utils.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/rc.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/reports/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/reports/report_generator.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/server/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/server/example_data_registry.txt +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/source/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/howtotest.md +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/METIS_LMS/TRACE_LMS.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/FPA_array_layout.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_centre_detector_chip.tbl +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_ELT.tbl +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_MICADO_Wide.tbl +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/LIST_mirrors_SCAO_relay.tbl +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_IMG_SCAO_WIDE.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_SCAO_WIDE_2.config +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/MICADO_SCAO_WIDE_2.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/PSF_basic.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/QE_h4rg.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_blank.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_filter_Br-gamma.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_atmo_average.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_dichroic.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/TER_mirror_gold.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/aperture_list.tbl +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/emission_file.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/mock_MICADO_SCAO_WIDE.config +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/multidetector.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SCAO_WIDE/test_FVPSF.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/FPA_array_layout.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/FPA_small.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/PSF_SCAO.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/PSF_SCAO_ConstPSF_0_5off.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/SLIT_15000x50mas.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/SLIT_3000x50mas.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/TC_filter_Spec_HK.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/TC_filter_Spec_IJ.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/TER_atmo_average.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/TRACE_15arcsec.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/TRACE_3arcsec.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/TRACE_MICADO.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/MICADO_SPEC/mock_MICADO_SPEC.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/ATMO_default_NIR_IMG.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/FITS_extra_keywords.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/INS_common_optics.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/INS_ifu_apertures.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/INS_ifu_traces.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/INS_lss_traces.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/INS_unity_refl.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/INS_unity_trans.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/YAML_atmosphere.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/YAML_basic_instrument.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/YAML_detector.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/YAML_mode_ifu.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/YAML_mode_simple_ifu.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/YAML_mode_spectroscopy.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/YAML_telescope.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/code/make_spectral_trace.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/default.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_BrGamma.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_CH4.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_H.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_J.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/filters/TC_filter_open.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/slits/SLIT_narrow.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/basic_instrument/slits/SLIT_wide.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/CMD_mvs_cmds.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/CMD_non_unity_cmds.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/CMD_unity_cmds.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/LIST_detector_layout.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/LIST_full_detector_layout.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/MASK_slit_A.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/MASK_slit_B.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/TER_ADC_const_10.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/TER_ADC_const_90.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/TER_blank.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/TER_grating.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/TER_non_unity.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/TER_unity.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/fp_mask_pinhole.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/fp_mask_pinhole_int.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/skycalc_override.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_AnisoCADO_rms_map.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_AtmoLibraryTERCurve.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_ConstPSF.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_ConstPSF_WAVELENG.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_FVPSF.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_NCPAs_table.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_aperture.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_aperture_list.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_circular_fvpsf.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_image.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_linearity.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_report_addendum.rst +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_spectrum_Flam.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_spectrum_photlam.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_table.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/files/test_table.tbl +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/load_basic_instrument.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/check_photometry.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_etc_filter_B.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_etc_filter_H.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_etc_filter_I.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_etc_filter_J.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_etc_filter_K.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_etc_filter_L.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_etc_filter_M.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_etc_filter_N.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_etc_filter_R.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_etc_filter_U.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_etc_filter_V.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_etc_flux_table.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_skycalc_r_6000_wave_0.3_15nm_airmass_1_pwv_2.5.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_skycalc_r_6000_wave_0.3_15nm_airmass_1_pwv_2.5.fits +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/photometry/eso_skycalc_surface_brightness.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/aperture_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/detector_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/effects_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/fov_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/header_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/imagehdu_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/integr_spectroscopy_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/optics_manager_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/psf_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/report_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/source_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/trace_list_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/trace_list_utils.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/py_objects/yaml_objects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/test_package/TC_filter_Ks.dat +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/test_package/default.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/test_package/test_detector.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/test_package/test_instrument.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/test_package/test_mode_2.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/test_package/test_package.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/test_package/test_telescope.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/test_package/version.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/MICADO_full.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/SimpleCADO.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/SimpleCADO_full_array.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/min_viable_sys.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/non_unity_sys.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/small.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/test_atmo.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/test_cfo.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/test_fpa.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/test_inst.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/test_scope.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/test_system.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/mocks/yamls/unity_sys.yaml +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/test_basic_instrument/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/test_basic_instrument/test_basic_instrument.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/test_import_all.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/test_init.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/test_logging.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/test_utils_functions.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_commands/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_commands/test_UserCommands.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_commands/test_scopesimple.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_detector/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_detector/test_detector_manager.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_AnisocadoConstPSF.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_ApertureList.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_ApertureMask.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_DarkCurrent.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_DetectorList.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_DetectorModePropertiesSetter.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_Effects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_Effects_plot_methods.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_FVPSF.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_GaussianDiffractionPSF.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_MetisIfuSimple.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_MetisLMSEfficiency.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_NonCommonPathAberation.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_PSF.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_PupilTransmission.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_ReferencePixelBorder.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_Shutter.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_SkycalcTERCurve.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_SpectralEfficiency.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_Vibration.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_adcwheel.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_deprecated.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_fits_headers.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_illumination.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_effects/test_obs_strategies.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_integrations/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_integrations/test_3_custom_effects.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_integrations/test_MICADO_SCAO_WIDE.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_integrations/test_basic_integration.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_integrations/test_simplecado.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_integrations/test_speclecado.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_integrations/test_subpixel_shifts.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_optics/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_optics/test_DataContainer.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_optics/test_FovVolumeList.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_optics/test_OpticalElement.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_optics/test_OpticalTrain.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_optics/test_OpticsManager.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_optics/test_SpectralSurface.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_reports/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_server/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_source/__init__.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/tests_source/test_source_templates.py +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/tests/virtualenvs_faq.rst +0 -0
- {scopesim-0.11.3 → scopesim-0.12.0}/scopesim/vega.fits +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ScopeSim
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.12.0
|
|
4
4
|
Summary: Generalised telescope observation simulator
|
|
5
5
|
License: GPL-3.0-or-later
|
|
6
6
|
License-File: LICENSE
|
|
@@ -9,36 +9,32 @@ Author: Kieran Leschinski
|
|
|
9
9
|
Author-email: kieran.leschinski@univie.ac.at
|
|
10
10
|
Maintainer: Kieran Leschinski
|
|
11
11
|
Maintainer-email: kieran.leschinski@univie.ac.at
|
|
12
|
-
Requires-Python: >=3.
|
|
12
|
+
Requires-Python: >=3.12,<3.15
|
|
13
13
|
Classifier: Intended Audience :: Science/Research
|
|
14
14
|
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
15
15
|
Classifier: Operating System :: OS Independent
|
|
16
16
|
Classifier: Programming Language :: Python :: 3
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
19
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
19
|
Classifier: Programming Language :: Python :: 3.14
|
|
22
20
|
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
23
|
-
Requires-Dist: anisocado (>=0.
|
|
24
|
-
Requires-Dist: astar-utils (>=0.
|
|
25
|
-
Requires-Dist: astropy (>=
|
|
26
|
-
Requires-Dist: beautifulsoup4 (>=4.
|
|
27
|
-
Requires-Dist: docutils (>=0.
|
|
28
|
-
Requires-Dist:
|
|
29
|
-
Requires-Dist: lxml (>=6.
|
|
30
|
-
Requires-Dist: matplotlib (>=3.
|
|
21
|
+
Requires-Dist: anisocado (>=0.6.0,<1.0)
|
|
22
|
+
Requires-Dist: astar-utils (>=0.7.0,<1.0)
|
|
23
|
+
Requires-Dist: astropy (>=7.2.2,<9.0.0)
|
|
24
|
+
Requires-Dist: beautifulsoup4 (>=4.15.0,<5.0.0)
|
|
25
|
+
Requires-Dist: docutils (>=0.22,<1.0)
|
|
26
|
+
Requires-Dist: httpxyz (>=0.31.2,<1.0)
|
|
27
|
+
Requires-Dist: lxml (>=6.1.1,<7.0.0)
|
|
28
|
+
Requires-Dist: matplotlib (>=3.11.1,<4.0.0)
|
|
31
29
|
Requires-Dist: more-itertools (>=10.2.0,<11.0.0)
|
|
32
|
-
Requires-Dist: numpy (>=
|
|
33
|
-
Requires-Dist:
|
|
34
|
-
Requires-Dist:
|
|
35
|
-
Requires-Dist: pooch (>=1.8.2,<2.0.0)
|
|
30
|
+
Requires-Dist: numpy (>=2.2.6,<3.0.0)
|
|
31
|
+
Requires-Dist: packaging (>=26.0,<28.0)
|
|
32
|
+
Requires-Dist: pooch (>=1.9.0,<2.0.0)
|
|
36
33
|
Requires-Dist: pyyaml (>=6.0.3,<7.0.0)
|
|
37
|
-
Requires-Dist: scipy (>=1.
|
|
38
|
-
Requires-Dist:
|
|
39
|
-
Requires-Dist:
|
|
40
|
-
Requires-Dist:
|
|
41
|
-
Requires-Dist: tqdm (>=4.66.6,<5.0.0)
|
|
34
|
+
Requires-Dist: scipy (>=1.17.0,<1.18.0)
|
|
35
|
+
Requires-Dist: skycalc-ipy (>=0.8.0,<1.0)
|
|
36
|
+
Requires-Dist: synphot (>=1.7.0,<2.0.0)
|
|
37
|
+
Requires-Dist: tqdm (>=4.70.0,<5.0.0)
|
|
42
38
|
Project-URL: Bug Tracker, https://github.com/AstarVienna/ScopeSim/issues
|
|
43
39
|
Project-URL: Changelog, https://github.com/AstarVienna/ScopeSim/blob/main/CHANGELOG.md
|
|
44
40
|
Project-URL: Documentation, https://scopesim.readthedocs.io/en/latest/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ScopeSim"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.12.0"
|
|
4
4
|
description = "Generalised telescope observation simulator"
|
|
5
5
|
license = {text = "GPL-3.0-or-later"}
|
|
6
6
|
authors = [
|
|
@@ -14,30 +14,28 @@ maintainers = [
|
|
|
14
14
|
readme = "README.md"
|
|
15
15
|
keywords = [ "astronomy" ]
|
|
16
16
|
dynamic = [ "classifiers" ]
|
|
17
|
-
requires-python = ">=3.
|
|
17
|
+
requires-python = ">=3.12,<3.15"
|
|
18
18
|
dependencies = [
|
|
19
|
-
"numpy (>=
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"beautifulsoup4 (>=4.13.3,<5.0.0)",
|
|
31
|
-
"lxml (>=6.0.2,<7.0.0)",
|
|
19
|
+
"numpy (>=2.2.6,<3.0.0)",
|
|
20
|
+
"scipy (>=1.17.0,<1.18.0)",
|
|
21
|
+
|
|
22
|
+
"astropy (>=7.2.2,<9.0.0)",
|
|
23
|
+
"matplotlib (>=3.11.1,<4.0.0)",
|
|
24
|
+
"pooch (>=1.9.0,<2.0.0)",
|
|
25
|
+
|
|
26
|
+
"docutils (>=0.22,<1.0)",
|
|
27
|
+
"httpxyz (>=0.31.2,<1.0)",
|
|
28
|
+
"beautifulsoup4 (>=4.15.0,<5.0.0)",
|
|
29
|
+
"lxml (>=6.1.1,<7.0.0)",
|
|
32
30
|
"pyyaml (>=6.0.3,<7.0.0)",
|
|
33
31
|
"more-itertools (>=10.2.0,<11.0.0)",
|
|
34
|
-
"tqdm (>=4.
|
|
35
|
-
"packaging (>=
|
|
32
|
+
"tqdm (>=4.70.0,<5.0.0)",
|
|
33
|
+
"packaging (>=26.0,<28.0)",
|
|
36
34
|
|
|
37
|
-
"synphot (>=1.
|
|
38
|
-
"skycalc-ipy (>=0.
|
|
39
|
-
"anisocado (>=0.
|
|
40
|
-
"astar-utils (>=0.
|
|
35
|
+
"synphot (>=1.7.0,<2.0.0)",
|
|
36
|
+
"skycalc-ipy (>=0.8.0,<1.0)",
|
|
37
|
+
"anisocado (>=0.6.0,<1.0)",
|
|
38
|
+
"astar-utils (>=0.7.0,<1.0)"
|
|
41
39
|
]
|
|
42
40
|
|
|
43
41
|
[project.urls]
|
|
@@ -59,29 +57,29 @@ optional = true
|
|
|
59
57
|
|
|
60
58
|
[tool.poetry.group.dev.dependencies]
|
|
61
59
|
jupyter = "^1.1.1"
|
|
62
|
-
jupytext = "^1.19.
|
|
63
|
-
ipykernel = "^7.
|
|
60
|
+
jupytext = "^1.19.5"
|
|
61
|
+
ipykernel = "^7.3.0"
|
|
64
62
|
ipympl = "^0.10.0"
|
|
65
63
|
|
|
66
64
|
[tool.poetry.group.test.dependencies]
|
|
67
|
-
pytest = "^9.
|
|
68
|
-
pytest-cov = "^7.
|
|
69
|
-
ipykernel = "^7.
|
|
65
|
+
pytest = "^9.1.1"
|
|
66
|
+
pytest-cov = "^7.1.0"
|
|
67
|
+
ipykernel = "^7.3.0"
|
|
70
68
|
|
|
71
69
|
[tool.poetry.group.docs]
|
|
72
70
|
optional = true
|
|
73
71
|
|
|
74
72
|
[tool.poetry.group.docs.dependencies]
|
|
75
|
-
sphinx = "^
|
|
76
|
-
sphinx-book-theme = "^1.
|
|
73
|
+
sphinx = "^9.1.0"
|
|
74
|
+
sphinx-book-theme = "^1.4.0"
|
|
77
75
|
jupyter-sphinx = ">=0.5.3"
|
|
78
76
|
sphinx-copybutton = ">=0.5.2,<1.0"
|
|
79
|
-
myst-nb = "^1.
|
|
77
|
+
myst-nb = "^1.4.0"
|
|
80
78
|
sphinxcontrib-apidoc = ">=0.6.0,<1.0"
|
|
81
|
-
sphinxcontrib-mermaid = "^2.
|
|
79
|
+
sphinxcontrib-mermaid = "^2.1"
|
|
82
80
|
nbsphinx = "^0.9.8"
|
|
83
81
|
numpydoc = "^1.10.0"
|
|
84
|
-
ipykernel = "^7.
|
|
82
|
+
ipykernel = "^7.3.0"
|
|
85
83
|
ipympl = "^0.10.0"
|
|
86
84
|
|
|
87
85
|
|
|
@@ -109,7 +107,10 @@ filterwarnings = [
|
|
|
109
107
|
"ignore:invalid value encountered in divide:RuntimeWarning",
|
|
110
108
|
"ignore:Cannot merge meta key.*:astropy.utils.metadata.MergeConflictWarning",
|
|
111
109
|
"ignore::astropy.wcs.wcs.FITSFixedWarning",
|
|
112
|
-
|
|
110
|
+
# Only SpectralTraceList still calls the deprecated fov_grid internally.
|
|
111
|
+
# Delete this line once that call moves to an internal method; every other
|
|
112
|
+
# fov_grid DeprecationWarning is now an error.
|
|
113
|
+
"default:The fov_grid*:DeprecationWarning:scopesim.effects.spectral_trace_list",
|
|
113
114
|
# Pytest Notebook stuff
|
|
114
115
|
"ignore:Proactor*:RuntimeWarning",
|
|
115
116
|
]
|
|
@@ -21,6 +21,8 @@ import warnings
|
|
|
21
21
|
import yaml
|
|
22
22
|
from astropy.utils.exceptions import AstropyWarning
|
|
23
23
|
|
|
24
|
+
from .utils import ScopesimPendingDeprecationWarning
|
|
25
|
+
|
|
24
26
|
warnings.simplefilter('ignore', UserWarning)
|
|
25
27
|
warnings.simplefilter('ignore', RuntimeWarning) # warnings for the developer
|
|
26
28
|
|
|
@@ -28,7 +30,7 @@ try:
|
|
|
28
30
|
if __version__.is_prerelease or __version__.is_devrelease:
|
|
29
31
|
# Those are usually ignored, but in development we should see them.
|
|
30
32
|
warnings.simplefilter("default", DeprecationWarning)
|
|
31
|
-
warnings.simplefilter("default",
|
|
33
|
+
warnings.simplefilter("default", ScopesimPendingDeprecationWarning)
|
|
32
34
|
except AttributeError: # catch __version__ = "undetermined"
|
|
33
35
|
pass
|
|
34
36
|
|
|
@@ -81,6 +83,5 @@ from .server import (
|
|
|
81
83
|
list_example_data,
|
|
82
84
|
download_example_data,
|
|
83
85
|
)
|
|
84
|
-
from .server.database import download_package # remove in v0.12
|
|
85
86
|
|
|
86
87
|
from .tests.mocks.load_basic_instrument import load_example_optical_train, example_simulation
|
|
@@ -8,7 +8,7 @@ from collections.abc import Iterable, Collection, Mapping, MutableMapping
|
|
|
8
8
|
from typing import Any
|
|
9
9
|
|
|
10
10
|
import yaml
|
|
11
|
-
import httpx
|
|
11
|
+
import httpxyz as httpx
|
|
12
12
|
from packaging.version import parse
|
|
13
13
|
|
|
14
14
|
from astar_utils import NestedMapping, RecursiveNestedMapping, NestedChainMap
|
|
@@ -163,6 +163,11 @@ class UserCommands(NestedChainMap):
|
|
|
163
163
|
# Don't add another layer when .new_child() is called.
|
|
164
164
|
maps = [RecursiveNestedMapping(title="CurrSys"), *maps]
|
|
165
165
|
|
|
166
|
+
# Guard against wrong args to avoid cryptical error downstream.
|
|
167
|
+
if not all(isinstance(m, Mapping) for m in maps):
|
|
168
|
+
raise TypeError(
|
|
169
|
+
"Non-keyword args to UserCommands must be dict-like.")
|
|
170
|
+
|
|
166
171
|
super().__init__(*maps)
|
|
167
172
|
|
|
168
173
|
self.yaml_dicts = []
|
|
@@ -1,12 +1,23 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
1
3
|
import numpy as np
|
|
4
|
+
from numpy.typing import ArrayLike
|
|
2
5
|
|
|
3
6
|
from astropy.io.fits import ImageHDU
|
|
4
7
|
from astropy.wcs import WCS
|
|
5
8
|
|
|
6
9
|
from ..optics import ImagePlane
|
|
7
|
-
from ..optics.image_plane_utils import (
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
from ..optics.image_plane_utils import (
|
|
11
|
+
add_imagehdu_to_imagehdu,
|
|
12
|
+
sky_wcs_from_det_wcs,
|
|
13
|
+
)
|
|
14
|
+
from ..utils import (
|
|
15
|
+
get_logger,
|
|
16
|
+
from_currsys,
|
|
17
|
+
stringify_dict,
|
|
18
|
+
zeros_from_header,
|
|
19
|
+
real_colname,
|
|
20
|
+
)
|
|
10
21
|
|
|
11
22
|
|
|
12
23
|
logger = get_logger(__name__)
|
|
@@ -62,6 +73,18 @@ class Detector:
|
|
|
62
73
|
|
|
63
74
|
return self._hdu
|
|
64
75
|
|
|
76
|
+
@property
|
|
77
|
+
def det_id(self) -> int | None:
|
|
78
|
+
"""Return detector ID.
|
|
79
|
+
|
|
80
|
+
Avoid calling it just "id", because ``id(self)`` is something else.
|
|
81
|
+
|
|
82
|
+
If not found in `self.meta`, return None.
|
|
83
|
+
"""
|
|
84
|
+
if key := real_colname("id", self.meta):
|
|
85
|
+
return self.meta[key]
|
|
86
|
+
return None
|
|
87
|
+
|
|
65
88
|
@property
|
|
66
89
|
def header(self):
|
|
67
90
|
"""Return header from internal HDU."""
|
|
@@ -72,7 +95,16 @@ class Detector:
|
|
|
72
95
|
"""Return data from internal HDU."""
|
|
73
96
|
return self._hdu.data
|
|
74
97
|
|
|
98
|
+
@data.setter
|
|
99
|
+
def data(self, data: ArrayLike):
|
|
100
|
+
self._hdu.data = data
|
|
101
|
+
|
|
75
102
|
@property
|
|
76
103
|
def image(self):
|
|
77
104
|
"""Return data from internal HDU."""
|
|
78
105
|
return self.data
|
|
106
|
+
|
|
107
|
+
def __str__(self) -> str:
|
|
108
|
+
if self.det_id is not None:
|
|
109
|
+
return f"Detector {self.det_id:>2d}"
|
|
110
|
+
return "Detector"
|
|
@@ -40,8 +40,13 @@ class DetectorManager(Sequence):
|
|
|
40
40
|
|
|
41
41
|
self._latest_exposure: HDUList | None = None
|
|
42
42
|
|
|
43
|
-
def readout(
|
|
44
|
-
|
|
43
|
+
def readout(
|
|
44
|
+
self,
|
|
45
|
+
image_planes,
|
|
46
|
+
array_effects: list[Effect] | None = None,
|
|
47
|
+
dtcr_effects: list[Effect] | None = None,
|
|
48
|
+
**kwargs
|
|
49
|
+
) -> HDUList:
|
|
45
50
|
"""
|
|
46
51
|
Read out the detector array into a FITS HDU List.
|
|
47
52
|
|
|
@@ -74,9 +79,6 @@ class DetectorManager(Sequence):
|
|
|
74
79
|
Output FITS HDU List.
|
|
75
80
|
|
|
76
81
|
"""
|
|
77
|
-
# .. note:: Detector is what used to be called Chip
|
|
78
|
-
# DetectorManager is the old Detector
|
|
79
|
-
|
|
80
82
|
self._array_effects = array_effects or []
|
|
81
83
|
self._dtcr_effects = dtcr_effects or []
|
|
82
84
|
self.meta.update(kwargs)
|
|
@@ -100,7 +102,7 @@ class DetectorManager(Sequence):
|
|
|
100
102
|
detector = effect.apply_to(detector)
|
|
101
103
|
|
|
102
104
|
# 6. add necessary header keywords
|
|
103
|
-
#
|
|
105
|
+
# TODO: add keywords
|
|
104
106
|
|
|
105
107
|
# FIXME: Why is this applied twice ???
|
|
106
108
|
for effect in self._array_effects:
|
|
@@ -148,7 +150,7 @@ class DetectorManager(Sequence):
|
|
|
148
150
|
return prihdu
|
|
149
151
|
|
|
150
152
|
def _make_effects_hdu(self):
|
|
151
|
-
#
|
|
153
|
+
# TODO: decide what goes into the effects table of meta data
|
|
152
154
|
# effects = self._array_effects + self._dtcr_effects
|
|
153
155
|
return TableHDU()
|
|
154
156
|
|
|
@@ -8,6 +8,7 @@ from .obs_strategies import *
|
|
|
8
8
|
from .spectral_trace_list import *
|
|
9
9
|
from .spectral_efficiency import *
|
|
10
10
|
from .metis_lms_trace_list import *
|
|
11
|
+
from .micado_ifu_trace_list import *
|
|
11
12
|
from .mosaic_trace_list import *
|
|
12
13
|
from .surface_list import *
|
|
13
14
|
from .ter_curves import *
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
"""Effects related to field masks, including spectroscopic slits."""
|
|
3
3
|
|
|
4
|
-
import warnings
|
|
5
4
|
from typing import ClassVar
|
|
6
5
|
|
|
7
6
|
import yaml
|
|
@@ -118,6 +117,7 @@ class ApertureMask(Effect):
|
|
|
118
117
|
"""See parent docstring."""
|
|
119
118
|
if isinstance(obj, FovVolumeList):
|
|
120
119
|
logger.debug("Executing %s, FoV setup", self.meta['name'])
|
|
120
|
+
|
|
121
121
|
x = quantity_from_table("x", self.table,
|
|
122
122
|
u.arcsec).to_value(u.arcsec)
|
|
123
123
|
y = quantity_from_table("y", self.table,
|
|
@@ -129,20 +129,14 @@ class ApertureMask(Effect):
|
|
|
129
129
|
vol["meta"]["xi_min"] = min(x) * u.arcsec
|
|
130
130
|
vol["meta"]["xi_max"] = max(x) * u.arcsec
|
|
131
131
|
|
|
132
|
+
if "offset_type" in self.meta:
|
|
133
|
+
vol["meta"]["offset_type"] = self.meta["offset_type"]
|
|
134
|
+
vol["meta"]["offset_x"] = self.meta["offset_x"]
|
|
135
|
+
vol["meta"]["offset_y"] = self.meta["offset_y"]
|
|
136
|
+
else:
|
|
137
|
+
vol["meta"]["offset_type"] = "none"
|
|
132
138
|
return obj
|
|
133
139
|
|
|
134
|
-
# Outdated. Remove when removing all old FOVManager code from effects
|
|
135
|
-
def fov_grid(self, which="edges", **kwargs):
|
|
136
|
-
"""Return a header with the sky coordinates."""
|
|
137
|
-
warnings.warn("The fov_grid method is deprecated and will be removed "
|
|
138
|
-
"in a future release.", DeprecationWarning, stacklevel=2)
|
|
139
|
-
if which == "edges":
|
|
140
|
-
self.meta.update(kwargs)
|
|
141
|
-
return self.header
|
|
142
|
-
elif which == "masks":
|
|
143
|
-
self.meta.update(kwargs)
|
|
144
|
-
return self.mask
|
|
145
|
-
|
|
146
140
|
@property
|
|
147
141
|
def hdu(self):
|
|
148
142
|
return fits.ImageHDU(data=self.mask, header=self.header)
|
|
@@ -458,12 +452,6 @@ class SlitWheel(Effect):
|
|
|
458
452
|
"""Use apply_to of current_slit."""
|
|
459
453
|
return self.current_slit.apply_to(obj, **kwargs)
|
|
460
454
|
|
|
461
|
-
def fov_grid(self, which="edges", **kwargs):
|
|
462
|
-
"""See parent docstring."""
|
|
463
|
-
warnings.warn("The fov_grid method is deprecated and will be removed "
|
|
464
|
-
"in a future release.", DeprecationWarning, stacklevel=2)
|
|
465
|
-
return self.current_slit.fov_grid(which=which, **kwargs)
|
|
466
|
-
|
|
467
455
|
def change_slit(self, slitname=None):
|
|
468
456
|
"""Change the current slit."""
|
|
469
457
|
if not slitname or slitname in self.slits.keys():
|
|
@@ -64,6 +64,12 @@ class DataContainer:
|
|
|
64
64
|
needed in order to save on memory usage. `._file` contains a pointer
|
|
65
65
|
to the data open FITS file.
|
|
66
66
|
|
|
67
|
+
|
|
68
|
+
.. versionchanged:: 0.12.0
|
|
69
|
+
|
|
70
|
+
Passing the old-style `file_name` argument now raises a ValueError.
|
|
71
|
+
Please use the new-style `filename` instead.
|
|
72
|
+
|
|
67
73
|
"""
|
|
68
74
|
|
|
69
75
|
meta = None
|
|
@@ -83,11 +89,9 @@ class DataContainer:
|
|
|
83
89
|
# from scopesim import UserCommands
|
|
84
90
|
# self.cmds = UserCommands()
|
|
85
91
|
|
|
86
|
-
if
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
DeprecationWarning, stacklevel=2)
|
|
90
|
-
filename = kwargs["file_name"]
|
|
92
|
+
if "file_name" in kwargs:
|
|
93
|
+
raise ValueError("The 'file_name' kwarg is deprecated, please use "
|
|
94
|
+
"'filename' instead!")
|
|
91
95
|
|
|
92
96
|
# A !-string filename is immediately resolved, but the file is not yet
|
|
93
97
|
# searched for. This makes sense, as the filename should end up in the
|
|
@@ -242,31 +242,6 @@ class DetectorList(Effect):
|
|
|
242
242
|
|
|
243
243
|
return points * u.mm
|
|
244
244
|
|
|
245
|
-
def fov_grid(self, which="edges", **kwargs):
|
|
246
|
-
"""Return an ApertureMask object. kwargs are "pixel_scale" [arcsec]."""
|
|
247
|
-
# This has really been taken care of by apply_to now
|
|
248
|
-
# TODO v1.0: finally rm this completely
|
|
249
|
-
raise AttributeError("The DetectorList.fov_grid() method has been "
|
|
250
|
-
"removed in v0.10.0.")
|
|
251
|
-
# aperture_mask = None
|
|
252
|
-
# if which == "edges":
|
|
253
|
-
# self.meta.update(kwargs)
|
|
254
|
-
# self.meta = from_currsys(self.meta, self.cmds)
|
|
255
|
-
|
|
256
|
-
# hdr = self.image_plane_header
|
|
257
|
-
# xy_mm = calc_footprint(hdr, "D")
|
|
258
|
-
# pixel_size = hdr["CDELT1D"] # mm
|
|
259
|
-
# pixel_scale = self.meta["pixel_scale"] # ["]
|
|
260
|
-
|
|
261
|
-
# # x["] = x[mm] * ["] / [mm]
|
|
262
|
-
# xy_sky = xy_mm * pixel_scale / pixel_size
|
|
263
|
-
|
|
264
|
-
# aperture_mask = ApertureMask(array_dict={"x": xy_sky[:, 0],
|
|
265
|
-
# "y": xy_sky[:, 1]},
|
|
266
|
-
# pixel_scale=pixel_scale)
|
|
267
|
-
|
|
268
|
-
# return aperture_mask
|
|
269
|
-
|
|
270
245
|
@property
|
|
271
246
|
def image_plane_header(self):
|
|
272
247
|
"""Create and return the Image Plane Header."""
|
|
@@ -497,9 +472,11 @@ class DetectorList3D(DetectorList):
|
|
|
497
472
|
def image_plane_header(self):
|
|
498
473
|
"""Create and return the Image Plane Header."""
|
|
499
474
|
# FIXME: Heavy property.....
|
|
500
|
-
points = self._get_corner_points().value
|
|
501
475
|
new_wcs, naxis = create_wcs_from_points(
|
|
502
|
-
|
|
476
|
+
self._get_corner_points(),
|
|
477
|
+
self.pixel_size.to(u.mm) / u.pixel,
|
|
478
|
+
wcs_suffix="D",
|
|
479
|
+
)
|
|
503
480
|
|
|
504
481
|
hdr = fits.Header()
|
|
505
482
|
hdr["NAXIS"] = 3
|
|
@@ -11,20 +11,19 @@ from ..utils import from_currsys, write_report
|
|
|
11
11
|
from ..reports.rst_utils import table_to_rst
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
# FIXME: This docstring is out-of-date for several reasons:
|
|
15
|
-
# - Effects can act on objects other than Source (eg FOV, IMP, DET)
|
|
16
|
-
# - fov_grid is outdated
|
|
17
|
-
|
|
18
|
-
|
|
19
14
|
# @dataclass(kw_only=True, eq=False)
|
|
20
15
|
class Effect:
|
|
21
16
|
"""
|
|
22
17
|
Base class for representing the effects (artifacts) in an optical system.
|
|
23
18
|
|
|
24
19
|
The ``Effect`` class is conceived to independently apply the changes that
|
|
25
|
-
an optical component (or series thereof) has on an incoming
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
an optical component (or series thereof) has on an incoming description of
|
|
21
|
+
an on-sky object. **An Effect object should receive an object, alter it
|
|
22
|
+
somehow, and return an instance of the same class.** Besides ``Source``,
|
|
23
|
+
that object may be a ``FovVolumeList``, a ``FieldOfView``, an
|
|
24
|
+
``ImagePlane`` or a ``Detector``; ``apply_to`` is expected to dispatch on
|
|
25
|
+
the type it is given and to pass anything it does not handle straight
|
|
26
|
+
through.
|
|
28
27
|
|
|
29
28
|
The interface for the Effect base-class has been kept very general so that
|
|
30
29
|
it can easily be sub-classed as data for new effects becomes available.
|
|
@@ -32,9 +31,12 @@ class Effect:
|
|
|
32
31
|
attributes:
|
|
33
32
|
|
|
34
33
|
* ``self.meta`` - a dictionary to contain metadata.
|
|
35
|
-
* ``self.apply_to(obj, **kwargs)`` - a method which accepts
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
* ``self.apply_to(obj, **kwargs)`` - a method which accepts one of the
|
|
35
|
+
objects above and returns an instance of the same class as ``obj``
|
|
36
|
+
|
|
37
|
+
An Effect that needs to constrain the source-space volume the simulation
|
|
38
|
+
covers does so in the ``FovVolumeList`` branch of ``apply_to``, by calling
|
|
39
|
+
``shrink``, ``extract`` or ``split`` on the list it is passed.
|
|
38
40
|
|
|
39
41
|
|
|
40
42
|
Parameters
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
1
2
|
"""TBA."""
|
|
2
3
|
|
|
3
4
|
import inspect
|
|
4
5
|
from collections.abc import Iterable
|
|
5
6
|
|
|
6
|
-
from astropy.table import Table
|
|
7
|
-
|
|
8
7
|
from .. import effects as efs
|
|
9
8
|
from ..utils import get_logger
|
|
10
9
|
|
|
@@ -51,15 +50,7 @@ def is_spectroscope(effects):
|
|
|
51
50
|
return any(isinstance(eff, spec_classes) for eff in effects)
|
|
52
51
|
|
|
53
52
|
|
|
54
|
-
|
|
55
|
-
tbl = Table(names=["name", "outer", "inner", "angle",
|
|
56
|
-
"temperature", "action", "filename"],
|
|
57
|
-
data=[["test"], [0.], [0.], [0.], [0.], ["none"], ["none"]],
|
|
58
|
-
meta={"outer_unit": "m", "inner_unit": "m",
|
|
59
|
-
"angle_unit": "deg", "temperature_unit": "deg_C"})
|
|
60
|
-
return efs.SurfaceList(table=tbl[:0], **kwargs)
|
|
61
|
-
|
|
62
|
-
|
|
53
|
+
# This is only used for the questionable sphinx extension.
|
|
63
54
|
def scopesim_effect_classes(base_effect=efs.Effect):
|
|
64
55
|
members = inspect.getmembers(efs)
|
|
65
56
|
efs_dict = {".".join([cls.__module__, cls.__name__]).replace("scopesim.effects.", ""): cls
|
|
@@ -19,9 +19,37 @@ Classes:
|
|
|
19
19
|
- InterPixelCapacitance - apply IPC kernel to detector readout
|
|
20
20
|
"""
|
|
21
21
|
|
|
22
|
-
from ...utils import get_logger
|
|
22
|
+
from ...utils import get_logger, check_keys
|
|
23
|
+
from ...detector import Detector
|
|
24
|
+
from .. import Effect
|
|
25
|
+
|
|
23
26
|
logger = get_logger(__name__)
|
|
24
27
|
|
|
28
|
+
|
|
29
|
+
class ElectronicEffect(Effect):
|
|
30
|
+
"""Base class for electronic effects.
|
|
31
|
+
|
|
32
|
+
This will eventually replace the 800-range zorder (or parts of it).
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
def __init__(self, **kwargs):
|
|
36
|
+
super().__init__(**kwargs)
|
|
37
|
+
self.meta.update(kwargs)
|
|
38
|
+
check_keys(self.meta, self.required_keys, action="error")
|
|
39
|
+
|
|
40
|
+
def _apply_to_det(self, det: Detector) -> None:
|
|
41
|
+
"""Subclasses can override if more params needed in call."""
|
|
42
|
+
logger.debug("Apply %s to %s", self.display_name, det)
|
|
43
|
+
det.data = self(det.data)
|
|
44
|
+
|
|
45
|
+
def apply_to(self, obj, **kwargs):
|
|
46
|
+
"""See parent docstring."""
|
|
47
|
+
if isinstance(obj, Detector):
|
|
48
|
+
self._apply_to_det(obj)
|
|
49
|
+
|
|
50
|
+
return obj
|
|
51
|
+
|
|
52
|
+
|
|
25
53
|
from .electrons import LinearityCurve, ADConversion, InterPixelCapacitance
|
|
26
54
|
from .noise import (Bias, PoorMansHxRGReadoutNoise, BasicReadoutNoise,
|
|
27
55
|
ShotNoise, DarkCurrent, PixelResponseNonUniformity)
|
|
@@ -73,9 +73,11 @@ class DetectorModePropertiesSetter(Effect):
|
|
|
73
73
|
|
|
74
74
|
def apply_to(self, obj, **kwargs):
|
|
75
75
|
logger.debug("Entering DetectorModePropertiesSetter.apply_to")
|
|
76
|
-
mode_name = kwargs.get(
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
mode_name = kwargs.get(
|
|
77
|
+
"detector_readout_mode",
|
|
78
|
+
from_currsys("!OBS.detector_readout_mode", self.cmds),
|
|
79
|
+
)
|
|
80
|
+
|
|
79
81
|
if isinstance(obj, ImagePlane) and mode_name == "auto":
|
|
80
82
|
mode_name = self.select_mode(obj, **kwargs)
|
|
81
83
|
logger.info("Detector mode set to %s", mode_name)
|
|
@@ -101,9 +103,10 @@ class DetectorModePropertiesSetter(Effect):
|
|
|
101
103
|
saturation level (peak to full_well).
|
|
102
104
|
"""
|
|
103
105
|
immax = np.max(obj.data)
|
|
104
|
-
fillfrac = kwargs.get(
|
|
105
|
-
|
|
106
|
-
|
|
106
|
+
fillfrac = kwargs.get(
|
|
107
|
+
"fill_frac",
|
|
108
|
+
from_currsys("!OBS.auto_exposure.fill_frac", self.cmds),
|
|
109
|
+
)
|
|
107
110
|
|
|
108
111
|
goodmodes = []
|
|
109
112
|
goodron = []
|