Skip to content

Latest commit

 

History

History
435 lines (347 loc) · 25.3 KB

CHANGELOG.md

File metadata and controls

435 lines (347 loc) · 25.3 KB

Version 0.9.1

2024-11-26

Many small but important fixes and improvements that were missing in v0.9.0.

What's Changed

Changes to or addition of Effects

  • Improve z_order by @teutoburg in #500
  • Fix FieldVaryingPSF by @hugobuddel in #506

New Features or Improvements

  • Enable DeprecationWarnings by default by @teutoburg in #508
  • Minor fixes for ScopeSimple by @teutoburg in #510
  • Add support for package and mode status keywords by @teutoburg in #509

Dependency Changes

  • Require Templates 0.6.0 and sync from there by @teutoburg in #501
  • Bump tornado from 6.4.1 to 6.4.2 by @dependabot in #511

Documentation Improvements

  • Cleanup example notebooks by @teutoburg in #496

Other Changes

  • Added source scaling test by @janusbrink in #495
  • Move logging config to separate yaml, configure individual loggers by @teutoburg in #502
  • Ignore strip_cdata warning by lxml, introduced by bs4 by @hugobuddel in #504
  • Fix #490: make rescale_imagehdu more robust against dimension mismatches by @oczoske in #503
  • Make random test deterministic by @hugobuddel in #512
  • Fix two more issues with ScopeSimple by @teutoburg in #514

Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.9.0...v0.9.1

Version 0.9.0

2024-11-10

Important

The minimum required Python version for this package is now 3.10 (see Dependency Changes). Python 3.13 is currently not supported as it causes issues on some platforms that are not yet fully understood. We are currently working on fixing 3.13 support.

What's Changed

API Changes

  • ScopeSimple by @teutoburg in #426
  • Make DataContainer an attribute of Effect by @teutoburg in #482

New Features or Improvements

  • Replace NaNs in images, log warning by @teutoburg in #466
  • Make observe work with no source (empty field) by @oczoske in #483
  • Add a new top level to CMDS nested mapping to store current simulation run settings by @teutoburg in #493

Dependency Changes

  • Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows by @dependabot in #465
  • Drop support for Python 3.9 by @teutoburg in #471
  • Bump some dependency versions by @teutoburg in #472
  • Use sphinx-book-theme for RTD by @teutoburg in #473
  • Bump two dependencies, use tqdm.auto by @teutoburg in #477
  • Bump scipy from 1.11.4 to 1.14.1 and httpx from 0.23.0 to 0.26.0 by @teutoburg in #480
  • Remove skycalc_cli from dependencies by @teutoburg in #481
  • Bump notebook from 7.0.7 to 7.2.2 by @dependabot in #486
  • Limit supported Python version to 3.10 <= x < 3.13 by @teutoburg in #497

Documentation Improvements

  • Update source_from_images.ipynb by @hugobuddel in #469
  • Update example notebook to properly show the same observation by @hugobuddel in #476

Other Changes

  • Add SourceField and subclasses, rework Source by @teutoburg in #405
  • Some small improvement, mostly focused on numpy by @teutoburg in #467
  • Don't fail on symlinks for packages path by @teutoburg in #474
  • Cleanup DataContainer in preparation for Effect refactoring by @teutoburg in #478
  • Fix Poisson NaN bug and clarify by @hugobuddel in #484
  • Source object data scaling fix by @janusbrink in #485
  • Workaround for #491 metadata.requires can return None by @hugobuddel in #492
  • Fixed cdelt calculation when scaling an imageHDU by @janusbrink in #490

New Contributors

  • @janusbrink made their first contribution in #485

Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.8.4...v0.9.0

Version 0.8.4

2024-08-29

Last version to support Python 3.9

This includes many small and not-so-small fixes and improvements, which are made available here to Python 3.9, while a few more major changes will be released soon as Version 0.9.0, but without support for Python 3.9.

What's Changed

Changes to or addition of Effects

  • Test all cases of DIT & NDIT vs. exptime and AutoExposure by @teutoburg in #428
  • Avoid in-place operations because of dtype conflicts by @teutoburg in #432
  • Split PSF and Electronic effects into subpackages by @teutoburg in #434
  • Improve SVO filter handling by @teutoburg in #454
  • Added function to round the edges of square PSF kernels by @astronomyk in #459

