From ffb0496f795b4b46266b0dc5c629243f45e226a6 Mon Sep 17 00:00:00 2001 From: teutoburg Date: Fri, 1 Dec 2023 15:26:54 +0100 Subject: [PATCH 1/7] Add more readme badges --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 54e4fad7..57a82266 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,16 @@ [![Build Status](https://github.com/AstarVienna/ScopeSim/actions/workflows/tests.yml/badge.svg)](https://github.com/AstarVienna/ScopeSim/actions/workflows/tests.yml/badge.svg) [![Build Status](https://github.com/AstarVienna/ScopeSim/actions/workflows/minimumdependencies.yml/badge.svg)](https://github.com/AstarVienna/ScopeSim/actions/workflows/minimumdependencies.yml/badge.svg) [![Build Status](https://github.com/AstarVienna/ScopeSim/actions/workflows/notebooks_with_irdb_download.yml/badge.svg)](https://github.com/AstarVienna/ScopeSim/actions/workflows/notebooks_with_irdb_download.yml/badge.svg) +[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/) +![dev version](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2FAstarVienna%2FScopeSim%2Fdev_master%2Fpyproject.toml&query=%24.tool.poetry.version&label=dev%20version&color=teal) [![Documentation Status](https://readthedocs.org/projects/scopesim/badge/?version=latest)](https://scopesim.readthedocs.io/en/latest) [![codecov](https://codecov.io/gh/AstarVienna/ScopeSim/graph/badge.svg)](https://codecov.io/gh/AstarVienna/ScopeSim) [![PyPI - Version](https://img.shields.io/pypi/v/ScopeSim)](https://pypi.org/project/ScopeSim/) -[![Python Version Support](https://github-actions.40ants.com/AstarVienna/DevOps/matrix.svg?only=Tests.build.ubuntu-latest)](https://github.com/AstarVienna/ScopeSim) +![Python Version Support](https://github-actions.40ants.com/AstarVienna/DevOps/matrix.svg?only=Tests.build.ubuntu-latest) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) - +[![Citation](https://img.shields.io/badge/DOI-10.1117%2F12.2559784-blue)](https://doi.org/10.1117/12.2559784) ## Summary From a5f8d5b8f24f7442a9bfa516407a420f85504859 Mon Sep 17 00:00:00 2001 From: teutoburg Date: Fri, 1 Dec 2023 15:35:15 +0100 Subject: [PATCH 2/7] Move changelog to dedicated file --- changelog.md | 148 +++++++++++++++++++++++++++++++++++++++++++ scopesim/version.py | 150 -------------------------------------------- 2 files changed, 148 insertions(+), 150 deletions(-) create mode 100644 changelog.md diff --git a/changelog.md b/changelog.md new file mode 100644 index 00000000..110f2d04 --- /dev/null +++ b/changelog.md @@ -0,0 +1,148 @@ +# Changes +- version : 0.7.1 + date : 2023-11-07 + comment : Bug fixes and better error report + changes : + - Improve the output of `scopsim.bug_report()` and automatically log that report when an unhandled error occurs: #287 + - Some bug fixes related to that same bug_report: #290, #291 + - Improve ScopeSim's README file: #294 + - Deal with warnings from the latest Python version 3.12: #289 + - Internally restructure and clean the test suite, make sure individual tests are not influencing each other: #285 + +- version : 0.7.0 + date : 2023-10-18 + comment : Off-by-one fix. + changes : + - Fix a long-standing bug regarding the internal implementation of WCS coordinates, which had multiple consequences, see #276 for details. + - This fix might break some existing codes using work-arounds for the bug described above. + +- version : 0.6.2 + date : 2023-09-14 + comment : Patch with bugfixes and code improvements + changes : + - Fix documentation on readthedocs.io: #269 + - Bug fixes related to plotting methods: #270 + - Formatting of code and documentation to meet community standards: #271 + - General refactoring, some in preparation of more substantial bug fixes: #272 + +- version : 0.6.1 + date : 2023-09-06 + comment : Patch with visualisation improvements and general refactoring + changes : + - Improvements to console representation and plot methods of various classes: #252, #260, #263, #266 + - Refactoring and changes to the inheritance of some classes: #261, #264, #265 + - Changes to the CI configuration to reduce fails caused by web request timeouts #255, #262 + +- version : 0.6.0 + date : 2023-07-10 + comment : Summer 2023 + changes : + - Rename MAORY to MORFEO #195 + - Fix NCPA and PSF affecting spectroscopy #238 + - Fix line widths bug #213 + - Add rectification utilities #237 + - Include grating efficiencies #215 + - Improve downloading of IRDB #234 + - Improve Windows support + +- version : 0.5.6 + date : 2023-03-13 + comment : Hotfix to include minimal set of SVO data + changes : + - Run notebooks in CI #183 + - Add SVO data because SVO is down #185 + - Fix OpticalTrain shared cmds attribute and fix docstring #186 + +- version : 0.5.5 + date : 2023-03-08 + comment : Hotfix for header keyword generators + changes : + - Return to § for incremental extension keywords #168 + - thin slit confusing dispersion direction #169 + - Adds unequal (i.e. 2x1) binning and option to rotate the CCD by integer multiples of 90 degrees #170 + - add filters and slits to wheels #176 + - psf_utils.rescale_kernel: fix for negative shifts #177 + - Fix bug where the ._meta_dicts can become longer than the .fields #178 + - Add test that Source() is additive identity #179 + - Allow astropy Units to be values in FITS headers. #180 + +- version : 0.5.4 + date : 2022-10-06 + comment : Hotfix for header keyword generators + github_pr_url : https://github.com/AstarVienna/ScopeSim/pull/166 + changes : + - incremental special characters for header keywords changed from `§`to `++` + - source object function calls are now given their own FITS header keyword FNSRCn (function-call source N) due to astropy not liking the combination of HIERARCH and CONTINUE keywords + +- version : 0.5.3 + date : 2022-09-29 + comment : Minor upgrade to Spec modes and to FITS keywords + github_pr_url : https://github.com/AstarVienna/ScopeSim/pull/165 + changes : + - Effect object ExtraFitsKeywords now has the ability to add keywords with incrementing index numbers based on the extension number + - FOV + FOVManager + FOVVolumes classes now accept aperture_id as an argument + - ApertureList effects object now has an apply_to function which splits the FOVVolumeList accordingly + +- version : 0.5.2 + date : 2022-08-25 + comment : Update of DLC server URL to scopesim.univie.ac.at + changes : + - Updated MANIFEST.in to include all the files needed by the basic_instrument test optical train + - Small update to allow iterative extension specific FITS header keywords. E.g. EXTNAME = DETn.DATA + +- version : 0.5.1 + date : 2022-07-12 + comment : Update of DLC server URL to scopesim.univie.ac.at + changes : + - Changed URL in defaults.yaml file + +- version : 0.5.0 + date : 2022-04-22 + comment : IFU Spectroscopy mode for METIS + changes : + - The IFU effects for the METIS LMS mode + - Effects for including extra FITS keywords for the MICADO-ESO delivery + - Minor change to the OpticalTrain.readout method to allow custom FITS keywords to be added + - #-strings for accessing the .meta dict contents of Effect objects + - added the tests.mocks.basic_instrument package for test purposes + - refactored package downloading functions in server.database + - Packages can now be downloaded directly from a git commit + - new RTDs structure for docs based on ipynb files + - change to SkyCalcTERCurve to use local files to avoid calling the skycalc server + - New Effects: + - MetisLMSSpectralTraceList(SpectralTraceList) + - MetisLMSSpectralTrace(SpectralTrace) + - MetisLMSImageSlicer(ApertureMask) + - MetisLMSEfficiency(TERCurve) + - ExtraFitsKeywords(Effect) + - EffectsMetaKeywords(ExtraFitsKeywords) + - SourceDescriptionFitsKeywords(ExtraFitsKeywords) + - SimulationConfigFitsKeywords(ExtraFitsKeywords) + - SpectralTraceListWheel(Effect) + - Bias(Effect) + +- version : 0.4.1rc1 + date : 2022-03-25 + comment : Updates since METIS science team release + changes : + - New Effects: + - TopHatFilterCurve + - TopHatFilterWheel + - SpanishVOFilterWheel + - DetectorList x(y)_size columns now accept units of pixel and mm + - warnings and errors now handled using python logging package + - minor bug fixes + +- version : 0.4.0 + date : 2022-03-03 + comment : Version released for the METIS science team + changes : + - release of new spectroscopy effect SpectalTraceList + - moved individual spectral trace code to utils file + - rewritten FovManager class + - added make_cube, make_image, make_spectrum to FieldOfView class + - removed fov_grid from Effects + - added new detector array z_order section (900-class effects) + - wavelength-dependent PSF in spectroscopic modes + - proper handling of cube sources + - headers for output files diff --git a/scopesim/version.py b/scopesim/version.py index 377df2a0..b7a3d7d7 100644 --- a/scopesim/version.py +++ b/scopesim/version.py @@ -1,153 +1,3 @@ from importlib import metadata version = metadata.version(__package__) date = '2023-11-07 12:00:00 GMT' -yaml_descriptions = """ -- version : 0.7.1 - date : 2023-11-07 - comment : Bug fixes and better error report - changes : - - Improve the output of `scopsim.bug_report()` and automatically log that report when an unhandled error occurs: #287 - - Some bug fixes related to that same bug_report: #290, #291 - - Improve ScopeSim's README file: #294 - - Deal with warnings from the latest Python version 3.12: #289 - - Internally restructure and clean the test suite, make sure individual tests are not influencing each other: #285 - -- version : 0.7.0 - date : 2023-10-18 - comment : Off-by-one fix. - changes : - - Fix a long-standing bug regarding the internal implementation of WCS coordinates, which had multiple consequences, see #276 for details. - - This fix might break some existing codes using work-arounds for the bug described above. - -- version : 0.6.2 - date : 2023-09-14 - comment : Patch with bugfixes and code improvements - changes : - - Fix documentation on readthedocs.io: #269 - - Bug fixes related to plotting methods: #270 - - Formatting of code and documentation to meet community standards: #271 - - General refactoring, some in preparation of more substantial bug fixes: #272 - -- version : 0.6.1 - date : 2023-09-06 - comment : Patch with visualisation improvements and general refactoring - changes : - - Improvements to console representation and plot methods of various classes: #252, #260, #263, #266 - - Refactoring and changes to the inheritance of some classes: #261, #264, #265 - - Changes to the CI configuration to reduce fails caused by web request timeouts #255, #262 - -- version : 0.6.0 - date : 2023-07-10 - comment : Summer 2023 - changes : - - Rename MAORY to MORFEO #195 - - Fix NCPA and PSF affecting spectroscopy #238 - - Fix line widths bug #213 - - Add rectification utilities #237 - - Include grating efficiencies #215 - - Improve downloading of IRDB #234 - - Improve Windows support - -- version : 0.5.6 - date : 2023-03-13 - comment : Hotfix to include minimal set of SVO data - changes : - - Run notebooks in CI #183 - - Add SVO data because SVO is down #185 - - Fix OpticalTrain shared cmds attribute and fix docstring #186 - -- version : 0.5.5 - date : 2023-03-08 - comment : Hotfix for header keyword generators - changes : - - Return to § for incremental extension keywords #168 - - thin slit confusing dispersion direction #169 - - Adds unequal (i.e. 2x1) binning and option to rotate the CCD by integer multiples of 90 degrees #170 - - add filters and slits to wheels #176 - - psf_utils.rescale_kernel: fix for negative shifts #177 - - Fix bug where the ._meta_dicts can become longer than the .fields #178 - - Add test that Source() is additive identity #179 - - Allow astropy Units to be values in FITS headers. #180 - -- version : 0.5.4 - date : 2022-10-06 - comment : Hotfix for header keyword generators - github_pr_url : https://github.com/AstarVienna/ScopeSim/pull/166 - changes : - - incremental special characters for header keywords changed from `§`to `++` - - source object function calls are now given their own FITS header keyword FNSRCn (function-call source N) due to astropy not liking the combination of HIERARCH and CONTINUE keywords - -- version : 0.5.3 - date : 2022-09-29 - comment : Minor upgrade to Spec modes and to FITS keywords - github_pr_url : https://github.com/AstarVienna/ScopeSim/pull/165 - changes : - - Effect object ExtraFitsKeywords now has the ability to add keywords with incrementing index numbers based on the extension number - - FOV + FOVManager + FOVVolumes classes now accept aperture_id as an argument - - ApertureList effects object now has an apply_to function which splits the FOVVolumeList accordingly - -- version : 0.5.2 - date : 2022-08-25 - comment : Update of DLC server URL to scopesim.univie.ac.at - changes : - - Updated MANIFEST.in to include all the files needed by the basic_instrument test optical train - - Small update to allow iterative extension specific FITS header keywords. E.g. EXTNAME = DETn.DATA - -- version : 0.5.1 - date : 2022-07-12 - comment : Update of DLC server URL to scopesim.univie.ac.at - changes : - - Changed URL in defaults.yaml file - -- version : 0.5.0 - date : 2022-04-22 - comment : IFU Spectroscopy mode for METIS - changes : - - The IFU effects for the METIS LMS mode - - Effects for including extra FITS keywords for the MICADO-ESO delivery - - Minor change to the OpticalTrain.readout method to allow custom FITS keywords to be added - - #-strings for accessing the .meta dict contents of Effect objects - - added the tests.mocks.basic_instrument package for test purposes - - refactored package downloading functions in server.database - - Packages can now be downloaded directly from a git commit - - new RTDs structure for docs based on ipynb files - - change to SkyCalcTERCurve to use local files to avoid calling the skycalc server - - New Effects: - - MetisLMSSpectralTraceList(SpectralTraceList) - - MetisLMSSpectralTrace(SpectralTrace) - - MetisLMSImageSlicer(ApertureMask) - - MetisLMSEfficiency(TERCurve) - - ExtraFitsKeywords(Effect) - - EffectsMetaKeywords(ExtraFitsKeywords) - - SourceDescriptionFitsKeywords(ExtraFitsKeywords) - - SimulationConfigFitsKeywords(ExtraFitsKeywords) - - SpectralTraceListWheel(Effect) - - Bias(Effect) - -- version : 0.4.1rc1 - date : 2022-03-25 - comment : Updates since METIS science team release - changes : - - New Effects: - - TopHatFilterCurve - - TopHatFilterWheel - - SpanishVOFilterWheel - - DetectorList x(y)_size columns now accept units of pixel and mm - - warnings and errors now handled using python logging package - - minor bug fixes - -- version : 0.4.0 - date : 2022-03-03 - comment : Version released for the METIS science team - changes : - - release of new spectroscopy effect SpectalTraceList - - moved individual spectral trace code to utils file - - rewritten FovManager class - - added make_cube, make_image, make_spectrum to FieldOfView class - - removed fov_grid from Effects - - added new detector array z_order section (900-class effects) - - wavelength-dependent PSF in spectroscopic modes - - proper handling of cube sources - - headers for output files - -""" From 69874ce57fa4687690c4ee1304c879c0c91dddf8 Mon Sep 17 00:00:00 2001 From: teutoburg Date: Fri, 1 Dec 2023 15:35:39 +0100 Subject: [PATCH 3/7] Remove date from version.py --- scopesim/version.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scopesim/version.py b/scopesim/version.py index b7a3d7d7..1aa1954b 100644 --- a/scopesim/version.py +++ b/scopesim/version.py @@ -1,3 +1,2 @@ from importlib import metadata version = metadata.version(__package__) -date = '2023-11-07 12:00:00 GMT' From b5a3bb1c6406ce6ced57d3f59a19965a18eac43b Mon Sep 17 00:00:00 2001 From: teutoburg Date: Mon, 4 Dec 2023 14:50:14 +0100 Subject: [PATCH 4/7] Format changelog --- changelog.md | 319 ++++++++++++++++++++++++++++----------------------- 1 file changed, 173 insertions(+), 146 deletions(-) diff --git a/changelog.md b/changelog.md index 110f2d04..8ad14c34 100644 --- a/changelog.md +++ b/changelog.md @@ -1,148 +1,175 @@ -# Changes -- version : 0.7.1 - date : 2023-11-07 - comment : Bug fixes and better error report - changes : - - Improve the output of `scopsim.bug_report()` and automatically log that report when an unhandled error occurs: #287 - - Some bug fixes related to that same bug_report: #290, #291 - - Improve ScopeSim's README file: #294 - - Deal with warnings from the latest Python version 3.12: #289 - - Internally restructure and clean the test suite, make sure individual tests are not influencing each other: #285 - -- version : 0.7.0 - date : 2023-10-18 - comment : Off-by-one fix. - changes : - - Fix a long-standing bug regarding the internal implementation of WCS coordinates, which had multiple consequences, see #276 for details. - - This fix might break some existing codes using work-arounds for the bug described above. - -- version : 0.6.2 - date : 2023-09-14 - comment : Patch with bugfixes and code improvements - changes : - - Fix documentation on readthedocs.io: #269 - - Bug fixes related to plotting methods: #270 - - Formatting of code and documentation to meet community standards: #271 - - General refactoring, some in preparation of more substantial bug fixes: #272 - -- version : 0.6.1 - date : 2023-09-06 - comment : Patch with visualisation improvements and general refactoring - changes : - - Improvements to console representation and plot methods of various classes: #252, #260, #263, #266 - - Refactoring and changes to the inheritance of some classes: #261, #264, #265 - - Changes to the CI configuration to reduce fails caused by web request timeouts #255, #262 - -- version : 0.6.0 - date : 2023-07-10 - comment : Summer 2023 - changes : - - Rename MAORY to MORFEO #195 - - Fix NCPA and PSF affecting spectroscopy #238 - - Fix line widths bug #213 - - Add rectification utilities #237 - - Include grating efficiencies #215 - - Improve downloading of IRDB #234 - - Improve Windows support - -- version : 0.5.6 - date : 2023-03-13 - comment : Hotfix to include minimal set of SVO data - changes : - - Run notebooks in CI #183 - - Add SVO data because SVO is down #185 - - Fix OpticalTrain shared cmds attribute and fix docstring #186 - -- version : 0.5.5 - date : 2023-03-08 - comment : Hotfix for header keyword generators - changes : - - Return to § for incremental extension keywords #168 - - thin slit confusing dispersion direction #169 - - Adds unequal (i.e. 2x1) binning and option to rotate the CCD by integer multiples of 90 degrees #170 - - add filters and slits to wheels #176 - - psf_utils.rescale_kernel: fix for negative shifts #177 - - Fix bug where the ._meta_dicts can become longer than the .fields #178 - - Add test that Source() is additive identity #179 - - Allow astropy Units to be values in FITS headers. #180 - -- version : 0.5.4 - date : 2022-10-06 - comment : Hotfix for header keyword generators - github_pr_url : https://github.com/AstarVienna/ScopeSim/pull/166 - changes : - - incremental special characters for header keywords changed from `§`to `++` - - source object function calls are now given their own FITS header keyword FNSRCn (function-call source N) due to astropy not liking the combination of HIERARCH and CONTINUE keywords - -- version : 0.5.3 - date : 2022-09-29 - comment : Minor upgrade to Spec modes and to FITS keywords - github_pr_url : https://github.com/AstarVienna/ScopeSim/pull/165 - changes : - - Effect object ExtraFitsKeywords now has the ability to add keywords with incrementing index numbers based on the extension number - - FOV + FOVManager + FOVVolumes classes now accept aperture_id as an argument - - ApertureList effects object now has an apply_to function which splits the FOVVolumeList accordingly - -- version : 0.5.2 - date : 2022-08-25 - comment : Update of DLC server URL to scopesim.univie.ac.at - changes : - - Updated MANIFEST.in to include all the files needed by the basic_instrument test optical train - - Small update to allow iterative extension specific FITS header keywords. E.g. EXTNAME = DETn.DATA - -- version : 0.5.1 - date : 2022-07-12 - comment : Update of DLC server URL to scopesim.univie.ac.at - changes : +# Version 0.7.1 +**2023-11-07** + +Bug fixes and better error report + +## What's Changed +- Improve the output of `scopsim.bug_report()` and automatically log that report when an unhandled error occurs: https://github.com/AstarVienna/ScopeSim/pull/287 +- Some bug fixes related to that same bug_report: https://github.com/AstarVienna/ScopeSim/pull/290, https://github.com/AstarVienna/ScopeSim/pull/291 +- Improve ScopeSim's README file: https://github.com/AstarVienna/ScopeSim/pull/294 +- Deal with warnings from the latest Python version 3.12: https://github.com/AstarVienna/ScopeSim/pull/289 +- Internally restructure and clean the test suite, make sure individual tests are not influencing each other: https://github.com/AstarVienna/ScopeSim/pull/285 + +# Version 0.7.0 +**2023-10-18** + +Off-by-one fix. + +## What's Changed +- Fix a long-standing bug regarding the internal implementation of WCS coordinates, which had multiple consequences, see https://github.com/AstarVienna/ScopeSim/pull/276 for details. +- This fix might break some existing codes using work-arounds for the bug described above. + +# Version 0.6.2 +**2023-09-14** + +Patch with bugfixes and code improvements + +## What's Changed +- Fix documentation on readthedocs.io: https://github.com/AstarVienna/ScopeSim/pull/269 +- Bug fixes related to plotting methods: https://github.com/AstarVienna/ScopeSim/pull/270 +- Formatting of code and documentation to meet community standards: https://github.com/AstarVienna/ScopeSim/pull/271 +- General refactoring, some in preparation of more substantial bug fixes: https://github.com/AstarVienna/ScopeSim/pull/272 + +# Version 0.6.1 +**2023-09-06** + +Patch with visualisation improvements and general refactoring + +## What's Changed +- Improvements to console representation and plot methods of various classes: https://github.com/AstarVienna/ScopeSim/pull/252 , https://github.com/AstarVienna/ScopeSim/pull/260 , https://github.com/AstarVienna/ScopeSim/pull/263 , https://github.com/AstarVienna/ScopeSim/pull/266 +- Refactoring and changes to the inheritance of some classes: https://github.com/AstarVienna/ScopeSim/pull/261 , https://github.com/AstarVienna/ScopeSim/pull/264 , https://github.com/AstarVienna/ScopeSim/pull/265 +- Changes to the CI configuration to reduce fails caused by web request timeouts https://github.com/AstarVienna/ScopeSim/pull/255 , https://github.com/AstarVienna/ScopeSim/pull/262 + +# Version 0.6.0 +**2023-07-10** + +Summer 2023 + +## What's Changed +- Rename MAORY to MORFEO https://github.com/AstarVienna/ScopeSim/pull/195 +- Fix NCPA and PSF affecting spectroscopy https://github.com/AstarVienna/ScopeSim/pull/238 +- Fix line widths bug https://github.com/AstarVienna/ScopeSim/pull/213 +- Add rectification utilities https://github.com/AstarVienna/ScopeSim/pull/237 +- Include grating efficiencies https://github.com/AstarVienna/ScopeSim/pull/215 +- Improve downloading of IRDB https://github.com/AstarVienna/ScopeSim/pull/234 +- Improve Windows support + +# Version 0.5.6 +**2023-03-13** + +Hotfix to include minimal set of SVO data + +## What's Changed +- Run notebooks in CI https://github.com/AstarVienna/ScopeSim/pull/183 +- Add SVO data because SVO is down https://github.com/AstarVienna/ScopeSim/pull/185 +- Fix OpticalTrain shared cmds attribute and fix docstring https://github.com/AstarVienna/ScopeSim/pull/186 + +# Version 0.5.5 +**2023-03-08** + +Hotfix for header keyword generators + +## What's Changed +- Return to § for incremental extension keywords https://github.com/AstarVienna/ScopeSim/pull/168 +- thin slit confusing dispersion direction https://github.com/AstarVienna/ScopeSim/pull/169 +- Adds unequal (i.e. 2x1) binning and option to rotate the CCD by integer multiples of 90 degrees https://github.com/AstarVienna/ScopeSim/pull/170 +- add filters and slits to wheels https://github.com/AstarVienna/ScopeSim/pull/176 +- psf_utils.rescale_kernel: fix for negative shifts https://github.com/AstarVienna/ScopeSim/pull/177 +- Fix bug where the ._meta_dicts can become longer than the .fields https://github.com/AstarVienna/ScopeSim/pull/178 +- Add test that Source() is additive identity https://github.com/AstarVienna/ScopeSim/pull/179 +- Allow astropy Units to be values in FITS headers. https://github.com/AstarVienna/ScopeSim/pull/180 + +# Version 0.5.4 +**2022-10-06** + +Hotfix for header keyword generators + +## What's Changed +- incremental special characters for header keywords changed from `§`to `++` +- source object function calls are now given their own FITS header keyword FNSRCn (function-call source N) due to astropy not liking the combination of HIERARCH and CONTINUE keywords + +# Version 0.5.3 +**2022-09-29** + +Minor upgrade to Spec modes and to FITS keywords + +## What's Changed +- Effect object ExtraFitsKeywords now has the ability to add keywords with incrementing index numbers based on the extension number +- FOV + FOVManager + FOVVolumes classes now accept aperture_id as an argument +- ApertureList effects object now has an apply_to function which splits the FOVVolumeList accordingly + +# Version 0.5.2 +**2022-08-25** + +Update of DLC server URL to scopesim.univie.ac.at + +## What's Changed +- Updated MANIFEST.in to include all the files needed by the basic_instrument test optical train +- Small update to allow iterative extension specific FITS header keywords. E.g. EXTNAME = DETn.DATA + +# Version 0.5.1 +**2022-07-12** + +Update of DLC server URL to scopesim.univie.ac.at + +## What's Changed - Changed URL in defaults.yaml file -- version : 0.5.0 - date : 2022-04-22 - comment : IFU Spectroscopy mode for METIS - changes : - - The IFU effects for the METIS LMS mode - - Effects for including extra FITS keywords for the MICADO-ESO delivery - - Minor change to the OpticalTrain.readout method to allow custom FITS keywords to be added - - #-strings for accessing the .meta dict contents of Effect objects - - added the tests.mocks.basic_instrument package for test purposes - - refactored package downloading functions in server.database - - Packages can now be downloaded directly from a git commit - - new RTDs structure for docs based on ipynb files - - change to SkyCalcTERCurve to use local files to avoid calling the skycalc server - - New Effects: - - MetisLMSSpectralTraceList(SpectralTraceList) - - MetisLMSSpectralTrace(SpectralTrace) - - MetisLMSImageSlicer(ApertureMask) - - MetisLMSEfficiency(TERCurve) - - ExtraFitsKeywords(Effect) - - EffectsMetaKeywords(ExtraFitsKeywords) - - SourceDescriptionFitsKeywords(ExtraFitsKeywords) - - SimulationConfigFitsKeywords(ExtraFitsKeywords) - - SpectralTraceListWheel(Effect) - - Bias(Effect) - -- version : 0.4.1rc1 - date : 2022-03-25 - comment : Updates since METIS science team release - changes : - - New Effects: - - TopHatFilterCurve - - TopHatFilterWheel - - SpanishVOFilterWheel - - DetectorList x(y)_size columns now accept units of pixel and mm - - warnings and errors now handled using python logging package - - minor bug fixes - -- version : 0.4.0 - date : 2022-03-03 - comment : Version released for the METIS science team - changes : - - release of new spectroscopy effect SpectalTraceList - - moved individual spectral trace code to utils file - - rewritten FovManager class - - added make_cube, make_image, make_spectrum to FieldOfView class - - removed fov_grid from Effects - - added new detector array z_order section (900-class effects) - - wavelength-dependent PSF in spectroscopic modes - - proper handling of cube sources - - headers for output files +# Version 0.5.0 +**2022-04-22** + +IFU Spectroscopy mode for METIS + +## What's Changed +- The IFU effects for the METIS LMS mode +- Effects for including extra FITS keywords for the MICADO-ESO delivery +- Minor change to the OpticalTrain.readout method to allow custom FITS keywords to be added +- #-strings for accessing the .meta dict contents of Effect objects +- added the tests.mocks.basic_instrument package for test purposes +- refactored package downloading functions in server.database +- Packages can now be downloaded directly from a git commit +- new RTDs structure for docs based on ipynb files +- change to SkyCalcTERCurve to use local files to avoid calling the skycalc server + +### New Effects: +- MetisLMSSpectralTraceList(SpectralTraceList) +- MetisLMSSpectralTrace(SpectralTrace) +- MetisLMSImageSlicer(ApertureMask) +- MetisLMSEfficiency(TERCurve) +- ExtraFitsKeywords(Effect) +- EffectsMetaKeywords(ExtraFitsKeywords) +- SourceDescriptionFitsKeywords(ExtraFitsKeywords) +- SimulationConfigFitsKeywords(ExtraFitsKeywords) +- SpectralTraceListWheel(Effect) +- Bias(Effect) + +# Version 0.4.1rc1 +**2022-03-25** + +Updates since METIS science team release + +## What's Changed +- DetectorList x(y)_size columns now accept units of pixel and mm +- warnings and errors now handled using python logging package +- minor bug fixes + +### New Effects: +- TopHatFilterCurve +- TopHatFilterWheel +- SpanishVOFilterWheel + +# Version 0.4.0 +**2022-03-03** + +Version released for the METIS science team + +## What's Changed +- release of new spectroscopy effect SpectalTraceList +- moved individual spectral trace code to utils file +- rewritten FovManager class +- added make_cube, make_image, make_spectrum to FieldOfView class +- removed fov_grid from Effects +- added new detector array z_order section (900-class effects) +- wavelength-dependent PSF in spectroscopic modes +- proper handling of cube sources +- headers for output files From ee648d50f9abf890dd1a04a308c7dd012f229a86 Mon Sep 17 00:00:00 2001 From: teutoburg Date: Mon, 4 Dec 2023 15:02:48 +0100 Subject: [PATCH 5/7] Rename changelog.md to uppercase --- changelog.md => CHANGELOG.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename changelog.md => CHANGELOG.md (100%) diff --git a/changelog.md b/CHANGELOG.md similarity index 100% rename from changelog.md rename to CHANGELOG.md From 992a18558aed94ab8f87dcb2d1fd138bd0c5acb0 Mon Sep 17 00:00:00 2001 From: teutoburg Date: Mon, 4 Dec 2023 15:09:01 +0100 Subject: [PATCH 6/7] Include more information from corresponding GH releases --- CHANGELOG.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ad14c34..e9ab235e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ Bug fixes and better error report - Deal with warnings from the latest Python version 3.12: https://github.com/AstarVienna/ScopeSim/pull/289 - Internally restructure and clean the test suite, make sure individual tests are not influencing each other: https://github.com/AstarVienna/ScopeSim/pull/285 +**Full Changelog**: https://github.com/AstarVienna/ScopeSim/compare/v0.7.0...v0.7.1 + # Version 0.7.0 **2023-10-18** @@ -19,6 +21,8 @@ Off-by-one fix. - Fix a long-standing bug regarding the internal implementation of WCS coordinates, which had multiple consequences, see https://github.com/AstarVienna/ScopeSim/pull/276 for details. - This fix might break some existing codes using work-arounds for the bug described above. +**Full Changelog**: https://github.com/AstarVienna/ScopeSim/compare/v0.6.2...v0.7.0 + # Version 0.6.2 **2023-09-14** @@ -30,6 +34,8 @@ Patch with bugfixes and code improvements - Formatting of code and documentation to meet community standards: https://github.com/AstarVienna/ScopeSim/pull/271 - General refactoring, some in preparation of more substantial bug fixes: https://github.com/AstarVienna/ScopeSim/pull/272 +**Full Changelog**: https://github.com/AstarVienna/ScopeSim/compare/v0.6.1...v0.6.2 + # Version 0.6.1 **2023-09-06** @@ -40,6 +46,8 @@ Patch with visualisation improvements and general refactoring - Refactoring and changes to the inheritance of some classes: https://github.com/AstarVienna/ScopeSim/pull/261 , https://github.com/AstarVienna/ScopeSim/pull/264 , https://github.com/AstarVienna/ScopeSim/pull/265 - Changes to the CI configuration to reduce fails caused by web request timeouts https://github.com/AstarVienna/ScopeSim/pull/255 , https://github.com/AstarVienna/ScopeSim/pull/262 +**Full Changelog**: https://github.com/AstarVienna/ScopeSim/compare/v0.6.0...v0.6.1 + # Version 0.6.0 **2023-07-10** @@ -54,6 +62,11 @@ Summer 2023 - Improve downloading of IRDB https://github.com/AstarVienna/ScopeSim/pull/234 - Improve Windows support +## New Contributors +* @teutoburg made their first contribution in https://github.com/AstarVienna/ScopeSim/pull/216 + +**Full Changelog**: https://github.com/AstarVienna/ScopeSim/compare/v0.5.6...v0.6.0 + # Version 0.5.6 **2023-03-13** @@ -67,7 +80,7 @@ Hotfix to include minimal set of SVO data # Version 0.5.5 **2023-03-08** -Hotfix for header keyword generators +v0.5.5 is the first release by the 2023 A*Vienna team ## What's Changed - Return to § for incremental extension keywords https://github.com/AstarVienna/ScopeSim/pull/168 From 11bf1d22509350ae249d92f38abde7366d823cb6 Mon Sep 17 00:00:00 2001 From: teutoburg Date: Wed, 20 Dec 2023 00:45:11 +0100 Subject: [PATCH 7/7] Remove minimumdependencies badge --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 57a82266..a036dec5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ ## A telescope observation simulator for Python [![Build Status](https://github.com/AstarVienna/ScopeSim/actions/workflows/tests.yml/badge.svg)](https://github.com/AstarVienna/ScopeSim/actions/workflows/tests.yml/badge.svg) -[![Build Status](https://github.com/AstarVienna/ScopeSim/actions/workflows/minimumdependencies.yml/badge.svg)](https://github.com/AstarVienna/ScopeSim/actions/workflows/minimumdependencies.yml/badge.svg) [![Build Status](https://github.com/AstarVienna/ScopeSim/actions/workflows/notebooks_with_irdb_download.yml/badge.svg)](https://github.com/AstarVienna/ScopeSim/actions/workflows/notebooks_with_irdb_download.yml/badge.svg) [![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/) ![dev version](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2FAstarVienna%2FScopeSim%2Fdev_master%2Fpyproject.toml&query=%24.tool.poetry.version&label=dev%20version&color=teal)