diff --git a/build.sh b/build.sh index 26ae4976371ab06f97a0f42147be606565208c6a..2a3e5f8f72a91362cc9d4e553983b77d4eef5a83 100755 --- a/build.sh +++ b/build.sh @@ -55,7 +55,7 @@ if [ "${DELETE}" = "YES" ] ; then fi # download the irdb packages, line below downloads zip files -python -c 'import scopesim; scopesim.download_packages(["Armazones", "ELT", "MICADO", "LFOA", "MAORY"])' +python -c 'import scopesim; scopesim.download_packages(["Armazones", "ELT", "MICADO", "LFOA", "MORFEO"])' # TODO git checkout the irdb repo and point to it #rm -Rf inst_pkgs #git clone https://github.com/AstarVienna/irdb.git diff --git a/conda-recipe/run_test.sh b/conda-recipe/run_test.sh index f7455c3f6d90b16b760b2a360114520db4c02e51..08bd501980c6655e4ae7203e553159a1a25548d2 100755 --- a/conda-recipe/run_test.sh +++ b/conda-recipe/run_test.sh @@ -65,7 +65,7 @@ python -c "import scopesim_templates" || pip install "ScopeSIM_Templates==0.4.4" # TODO: Fetch ScopeSim data package. # IRDB -python -c 'import scopesim; scopesim.download_packages(["Armazones", "ELT", "MICADO", "LFOA", "MAORY"])' +python -c 'import scopesim; scopesim.download_packages(["Armazones", "ELT", "MICADO", "LFOA", "MORFEO"])' # or install via pip install ? #pip install git+https://github.com/AstarVienna/irdb.git@master # or use git clone ? diff --git a/notebooks/LpuDpuExamples.ipynb b/notebooks/LpuDpuExamples.ipynb index f1d79659297e0d3eca8337a1f9ea2243b399dc60..69b6f0429829182d1ede78c03210864e951ce13a 100644 --- a/notebooks/LpuDpuExamples.ipynb +++ b/notebooks/LpuDpuExamples.ipynb @@ -124,7 +124,7 @@ " 'description': 'parameters needed for a MICADO simulation',\n", " 'name': 'MICADO_configuration',\n", " 'object': 'observation',\n", - " 'packages': ['Armazones', 'ELT', 'MAORY', 'MICADO'],\n", + " 'packages': ['Armazones', 'ELT', 'MORFEO', 'MICADO'],\n", " 'properties': {'dit': 1.0, 'ndit': 1}},\n", " {'alias': 'DET',\n", " 'class': 'DetectorArray',\n", @@ -276,7 +276,7 @@ "output_type": "stream", "text": [ "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/ELT\n", - "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MAORY\n", + "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MORFEO\n", "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MICADO\n", "\n", "Warning: header update failed, data will be saved with incomplete header.\n", @@ -288,7 +288,7 @@ " 'description': 'parameters needed for a MICADO simulation',\n", " 'name': 'MICADO_configuration',\n", " 'object': 'observation',\n", - " 'packages': ['Armazones', 'ELT', 'MAORY', 'MICADO'],\n", + " 'packages': ['Armazones', 'ELT', 'MORFEO', 'MICADO'],\n", " 'properties': {'dit': 1.0, 'ndit': 1}},\n", " {'alias': 'DET',\n", " 'class': 'DetectorArray',\n", @@ -440,7 +440,7 @@ "output_type": "stream", "text": [ "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/ELT\n", - "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MAORY\n", + "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MORFEO\n", "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MICADO\n", "\n", "Warning: header update failed, data will be saved with incomplete header.\n", @@ -452,7 +452,7 @@ " 'description': 'parameters needed for a MICADO simulation',\n", " 'name': 'MICADO_configuration',\n", " 'object': 'observation',\n", - " 'packages': ['Armazones', 'ELT', 'MAORY', 'MICADO'],\n", + " 'packages': ['Armazones', 'ELT', 'MORFEO', 'MICADO'],\n", " 'properties': {'dit': 1.0, 'ndit': 1}},\n", " {'alias': 'DET',\n", " 'class': 'DetectorArray',\n", @@ -604,7 +604,7 @@ "output_type": "stream", "text": [ "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/ELT\n", - "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MAORY\n", + "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MORFEO\n", "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MICADO\n", "\n", "Warning: header update failed, data will be saved with incomplete header.\n", @@ -616,7 +616,7 @@ " 'description': 'parameters needed for a MICADO simulation',\n", " 'name': 'MICADO_configuration',\n", " 'object': 'observation',\n", - " 'packages': ['Armazones', 'ELT', 'MAORY', 'MICADO'],\n", + " 'packages': ['Armazones', 'ELT', 'MORFEO', 'MICADO'],\n", " 'properties': {'dit': 1.0, 'ndit': 1}},\n", " {'alias': 'DET',\n", " 'class': 'DetectorArray',\n", @@ -768,7 +768,7 @@ "output_type": "stream", "text": [ "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/ELT\n", - "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MAORY\n", + "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MORFEO\n", "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MICADO\n", "\n", "Warning: header update failed, data will be saved with incomplete header.\n", @@ -780,7 +780,7 @@ " 'description': 'parameters needed for a MICADO simulation',\n", " 'name': 'MICADO_configuration',\n", " 'object': 'observation',\n", - " 'packages': ['Armazones', 'ELT', 'MAORY', 'MICADO'],\n", + " 'packages': ['Armazones', 'ELT', 'MORFEO', 'MICADO'],\n", " 'properties': {'dit': 1.0, 'ndit': 1}},\n", " {'alias': 'DET',\n", " 'class': 'DetectorArray',\n", @@ -932,7 +932,7 @@ "output_type": "stream", "text": [ "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/ELT\n", - "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MAORY\n", + "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MORFEO\n", "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MICADO\n", "\n", "Warning: header update failed, data will be saved with incomplete header.\n", diff --git a/notebooks/SimulateRawScience.ipynb b/notebooks/SimulateRawScience.ipynb index feecb0fba4ab8538d1c5f787f83cf15b0cff256a..73dca132360eb4fce4a446ab95dc4c22cb5a68ae 100644 --- a/notebooks/SimulateRawScience.ipynb +++ b/notebooks/SimulateRawScience.ipynb @@ -264,7 +264,7 @@ " 'alias': 'OBS',\n", " 'name': 'MICADO_configuration',\n", " 'description': 'parameters needed for a MICADO simulation',\n", - " 'packages': ['Armazones', 'ELT', 'MAORY', 'MICADO'],\n", + " 'packages': ['Armazones', 'ELT', 'MORFEO', 'MICADO'],\n", " 'properties': {'dit': 1.0, 'ndit': 1}},\n", " {'class': 'Atmosphere',\n", " 'description': 'The Atmosphere.',\n", @@ -493,7 +493,7 @@ " 'description': 'parameters needed for a MICADO simulation',\n", " 'name': 'MICADO_configuration',\n", " 'object': 'observation',\n", - " 'packages': ['Armazones', 'ELT', 'MAORY', 'MICADO'],\n", + " 'packages': ['Armazones', 'ELT', 'MORFEO', 'MICADO'],\n", " 'properties': {'dit': 1.0, 'ndit': 1}},\n", " {'alias': 'ATMO',\n", " 'class': 'Atmosphere',\n", @@ -707,7 +707,7 @@ "text": [ "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/Armazones\n", "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/ELT\n", - "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MAORY\n", + "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MORFEO\n", "WARNING - Package could not be found: /home/micado/micadowise/notebooks/inst_pkgs/MICADO\n", "\n", "Warning: header update failed, data will be saved with incomplete header.\n", diff --git a/notebooks/sci_raw_and_calib.ipynb b/notebooks/sci_raw_and_calib.ipynb index fc663b838de5bad7e0ca00a6dc82d87f76e41d9c..b61d5a5c0544c4dd9e750208dd49f057f4167d8c 100644 --- a/notebooks/sci_raw_and_calib.ipynb +++ b/notebooks/sci_raw_and_calib.ipynb @@ -132,8 +132,8 @@ "<tr><td>MICADO_DET</td><td>border_reference_pixels</td><td>ReferencePixelBorder</td><td>True</td></tr>\n", "<tr><td>MICADO_DET</td><td>readout_noise</td><td>PoorMansHxRGReadoutNoise</td><td>True</td></tr>\n", "<tr><td>MICADO_DET</td><td>extra_fits_keywords</td><td>ExtraFitsKeywords</td><td>True</td></tr>\n", - "<tr><td>MAORY</td><td>maory_surface_list</td><td>SurfaceList</td><td>True</td></tr>\n", - "<tr><td>MAORY</td><td>maory_generic_psf</td><td>FieldConstantPSF</td><td>True</td></tr>\n", + "<tr><td>MORFEO</td><td>maory_surface_list</td><td>SurfaceList</td><td>True</td></tr>\n", + "<tr><td>MORFEO</td><td>maory_generic_psf</td><td>FieldConstantPSF</td><td>True</td></tr>\n", "<tr><td>MICADO_IMG_LR</td><td>micado_wide_field_mirror_list</td><td>SurfaceList</td><td>True</td></tr>\n", "<tr><td>MICADO_IMG_LR</td><td>micado_adc_3D_shift</td><td>AtmosphericDispersionCorrection</td><td>False</td></tr>\n", "</table></div>" @@ -160,8 +160,8 @@ " MICADO_DET border_reference_pixels ReferencePixelBorder True\n", " MICADO_DET readout_noise PoorMansHxRGReadoutNoise True\n", " MICADO_DET extra_fits_keywords ExtraFitsKeywords True\n", - " MAORY maory_surface_list SurfaceList True\n", - " MAORY maory_generic_psf FieldConstantPSF True\n", + " MORFEO maory_surface_list SurfaceList True\n", + " MORFEO maory_generic_psf FieldConstantPSF True\n", "MICADO_IMG_LR micado_wide_field_mirror_list SurfaceList True\n", "MICADO_IMG_LR micado_adc_3D_shift AtmosphericDispersionCorrection False" ] @@ -303,8 +303,8 @@ "<tr><td>MICADO_DET</td><td>border_reference_pixels</td><td>ReferencePixelBorder</td><td>True</td></tr>\n", "<tr><td>MICADO_DET</td><td>readout_noise</td><td>PoorMansHxRGReadoutNoise</td><td>False</td></tr>\n", "<tr><td>MICADO_DET</td><td>extra_fits_keywords</td><td>ExtraFitsKeywords</td><td>True</td></tr>\n", - "<tr><td>MAORY</td><td>maory_surface_list</td><td>SurfaceList</td><td>True</td></tr>\n", - "<tr><td>MAORY</td><td>maory_generic_psf</td><td>FieldConstantPSF</td><td>True</td></tr>\n", + "<tr><td>MORFEO</td><td>maory_surface_list</td><td>SurfaceList</td><td>True</td></tr>\n", + "<tr><td>MORFEO</td><td>maory_generic_psf</td><td>FieldConstantPSF</td><td>True</td></tr>\n", "<tr><td>MICADO_IMG_LR</td><td>micado_wide_field_mirror_list</td><td>SurfaceList</td><td>True</td></tr>\n", "<tr><td>MICADO_IMG_LR</td><td>micado_adc_3D_shift</td><td>AtmosphericDispersionCorrection</td><td>False</td></tr>\n", "</table></div>" @@ -331,8 +331,8 @@ " MICADO_DET border_reference_pixels ReferencePixelBorder True\n", " MICADO_DET readout_noise PoorMansHxRGReadoutNoise False\n", " MICADO_DET extra_fits_keywords ExtraFitsKeywords True\n", - " MAORY maory_surface_list SurfaceList True\n", - " MAORY maory_generic_psf FieldConstantPSF True\n", + " MORFEO maory_surface_list SurfaceList True\n", + " MORFEO maory_generic_psf FieldConstantPSF True\n", "MICADO_IMG_LR micado_wide_field_mirror_list SurfaceList True\n", "MICADO_IMG_LR micado_adc_3D_shift AtmosphericDispersionCorrection False" ] @@ -376,8 +376,8 @@ "<tr><td>MICADO_DET</td><td>border_reference_pixels</td><td>ReferencePixelBorder</td><td>True</td></tr>\n", "<tr><td>MICADO_DET</td><td>readout_noise</td><td>PoorMansHxRGReadoutNoise</td><td>False</td></tr>\n", "<tr><td>MICADO_DET</td><td>extra_fits_keywords</td><td>ExtraFitsKeywords</td><td>True</td></tr>\n", - "<tr><td>MAORY</td><td>maory_surface_list</td><td>SurfaceList</td><td>True</td></tr>\n", - "<tr><td>MAORY</td><td>maory_generic_psf</td><td>FieldConstantPSF</td><td>True</td></tr>\n", + "<tr><td>MORFEO</td><td>maory_surface_list</td><td>SurfaceList</td><td>True</td></tr>\n", + "<tr><td>MORFEO</td><td>maory_generic_psf</td><td>FieldConstantPSF</td><td>True</td></tr>\n", "<tr><td>MICADO_IMG_LR</td><td>micado_wide_field_mirror_list</td><td>SurfaceList</td><td>True</td></tr>\n", "<tr><td>MICADO_IMG_LR</td><td>micado_adc_3D_shift</td><td>AtmosphericDispersionCorrection</td><td>False</td></tr>\n", "</table></div>" @@ -404,8 +404,8 @@ " MICADO_DET border_reference_pixels ReferencePixelBorder True\n", " MICADO_DET readout_noise PoorMansHxRGReadoutNoise False\n", " MICADO_DET extra_fits_keywords ExtraFitsKeywords True\n", - " MAORY maory_surface_list SurfaceList True\n", - " MAORY maory_generic_psf FieldConstantPSF True\n", + " MORFEO maory_surface_list SurfaceList True\n", + " MORFEO maory_generic_psf FieldConstantPSF True\n", "MICADO_IMG_LR micado_wide_field_mirror_list SurfaceList True\n", "MICADO_IMG_LR micado_adc_3D_shift AtmosphericDispersionCorrection False" ] diff --git a/notebooks/std_raw.ipynb b/notebooks/std_raw.ipynb index ebbfb543ec674933ad1016140ba14eb366a4f381..ecfdff6a3d8f480a9a4f331bb84afe5f9b229b73 100644 --- a/notebooks/std_raw.ipynb +++ b/notebooks/std_raw.ipynb @@ -141,8 +141,8 @@ "<tr><td>MICADO_DET</td><td>border_reference_pixels</td><td>ReferencePixelBorder</td><td>True</td></tr>\n", "<tr><td>MICADO_DET</td><td>readout_noise</td><td>PoorMansHxRGReadoutNoise</td><td>True</td></tr>\n", "<tr><td>MICADO_DET</td><td>extra_fits_keywords</td><td>ExtraFitsKeywords</td><td>True</td></tr>\n", - "<tr><td>MAORY</td><td>maory_surface_list</td><td>SurfaceList</td><td>True</td></tr>\n", - "<tr><td>MAORY</td><td>maory_generic_psf</td><td>FieldConstantPSF</td><td>True</td></tr>\n", + "<tr><td>MORFEO</td><td>MORFEO_surface_list</td><td>SurfaceList</td><td>True</td></tr>\n", + "<tr><td>MORFEO</td><td>MORFEO_generic_psf</td><td>FieldConstantPSF</td><td>True</td></tr>\n", "<tr><td>MICADO_IMG_LR</td><td>micado_wide_field_mirror_list</td><td>SurfaceList</td><td>True</td></tr>\n", "<tr><td>MICADO_IMG_LR</td><td>micado_adc_3D_shift</td><td>AtmosphericDispersionCorrection</td><td>False</td></tr>\n", "</table></div>" @@ -169,8 +169,8 @@ " MICADO_DET border_reference_pixels ReferencePixelBorder True\n", " MICADO_DET readout_noise PoorMansHxRGReadoutNoise True\n", " MICADO_DET extra_fits_keywords ExtraFitsKeywords True\n", - " MAORY maory_surface_list SurfaceList True\n", - " MAORY maory_generic_psf FieldConstantPSF True\n", + " MORFEO MORFEO_surface_list SurfaceList True\n", + " MORFEO MORFEO_generic_psf FieldConstantPSF True\n", "MICADO_IMG_LR micado_wide_field_mirror_list SurfaceList True\n", "MICADO_IMG_LR micado_adc_3D_shift AtmosphericDispersionCorrection False" ] @@ -312,9 +312,9 @@ "\n", "extra_fits_keywords {'filename': 'FITS_extra_keywords.yaml', 'description': 'Extra FITS headers', 'history': [], 'name': 'extra_fits_keywords', 'z_order': [999], 'include': True, 'header_dict': None, 'yaml_string': None, 'decription': 'adds extra FITS keywords from a yaml file', 'image_plane_id': 0, 'temperature': -230, 'dit': '!OBS.dit', 'ndit': '!OBS.ndit', 'width': 4096, 'height': 4096, 'x': 0, 'y': 0, 'element_name': 'MICADO_DET'} \n", "\n", - "maory_surface_list {'filename': 'LIST_mirrors_maory_mms.tbl', 'description': 'list of surfaces in MAORY', 'history': ['ASCII table read from /Users/yixiancao/Work/MICADO/simcado2/imaging_sim/inst_pkgs/MAORY/LIST_mirrors_maory_mms.tbl'], 'name': 'maory_surface_list', 'temperature': 7, 'element_name': 'MAORY', 'comments': ['author : Kieran Leschinski', 'name : maory_mirror_list', 'source : Carmelo Archidiacono private email', 'date_created : 2018-11-19', 'date_modified : 2020-06-22', 'status : Design, new MAORY MMS design', 'outer_unit : m', 'inner_unit : m', 'angle_unit : degree', 'temperature_unit : deg_C', 'changes :', '- 2018-11-19 (KL) Added meta data, changed Dichr. filename', '- 2019-01-28 (KL) Fixed YAML format in meta data', '- 2020-06-22 (KL) Updated file to match the MMS configuration from Carmelo', '- 2020-08-17 (KL) Pegged temperature to atmosphere', '- 2020-12-03 (KL)', ''], 'author': 'Kieran Leschinski', 'source': 'Carmelo Archidiacono private email', 'date_created': datetime.date(2018, 11, 19), 'date_modified': datetime.date(2020, 6, 22), 'status': 'Design, new MAORY MMS design', 'outer_unit': 'm', 'inner_unit': 'm', 'angle_unit': 'degree', 'temperature_unit': 'deg_C', 'changes': ['2018-11-19 (KL) Added meta data, changed Dichr. filename', '2019-01-28 (KL) Fixed YAML format in meta data', '2020-06-22 (KL) Updated file to match the MMS configuration from Carmelo', '2020-08-17 (KL) Pegged temperature to atmosphere', '2020-12-03 (KL)'], 'z_order': [20, 120, 520], 'include': True, 'ignore_wings': False, 'wave_min': 0.7, 'wave_max': 2.5, 'wave_unit': 'um', 'wave_bin': 0.0001, 'bg_cell_width': 60, 'report_plot_include': True, 'report_table_include': True, 'minimum_throughput': 1e-06, 'etendue': <Quantity 0.01560376 arcsec2 m2>} \n", + "MORFEO_surface_list {'filename': 'LIST_mirrors_MORFEO_mms.tbl', 'description': 'list of surfaces in MORFEO', 'history': ['ASCII table read from /Users/yixiancao/Work/MICADO/simcado2/imaging_sim/inst_pkgs/MORFEO/LIST_mirrors_maory_mms.tbl'], 'name': 'maory_surface_list', 'temperature': 7, 'element_name': 'MORFEO', 'comments': ['author : Kieran Leschinski', 'name : maory_mirror_list', 'source : Carmelo Archidiacono private email', 'date_created : 2018-11-19', 'date_modified : 2020-06-22', 'status : Design, new MORFEO MMS design', 'outer_unit : m', 'inner_unit : m', 'angle_unit : degree', 'temperature_unit : deg_C', 'changes :', '- 2018-11-19 (KL) Added meta data, changed Dichr. filename', '- 2019-01-28 (KL) Fixed YAML format in meta data', '- 2020-06-22 (KL) Updated file to match the MMS configuration from Carmelo', '- 2020-08-17 (KL) Pegged temperature to atmosphere', '- 2020-12-03 (KL)', ''], 'author': 'Kieran Leschinski', 'source': 'Carmelo Archidiacono private email', 'date_created': datetime.date(2018, 11, 19), 'date_modified': datetime.date(2020, 6, 22), 'status': 'Design, new MORFEO MMS design', 'outer_unit': 'm', 'inner_unit': 'm', 'angle_unit': 'degree', 'temperature_unit': 'deg_C', 'changes': ['2018-11-19 (KL) Added meta data, changed Dichr. filename', '2019-01-28 (KL) Fixed YAML format in meta data', '2020-06-22 (KL) Updated file to match the MMS configuration from Carmelo', '2020-08-17 (KL) Pegged temperature to atmosphere', '2020-12-03 (KL)'], 'z_order': [20, 120, 520], 'include': True, 'ignore_wings': False, 'wave_min': 0.7, 'wave_max': 2.5, 'wave_unit': 'um', 'wave_bin': 0.0001, 'bg_cell_width': 60, 'report_plot_include': True, 'report_table_include': True, 'minimum_throughput': 1e-06, 'etendue': <Quantity 0.01560376 arcsec2 m2>} \n", "\n", - "maory_generic_psf {'filename': 'PSF_MCAO_ConstPSF_40_18_6.fits', 'description': 'MAORY field varying MCAO PSF', 'history': ['Opened handle to FITS file /Users/yixiancao/Work/MICADO/simcado2/imaging_sim/inst_pkgs/MAORY/PSF_MCAO_ConstPSF_40_18_6.fits'], 'name': 'maory_generic_psf', 'temperature': 7, 'element_name': 'MAORY', 'warning': 'Default PSF is not Field Varying. See Documentation', 'SIMPLE': True, 'BITPIX': 8, 'NAXIS': 0, 'EXTEND': True, 'AUTHOR': 'Kieran Leschinski', 'DATE_CRE': '2019-07-30', 'DATE_MOD': '2019-07-30', 'SOURCE': 'AnisoCADO', 'STATUS': 'Best guess for a MAORY ConstantPSF with AnisoCADO', 'ETYPE': 'CONSTPSF', 'ECAT': -1, 'EDATA': 1, 'XOFFSET': 0, 'YOFFSET': 0, 'z_order': [262, 662], 'include': True, 'flux_accuracy': 0.001, 'sub_pixel_flag': False, 'convolve_mode': 'same', 'bkg_width': -1, 'wave_key': 'WAVE0', 'normalise_kernel': True, 'rotational_blur_angle': 0, 'report_plot_include': True, 'report_table_include': False} \n", + "MORFEO_generic_psf {'filename': 'PSF_MCAO_ConstPSF_40_18_6.fits', 'description': 'MORFEO field varying MCAO PSF', 'history': ['Opened handle to FITS file /Users/yixiancao/Work/MICADO/simcado2/imaging_sim/inst_pkgs/MORFEO/PSF_MCAO_ConstPSF_40_18_6.fits'], 'name': 'maory_generic_psf', 'temperature': 7, 'element_name': 'MORFEO', 'warning': 'Default PSF is not Field Varying. See Documentation', 'SIMPLE': True, 'BITPIX': 8, 'NAXIS': 0, 'EXTEND': True, 'AUTHOR': 'Kieran Leschinski', 'DATE_CRE': '2019-07-30', 'DATE_MOD': '2019-07-30', 'SOURCE': 'AnisoCADO', 'STATUS': 'Best guess for a MORFEO ConstantPSF with AnisoCADO', 'ETYPE': 'CONSTPSF', 'ECAT': -1, 'EDATA': 1, 'XOFFSET': 0, 'YOFFSET': 0, 'z_order': [262, 662], 'include': True, 'flux_accuracy': 0.001, 'sub_pixel_flag': False, 'convolve_mode': 'same', 'bkg_width': -1, 'wave_key': 'WAVE0', 'normalise_kernel': True, 'rotational_blur_angle': 0, 'report_plot_include': True, 'report_table_include': False} \n", "\n", "micado_wide_field_mirror_list {'filename': 'LIST_MICADO_mirrors_wide.dat', 'description': 'list of extra mirrors needed for the wide field mode', 'history': ['ASCII table read from /Users/yixiancao/Work/MICADO/simcado2/imaging_sim/inst_pkgs/MICADO/LIST_MICADO_mirrors_wide.dat'], 'name': 'micado_wide_field_mirror_list', 'pixel_scale': 0.004, 'plate_scale': 0.26666666666, 'element_name': 'MICADO_IMG_LR', 'comments': ['author : Kieran Leschinski', \"source : Ric's SPIE 2018 PPT presentation\", 'date_created : 2018-11-19', 'date_modified : 2019-07-10', 'status : Design, pre PDR list of MICADO mirrors for wide-field mode', 'type : mirror:list', 'outer_unit : m', 'inner_unit : m', 'angle_unit : degree', 'temperature_unit : deg_C', 'report_table_caption: The list of surfaces from the rotating optics wheel that are added to the optical train when observing in the wide field mode', 'changes :', '- 2019-01-28 (KL) Changed column names and added units to header', '- 2019-07-10 (KL) Shortened the list to only the swappable mirrors', ''], 'author': 'Kieran Leschinski', 'source': \"Ric's SPIE 2018 PPT presentation\", 'date_created': datetime.date(2018, 11, 19), 'date_modified': datetime.date(2019, 7, 10), 'status': 'Design, pre PDR list of MICADO mirrors for wide-field mode', 'type': 'mirror:list', 'outer_unit': 'm', 'inner_unit': 'm', 'angle_unit': 'degree', 'temperature_unit': 'deg_C', 'report_table_caption': 'The list of surfaces from the rotating optics wheel that are added to the optical train when observing in the wide field mode', 'changes': ['2019-01-28 (KL) Changed column names and added units to header', '2019-07-10 (KL) Shortened the list to only the swappable mirrors'], 'z_order': [20, 120, 520], 'include': True, 'ignore_wings': False, 'wave_min': 0.7, 'wave_max': 2.5, 'wave_unit': 'um', 'wave_bin': 0.0001, 'bg_cell_width': 60, 'report_plot_include': True, 'report_table_include': True, 'minimum_throughput': 1e-06, 'etendue': <Quantity 0.01560376 arcsec2 m2>} \n", "\n" @@ -387,7 +387,7 @@ { "data": { "text/plain": [ - "FieldConstantPSF: \"maory_generic_psf\"" + "FieldConstantPSF: \"MORFEO_generic_psf\"" ] }, "execution_count": 57, @@ -396,7 +396,7 @@ } ], "source": [ - "micado[\"maory_generic_psf\"]" + "micado[\"MORFEO_generic_psf\"]" ] }, { diff --git a/src/micado/main/RawExtra.py b/src/micado/main/RawExtra.py index 920040515a54ac8fe5dc30ff83baa1460e211bd1..777cffd54a3a5f6c2af6be17cb10e11479c311a4 100644 --- a/src/micado/main/RawExtra.py +++ b/src/micado/main/RawExtra.py @@ -188,8 +188,8 @@ class RawExtra(BaseFrame): # putting the necessary files on the dataserver with the # corresponding object. # scopesim.server.download_package("telescopes/ELT") - # scopesim.server.download_package("instrumnents/MICADO") - # scopesim.server.download_package("instrumnents/MAORY") + # scopesim.server.download_package("instruments/MICADO") + # scopesim.server.download_package("instruments/MORFEO") # scopesim.server.download_package("locations/Armazones") # The download is not necessary anymore, because the files # are now available in a submodule. diff --git a/src/micado/main/TemplateExtra.py b/src/micado/main/TemplateExtra.py index 19bef4dfc13d13f033b263f0485f81b6db4f0a29..d311187655bf859a13de1cecd0f1b8cbbe649072 100644 --- a/src/micado/main/TemplateExtra.py +++ b/src/micado/main/TemplateExtra.py @@ -70,7 +70,7 @@ class TemplateExtra(MObject): "name": "MICADO_configuration", "description": "parameters needed for a MICADO simulation", # Packages are needed to find files. - "packages": ["Armazones", "ELT", "MAORY", "MICADO"], + "packages": ["Armazones", "ELT", "MORFEO", "MICADO"], "properties": {"dit": self.det__dit, "ndit": self.det__ndit}, } diff --git a/src/micado/test/functional/stack_test.py b/src/micado/test/functional/stack_test.py index b5659b12b697f4db27c2720a1600be1cc977aae7..b44c95eef304d7532404b40a89113a964276343b 100644 --- a/src/micado/test/functional/stack_test.py +++ b/src/micado/test/functional/stack_test.py @@ -34,7 +34,7 @@ def test_stack(): scopesim.server.download_package("telescopes/ELT") scopesim.server.download_package("instruments/MICADO") - scopesim.server.download_package("instruments/MAORY") + scopesim.server.download_package("instruments/MORFEO") scopesim.server.download_package("locations/Armazones") filt1, filt2, inst, ro = get_filt_inst_ro() diff --git a/src/micado/toolbox/download_scopesim_data.py b/src/micado/toolbox/download_scopesim_data.py index 6e40918ca0abd0a7ef53203f1745f8a58e3a930f..09492ed06695ecab1a513f8bf602e4ea13719cae 100644 --- a/src/micado/toolbox/download_scopesim_data.py +++ b/src/micado/toolbox/download_scopesim_data.py @@ -8,8 +8,8 @@ def main(): """Download data necessary for ScopeSIM.""" scopesim.server.download_package("telescopes/ELT") scopesim.server.download_package("telescopes/ELT") - scopesim.server.download_package("instrumnents/MICADO") - scopesim.server.download_package("instrumnents/MAORY") + scopesim.server.download_package("instruments/MICADO") + scopesim.server.download_package("instruments/MORFEO") scopesim.server.download_package("locations/Armazones") diff --git a/src/micado/util/irdb.py b/src/micado/util/irdb.py index b02ac6299ae646e55303857eb4da7ca51977e652..5188e0b71d076fecc02c74122f14a5c0c526d1d3 100644 --- a/src/micado/util/irdb.py +++ b/src/micado/util/irdb.py @@ -22,7 +22,7 @@ import yaml # PATH_IRDB = Path(irdb.__path__[0]) -def get_path_irdb(needed=["Armazones", "ELT", "MICADO", "LFOA", "MAORY"]): +def get_path_irdb(needed=["Armazones", "ELT", "MICADO", "LFOA", "MORFEO"]): """return path to irdb""" for test_path in scopesim.rc.__search_path__: if os.path.exists(test_path):