Dependency Changes

  • Bump tornado from 6.4 to 6.4.1 by @dependabot in #427
  • Bump urllib3 from 1.26.18 to 1.26.19 by @dependabot in #429
  • Bump certifi from 2023.11.17 to 2024.7.4 by @dependabot in #435
  • Bump zipp from 3.17.0 to 3.19.1 by @dependabot in #436
  • Bump setuptools from 69.0.2 to 70.0.0 by @dependabot in #437
  • Bump some dependencies to get rid of some indirect ones by @teutoburg in #445
  • Use pooch for download_example_data by @teutoburg in #446
  • Bump matplotlib, synphot, pyerfa by @teutoburg in #450

Other Changes

  • Formatting and Refactoring of nghxrg.py by @teutoburg in #431
  • Rename DetectorArray ➡️ DetectorManager plus Docstrings and Refactoring by @teutoburg in #423
  • Enlarge initial Field of View to suppord wide-field imagers by @hugobuddel in #433
  • Fix some exposure things by @hugobuddel in #440
  • Deepcopy readout, to prevent it being overwritten. Closes #439 by @hugobuddel in #441
  • Allow star to be shifted by @hugobuddel in #443
  • Attempt to catch crypto warning by @teutoburg in #444
  • Use new main branch for DevOps workflows by @teutoburg in #448
  • Refactor example_data_utils by @teutoburg in #447
  • Remove unused function return_latest_github_actions_jobs_status() by @teutoburg in #449
  • Remove remaining master references by @teutoburg in #460
  • Add units to DataContainer table directly. by @hugobuddel in #461

Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.8.3...v0.8.4

Version 0.8.3

2024-06-02

Mostly a small hotfix to allow chaning of exptime in AutoExposure, plus some housekeeping.

What's Changed

Dependency Changes

  • Bump requests from 2.31.0 to 2.32.0 by @dependabot in #417
  • Update astropy version by @hugobuddel in #418

Other Changes

  • Install ScopeSim_Data in the poetry environment by @hugobuddel in #416
  • Do not ignore PytestRemovedIn8Warning. by @hugobuddel in #420
  • Fix configure_logging by using function scope. by @hugobuddel in #422
  • Fix exptime dit ndit bug by @teutoburg in #424

Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.8.2...v0.8.3

Version 0.8.2

2024-05-14

What's Changed

New Features or Improvements

  • Cap negative values below 0 before quantifying to an unsigned int. by @hugobuddel in #414

Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.8.1...v0.8.2

Version 0.8.1

2024-05-13

Small changes required for the first METIS Simulated data release.

What's Changed

New Features or Improvements

  • Do something sensible when a trace falls outside the FoV. by @hugobuddel in #407
  • Fix specref not always an integer by @JenniferKarr in #411

Dependency Changes

  • Bump tqdm from 4.66.1 to 4.66.3 by @dependabot in #409
  • Bump jinja2 from 3.1.3 to 3.1.4 by @dependabot in #410

Documentation Improvements

  • Fix dev_master -> main in readme by @teutoburg in #406

New Contributors

  • @JenniferKarr made their first contribution in #411

Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.8.0...v0.8.1

Version 0.8.0

2024-04-15

Many small fixes, some new effects, some important fixes related to coordinates, and lots of cleanup.

What's Changed

API Changes

  • Add more useful error message to download functions by @teutoburg in #309
  • Migrate from requests ➡️ httpx by @teutoburg in #312
  • Improve logging by @teutoburg in #339
  • Use ChainMap for UserCommands by @teutoburg in #375

Changes to or addition of Effects

  • Add Shutter effect by @teutoburg in #304
  • Add Quantization effect by @teutoburg in #308
  • Implement apply decision for quantization by @teutoburg in #396

New Features or Improvements

  • Add basic sky coordinates (WCS) to ScopeSim output by @teutoburg in #307
  • Include more progress bars by @teutoburg in #311
  • Further improvements to logging by @teutoburg in #349
  • Add IFU cube rectification and more by @oczoske in #258
  • Resolve recursive bang-strings by @astronomyk in #351
  • Also show scopsim version in bug_report by @hugobuddel in #394

Dependency Changes

  • Improve CI run for notebooks by @teutoburg in #300
  • Migrate to Poetry by @teutoburg in #314
  • Bump nbconvert from 6.4.5 to 6.5.1 by @dependabot in #315
  • Bump jupyter-server from 1.13.5 to 2.11.2 by @dependabot in #316
  • Bump requests from 2.28.2 to 2.31.0 by @dependabot in #317
  • Upgrade numpy to 1.26.3 and some other dependencies by @hugobuddel in #336
  • Drop support for Python 3.8 by @teutoburg in #327
  • Bump jinja2 from 3.1.2 to 3.1.3 by @dependabot in #338
  • Bump jupyter-lsp from 2.2.1 to 2.2.2 by @dependabot in #344
  • Bump notebook from 7.0.6 to 7.0.7 by @dependabot in #347
  • Bump jupyterlab from 4.0.10 to 4.0.11 by @dependabot in #346
  • Bump pillow from 10.1.0 to 10.2.0 by @dependabot in #350
  • Some small dependency- and version-related changes by @teutoburg in #363
  • Bump pillow from 10.2.0 to 10.3.0 by @dependabot in #393
  • Bump idna from 3.6 to 3.7 by @dependabot in #398

Documentation Improvements

  • Add config file for auto-generated release notes by @teutoburg in #301
  • Move changelog to dedicated file, add more readme badges by @teutoburg in #302
  • Use PyPI badge for Python versions by @teutoburg in #326
  • Replace "Telescopy" with "ScopeSim" in README by @teutoburg in #348
  • Also make pdf and epub by @hugobuddel in #370
  • Fix RTD Poetry configuration by @teutoburg in #379

Other Changes

  • Some refactoring of z_order fuctionality by @teutoburg in #303
  • Fix notebook tests by @teutoburg in #320
  • Include ScopeSim_Data in notebook tests by @hugobuddel in #324
  • Allow runnotebooks.sh to run without arguments by @hugobuddel in #330
  • Revert "Also use poetry for calling jupytext" by @hugobuddel in #334
  • Use new linkchecker action by @hugobuddel in #335
  • Properly stack stars by @hugobuddel in #337
  • Remove obsolete files by @teutoburg in #340
  • Rearrange CI tests by @teutoburg in #341
  • Add test to see whether all Python files can be imported. by @hugobuddel in #343
  • Ensure logging messages don't reach the root logger by @hugobuddel in #345
  • Sort corner pixels to deal with negative CDELTs by @teutoburg in #321
  • Use logger instead of print by @hugobuddel in #353
  • Minor logging fixes in download module by @teutoburg in #354
  • Add DeprecationWarnings for fov_grid methods by @teutoburg in #313
  • Delete redundant vesion.py by @teutoburg in #355
  • Minor formatting changes by @teutoburg in #358
  • Add more debug logging by @teutoburg in #356
  • Further harmonize filename kwarg by @teutoburg in #361
  • Minor cleanup in user_commands.py by @teutoburg in #362
  • Replace printing with logging by @teutoburg in #360
  • Removing currsys as global parameter by @astronomyk in #364
  • Additional hotfix for the removed currsys by @astronomyk in #368
  • More cmds and kwargs stuff by @hugobuddel in #369
  • Remove unused and broken make_imagehdu_from_table() by @hugobuddel in #371
  • Fixes needed for IFU/LMS mode by @hugobuddel in #376
  • Do not set user commands as rc.currsys by @hugobuddel in #377
  • Weed out unused utils functions by @teutoburg in #381
  • Refactor some rarely-used utils functions by @teutoburg in #382
  • Make required_keys always a set by @teutoburg in #383
  • Some minor improvements and refactoring in the FOVManager by @teutoburg in #384
  • Slightly more sophisticated use of numpy by @teutoburg in #385
  • Remove unsatisfied assert by @hugobuddel in #386

Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.7.1...v0.8.0

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: #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

Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.7.0...v0.7.1

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 #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

Patch with bugfixes and code improvements

What's Changed

  • 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

Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.6.1...v0.6.2

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: #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

Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.6.0...v0.6.1

Version 0.6.0

2023-07-10

Summer 2023

What's Changed

  • 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

New Contributors

  • @teutoburg made their first contribution in #216

Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.5.6...v0.6.0

Version 0.5.6

2023-03-13

Hotfix to include minimal set of SVO data

What's Changed

  • 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

2023-03-08

v0.5.5 is the first release by the 2023 A*Vienna team

What's Changed

  • 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

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

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