2026-01-20
Maintenance and bugfix release containing some important fixes regarding flux values.
- Clean up FieldVaryingPSF by @oczoske in AstarVienna#833
- Rename lamp off state from 'none' to 'off' by @oczoske in AstarVienna#835
- Remove numpy deprecation warning by @oczoske in AstarVienna#841
- Fix CUNIT not respected in FVPSF effect by @teutoburg in AstarVienna#851
- Transmission curves to extrapolate with value 0 by @oczoske in AstarVienna#859
- Extrapolate all transmissions with 0 by @oczoske in AstarVienna#863
- Fix Astropy warning about HIERARCH keywords by @teutoburg in AstarVienna#864
- Fix WCU flux mismatch by @oczoske in AstarVienna#860
- PSFs associated to PupilMaskWheel, download from server by @oczoske in AstarVienna#838
ReferencePixelBordernewly implemented by @oczoske in AstarVienna#840- Interactive updating of SkycalcTERCurve by @oczoske in AstarVienna#853
- Bump the dev-dependencies group with 2 updates by @dependabot[bot] in AstarVienna#831
- Bump pyyaml from 6.0.2 to 6.0.3 in the main-dependencies group by @dependabot[bot] in AstarVienna#830
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in AstarVienna#837
- Bump the dev-dependencies group with 2 updates by @dependabot[bot] in AstarVienna#843
- Bump fonttools from 4.58.4 to 4.61.0 by @dependabot[bot] in AstarVienna#844
- Bump urllib3 from 2.5.0 to 2.6.0 by @dependabot[bot] in AstarVienna#849
- Bump synphot from 1.6.0 to 1.6.1 in the main-dependencies group by @dependabot[bot] in AstarVienna#854
- Bump the dev-dependencies group with 2 updates by @dependabot[bot] in AstarVienna#855
- Bump pytest-cov from 6.3.0 to 7.0.0 by @dependabot[bot] in AstarVienna#856
- Bump urllib3 from 2.6.0 to 2.6.3 by @dependabot[bot] in AstarVienna#858
- Sync dependencies with ecosystem by @teutoburg in AstarVienna#861
- Allow Python 3.14, sync dependencies by @teutoburg in AstarVienna#865
- Fix email domain for Kieran Leschinski by @teutoburg in AstarVienna#857
- Fix formatting and docstrings, add change messages by @teutoburg in AstarVienna#862
- Uppercase HIERARCH keywords by @teutoburg in AstarVienna#866
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.11.1...v0.11.2
2025-10-26
- Allow log level to be lower case by @oczoske in AstarVienna#811
- Rename
Effect.__getitem__()➡️.get_from_meta()by @teutoburg in AstarVienna#815 - Improve handling of BUNIT in FOV by @teutoburg in AstarVienna#822
- Fix BUNIT not added for Source from image + flux by @teutoburg in AstarVienna#823
- Catch extra special units by @teutoburg in AstarVienna#824
- No ABmag in BUNIT by @teutoburg in AstarVienna#826
- Use lower case photlam for headers by @oczoske in AstarVienna#827
- Inter-pixel capacitance effect by @oczoske in AstarVienna#806
- Compute METIS/LMS predisperser angle for given central wavelength by @oczoske in AstarVienna#812
- Local TER library by @oczoske in AstarVienna#765
- Bump jupyterlab from 4.2.5 to 4.4.8 by @dependabot[bot] in AstarVienna#805
- Bump sphinx from 7.3.7 to 8.1.3 by @dependabot[bot] in AstarVienna#809
- Fix some docstring formatting, add version info by @teutoburg in AstarVienna#828
- Refactor data collections download by @teutoburg in AstarVienna#810
- Replace
np.trapzwithscipy.integrate.trapezoidby @teutoburg in AstarVienna#813 - No longer ignore some warnings by @teutoburg in AstarVienna#814
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.11.0...v0.11.1
2025-09-21
Large release in preparation of the ScopeSim Workshop happening next week. See below for important changes and deprecations.
- Finally add support for Python 3.13 and Numpy 2.
- Partially resolve circular dependency between ScopeSim and ScopeSim_Templates
- Several new effects in preparation for MOSAIC simulations (#796).
- New and improved plotting methods on some classes for easier and nicer visualisation of results.
- Deprecate downloading IRDB packages directly from GitHub by @teutoburg in AstarVienna#727
Installing IRDB packages directly from GitHub using download_packages() is deprecated.
We're not aware that this functionality saw any significant use by the community.
If you do need to install unreleased IRDB packages from the GitHub repository (and you know why you need that!), the same result can be achieved by cloning the repository (or your own fork) and then use sim.link_irdb(<path_to_clone>) to point ScopeSim there.
That solution has the added benefit that you can keep thing in sync through git alone, which is more reliable anyway.
The relevant functionality will be removed in version 0.12.0, at which point attempting to use download_packages() with a GitHub ref will result in an error.
Passing a list as the first argument to download_example_data() has been deprecated since version 0.8.4 and will now result in a TypeError being raised.
This is to catch any remaining uses of the old call signature of this function.
From version 0.12.0 onwards, arguments will be silently forwarded to the file retriever, meaning if a list is still passed at that point, it will result in an error further downstream.
- Deprecate direct attribute access in
SourceFieldby @teutoburg in AstarVienna#733
After the SourceField refactor in version 0.9.0, it was still possible to access any item of the underlying data structur (Table or ImageHDU) directly through the SourceField via a standard dict-like syntax.
This was retained for backwards compatibility, because some code still relied on this functionality.
It does however have the potential to leade to some hard-to-track bugs and is generally an unclean solution, which is why we have been working behind the scenes to slowly remove all internal code that still uses this feature.
Now because this is related to how the Source object might be put together in user code, we're using a more carefuly approach in deprecating this, to avoid breaking existing code for no urgent reason.
We're thus activating a PendingDeprecationWarning now, which should give users an advanced warning that we will probably fully deprecate this in the future.
If you do encounter this warning, please try to use the .field attribute to explicitly access the underlying data structur before using dict-like lookup on it.
- Improve handling of DeprecationWarnings by @teutoburg in AstarVienna#730
- Remove obsolete code by @teutoburg in AstarVienna#737
- Accept filename and relative path as well as absolute path by @oczoske in AstarVienna#758
- Fix creation of cube source from file name by @teutoburg in AstarVienna#559
- Fix WCU radiometry by @oczoske in AstarVienna#754
- Use
RegularGridInterpolatorfor proper extrapolation of small PSF images by @oczoske in AstarVienna#798
- Functionality for MOSAIC minimum viable product by @oczoske in AstarVienna#796
- Add plotter utils functions by @teutoburg in AstarVienna#734
- Add
.plot()method toImagePlaneby @teutoburg in AstarVienna#735 - Improve cube plotter by @teutoburg in AstarVienna#736
- Bump synphot from 1.5.0 to 1.6.0 by @teutoburg in AstarVienna#713
- Minor bumps on a few dependencies by @teutoburg in AstarVienna#718
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in AstarVienna#756
- Update internal dependencies more often by @teutoburg in AstarVienna#769
- Bump pyyaml from 6.0.1 to 6.0.2 by @dependabot[bot] in AstarVienna#771
- Bump lxml from 5.2.2 to 5.4.0 by @dependabot[bot] in AstarVienna#772
- Refine dependabot configuration by @teutoburg in AstarVienna#780
- Bump the dev-dependencies group with 8 updates by @dependabot[bot] in AstarVienna#782
- Update to Poetry 2 based pyproject.toml, update workflows by @teutoburg in AstarVienna#783
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in AstarVienna#786
- Bump packaging from 23.2 to 25.0 by @teutoburg in AstarVienna#794
- Bump astar-utils from 0.3.3 to 0.3.4 by @dependabot[bot] in AstarVienna#791
- Remove semicircular dependency on ScopeSim_Templates by @teutoburg in AstarVienna#799
- Allow numpy 2.x by @teutoburg in AstarVienna#784
- Add support for Python 3.13 by @teutoburg in AstarVienna#800
- Remove mention of deprecated GitHub download from docs by @teutoburg in AstarVienna#745
- Fix toml classifiers and URLs by @teutoburg in AstarVienna#795
- Docstrings, formatting, linting by @teutoburg in AstarVienna#802
- Ignore a random DeprecationWarning from Pillow by @teutoburg in AstarVienna#715
- Various typing fixes by @teutoburg in AstarVienna#728
- Fix locally failing mock path test by @teutoburg in AstarVienna#729
- Refactor
flatten_dict()by @teutoburg in AstarVienna#725 - Remove empty
spectrograph.pyby @teutoburg in AstarVienna#738 - Split
FieldOfViewinto subclasses by @teutoburg in AstarVienna#739 - Remove obsolete
fov_manager_utils.pyand tests by @teutoburg in AstarVienna#740 - Remove obsolete
PoorMansHeaderby @teutoburg in AstarVienna#741 - Remove some unused code by @teutoburg in AstarVienna#744
- Remove unused spectroscopy integration tests by @teutoburg in AstarVienna#746
- Remove
Effect.fov_grid()in base class by @teutoburg in AstarVienna#747 - Fix CI comments by @hugobuddel in AstarVienna#748
- Add basic pylint config in pyproject.toml by @teutoburg in AstarVienna#760
- Update workflows by @teutoburg in AstarVienna#801
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.10.0...v0.11.0
2025-06-27
Large release before the summer, with many improvements and also breaking changes, please make sure to also update your IRDB packages accordingly!
- Many new features, including the "simplified IFU cube readout" mode.
- More physical treatment of the "electrons to ADU" process, including different gain values (#604).
- Extensive refactoring and many many bug fixes.
- More consistency across different classes with similar attributes.
- Improved treatment of flux units (still WIP, see #662).
- Many improvements to visual outputs (especially in notebooks), a few new progress bars in long-running loops.
- Refactor FOV, add
BackgroundSourceFieldby @teutoburg in AstarVienna#610 - Deprecate
FieldOfView.spectraby @teutoburg in AstarVienna#653 - Deprecate adding a
Tabledirectly to anImagePlaneby @teutoburg in AstarVienna#657 - Implement simplified IFU mode with cube readout by @teutoburg in AstarVienna#654
- Rename
CubeSourceField.waveto.wavesetfor consistency by @teutoburg in AstarVienna#666 - Rename
SummedExposure➡️ExposureIntegrationby @oczoske in AstarVienna#701 - Change
.waveto.wavesetby @oczoske in AstarVienna#707
- Fix BUNIT in
FieldOfViewby @teutoburg in AstarVienna#659 - Fix source spectral resolution by @oczoske in AstarVienna#669
- Fix METIS LSF axes orientation by @teutoburg in AstarVienna#673
- Remove "per pixel" from BUNIT for consistency by @teutoburg in AstarVienna#684
- Fix search path when updating inst pkgs path by @teutoburg in AstarVienna#710
- ADConversion effect by @oczoske in AstarVienna#455
- Add pretty repr to
Effectbase class to avoid cmds spam by @teutoburg in AstarVienna#661 - Allow PSF interpolation to be switched off by @teutoburg in AstarVienna#671
- Implement line spread function for IFU cube mode by @oczoske in AstarVienna#670
- Convert to signed float before chopnodcombine by @oczoske in AstarVienna#687
- Add
zeros_from_header()utils function by @teutoburg in AstarVienna#656 - Add
._repr_html_()magic method toOpticalTrainfor nice notebook display by @teutoburg in AstarVienna#667 - Add version requirement support for IRDB packages by @teutoburg in AstarVienna#660
- Use progress bar for spectral traces by @teutoburg in AstarVienna#674
- More logging and another progress bar by @teutoburg in AstarVienna#697
- Bump actions/download-artifact from 4.2.1 to 4.3.0 by @dependabot in AstarVienna#647
- Bump numpy, astropy, httpx and synphot by @teutoburg in AstarVienna#652
- Bump setuptools from 75.3.0 to 78.1.1 by @dependabot in AstarVienna#663
- Bump tornado to get rid of security warning by @teutoburg in AstarVienna#664
- Bump versions of internal dependencies by @teutoburg in AstarVienna#672
- Bring dependency versions back in sync with lock file by @teutoburg in AstarVienna#675
- Bump a few minor dependencies by @teutoburg in AstarVienna#681
- Bump requests from 2.32.2 to 2.32.4 by @dependabot in AstarVienna#690
- Bump spextra from 0.41.3 to 0.41.4 by @teutoburg in AstarVienna#695
- Bump urllib3 from 1.26.19 to 2.5.0 by @dependabot in AstarVienna#703
- Bump astar-utils from 0.3.2 to 0.3.3 by @teutoburg in AstarVienna#704
- Bump internal dependencies by @teutoburg in AstarVienna#711
- Add proper error message for removed
Quantizationeffect by @teutoburg in AstarVienna#676 - Add version info in various docstrings by @teutoburg in AstarVienna#678
- Minor cleanup of docs by @teutoburg in AstarVienna#677
- Add units flow page to docs by @teutoburg in AstarVienna#689
- Make better use of
SourceFieldinFieldOfViewby @teutoburg in AstarVienna#651 - Remove obsolete
FovVolumeList.detector_limitsby @teutoburg in AstarVienna#655 - Add replaceholder workflow by @teutoburg in AstarVienna#688
- Remove unused private attributes from
OpticsManagerby @teutoburg in AstarVienna#694 - Refactor and cleanup in
OpticalElementby @teutoburg in AstarVienna#700
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.9.3...v0.10.0
2025-04-25
Addition of average exposure effect by @oczoske in AstarVienna#603, otherwise mostly bugfixes, small quality-of-life improvements and some internal refactoring.
- Fix broken flux scaling for extended sources in spectroscopy by @teutoburg in AstarVienna#638
- Implement average exposure effect by @oczoske in AstarVienna#603
- Remove spurious base classes by @teutoburg in AstarVienna#621
- Make setting the
inst_pkgspath more convenient by @teutoburg in AstarVienna#627 - Check if all ref keys are found in spectra by @teutoburg in AstarVienna#633
- Ignore non-package directories for bug_report by @teutoburg in AstarVienna#631
- Switch off spammy INFO logs from httpx by @teutoburg in AstarVienna#642
- Bump beautifulsoup to 4.13.3 to get rid of deprecation warning by @teutoburg in AstarVienna#600
- Disable GitHub-based webtests by default by @teutoburg in AstarVienna#601
- Bump actions/download-artifact from 4.1.9 to 4.2.1 by @dependabot in AstarVienna#602
- Bump python-dateutil from 2.8.2 to 2.9.0.post0 by @teutoburg in AstarVienna#628
- Bump h11 from 0.14.0 to 0.16.0 by @dependabot in AstarVienna#645
- Remove base class check in
Effect.apply_to()by @teutoburg in AstarVienna#620 - Fixup adding mock path to UserCommands by @teutoburg in AstarVienna#640
- Fixup adding mock path to UserCommands (again) by @teutoburg in AstarVienna#641
- Use
.to_value(<unit>)instead of.to(<unit>).valueby @teutoburg in AstarVienna#643
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.9.2...v0.9.3
2025-03-13
Mainly the inclusion of METIS WCU effects in AstarVienna#494 plus a few bugfixes and quality-of-life improvements.
- Fix detectorwindow by @hugobuddel in AstarVienna#507
- Don't fail subpixels for edge sources by @teutoburg in AstarVienna#549
- Ensure at least one pixel in header by @teutoburg in AstarVienna#586
- METIS WCU effects by @oczoske in AstarVienna#494
- Bump abatilo/actions-poetry from 2 to 4 by @dependabot in AstarVienna#520
- Bump actions/download-artifact from 4.1.7 to 4.1.8 by @dependabot in AstarVienna#521
- Bump jinja2 from 3.1.4 to 3.1.5 by @hugobuddel in AstarVienna#519
- Bump sphinx from 5.3.0 to 7.3.7 by @dependabot in AstarVienna#525
- Bump jupyter-sphinx from 0.2.3 to 0.5.3 by @dependabot in AstarVienna#528
- Bump sphinxcontrib-apidoc from 0.4.0 to 0.5.0 by @dependabot in AstarVienna#522
- Bump nbsphinx from 0.9.3 to 0.9.6 by @dependabot in AstarVienna#526
- Bump skycalc-ipy from 0.5.1 to 0.5.2 by @dependabot in AstarVienna#523
- Bump jupyter from 1.0.0 to 1.1.1 by @dependabot in AstarVienna#530
- Bump ipympl from 0.9.4 to 0.9.6 by @dependabot in AstarVienna#538
- Bump jupytext from 1.16.0 to 1.16.6 by @dependabot in AstarVienna#541
- Bump myst-nb from 1.1.2 to 1.2.0 by @dependabot in AstarVienna#558
- Bump matplotlib from 3.8.2 to 3.10.1 by @dependabot in AstarVienna#577
- Bump actions/download-artifact from 4.1.8 to 4.1.9 by @dependabot in AstarVienna#576
- Bump jinja2 from 3.1.5 to 3.1.6 by @dependabot in AstarVienna#582
- Add bugfix label to auto release notes by @teutoburg in AstarVienna#562
- make test_applies_dark_current_with_level_of_dit deterministic by @hugobuddel in AstarVienna#517
- Add dependabot configuration by @hugobuddel in AstarVienna#518
- Fix runnotebooks.sh by sorting the notebooks by @hugobuddel in AstarVienna#535
- Add a few more
@pytest.mark.slowmarkers by @teutoburg in AstarVienna#560 - Generatorify
stringify_dictfunction by @teutoburg in AstarVienna#563 - Update dependabot.yml by @teutoburg in AstarVienna#578
- fix fp mask emission by @oczoske in AstarVienna#583
- Fine-tune dependabot config by @teutoburg in AstarVienna#591
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.9.1...v0.9.2
2024-11-26
Many small but important fixes and improvements that were missing in v0.9.0.
- Improve z_order by @teutoburg in AstarVienna#500
- Fix FieldVaryingPSF by @hugobuddel in AstarVienna#506
- Enable DeprecationWarnings by default by @teutoburg in AstarVienna#508
- Minor fixes for ScopeSimple by @teutoburg in AstarVienna#510
- Add support for package and mode status keywords by @teutoburg in AstarVienna#509
- Require Templates 0.6.0 and sync from there by @teutoburg in AstarVienna#501
- Bump tornado from 6.4.1 to 6.4.2 by @dependabot in AstarVienna#511
- Cleanup example notebooks by @teutoburg in AstarVienna#496
- Added source scaling test by @janusbrink in AstarVienna#495
- Move logging config to separate yaml, configure individual loggers by @teutoburg in AstarVienna#502
- Ignore strip_cdata warning by lxml, introduced by bs4 by @hugobuddel in AstarVienna#504
- Fix #490: make rescale_imagehdu more robust against dimension mismatches by @oczoske in AstarVienna#503
- Make random test deterministic by @hugobuddel in AstarVienna#512
- Fix two more issues with ScopeSimple by @teutoburg in AstarVienna#514
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.9.0...v0.9.1
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.
- ScopeSimple by @teutoburg in AstarVienna#426
- Make
DataContaineran attribute ofEffectby @teutoburg in AstarVienna#482
- Replace NaNs in images, log warning by @teutoburg in AstarVienna#466
- Make observe work with no source (empty field) by @oczoske in AstarVienna#483
- Add a new top level to CMDS nested mapping to store current simulation run settings by @teutoburg in AstarVienna#493
- Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows by @dependabot in AstarVienna#465
- Drop support for Python 3.9 by @teutoburg in AstarVienna#471
- Bump some dependency versions by @teutoburg in AstarVienna#472
- Use sphinx-book-theme for RTD by @teutoburg in AstarVienna#473
- Bump two dependencies, use tqdm.auto by @teutoburg in AstarVienna#477
- Bump scipy from 1.11.4 to 1.14.1 and httpx from 0.23.0 to 0.26.0 by @teutoburg in AstarVienna#480
- Remove skycalc_cli from dependencies by @teutoburg in AstarVienna#481
- Bump notebook from 7.0.7 to 7.2.2 by @dependabot in AstarVienna#486
- Limit supported Python version to 3.10 <= x < 3.13 by @teutoburg in AstarVienna#497
- Update source_from_images.ipynb by @hugobuddel in AstarVienna#469
- Update example notebook to properly show the same observation by @hugobuddel in AstarVienna#476
- Add
SourceFieldand subclasses, reworkSourceby @teutoburg in AstarVienna#405 - Some small improvement, mostly focused on numpy by @teutoburg in AstarVienna#467
- Don't fail on symlinks for packages path by @teutoburg in AstarVienna#474
- Cleanup
DataContainerin preparation for Effect refactoring by @teutoburg in AstarVienna#478 - Fix Poisson NaN bug and clarify by @hugobuddel in AstarVienna#484
- Source object data scaling fix by @janusbrink in AstarVienna#485
- Workaround for #491 metadata.requires can return None by @hugobuddel in AstarVienna#492
- Fixed cdelt calculation when scaling an imageHDU by @janusbrink in AstarVienna#490
- @janusbrink made their first contribution in AstarVienna#485
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.8.4...v0.9.0
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.
- Test all cases of DIT & NDIT vs. exptime and AutoExposure by @teutoburg in AstarVienna#428
- Avoid in-place operations because of dtype conflicts by @teutoburg in AstarVienna#432
- Split PSF and Electronic effects into subpackages by @teutoburg in AstarVienna#434
- Improve SVO filter handling by @teutoburg in AstarVienna#454
- Added function to round the edges of square PSF kernels by @astronomyk in AstarVienna#459
- Bump tornado from 6.4 to 6.4.1 by @dependabot in AstarVienna#427
- Bump urllib3 from 1.26.18 to 1.26.19 by @dependabot in AstarVienna#429
- Bump certifi from 2023.11.17 to 2024.7.4 by @dependabot in AstarVienna#435
- Bump zipp from 3.17.0 to 3.19.1 by @dependabot in AstarVienna#436
- Bump setuptools from 69.0.2 to 70.0.0 by @dependabot in AstarVienna#437
- Bump some dependencies to get rid of some indirect ones by @teutoburg in AstarVienna#445
- Use
poochfordownload_example_databy @teutoburg in AstarVienna#446 - Bump matplotlib, synphot, pyerfa by @teutoburg in AstarVienna#450
- Formatting and Refactoring of
nghxrg.pyby @teutoburg in AstarVienna#431 - Rename
DetectorArray➡️DetectorManagerplus Docstrings and Refactoring by @teutoburg in AstarVienna#423 - Enlarge initial Field of View to suppord wide-field imagers by @hugobuddel in AstarVienna#433
- Fix some exposure things by @hugobuddel in AstarVienna#440
- Deepcopy readout, to prevent it being overwritten. Closes #439 by @hugobuddel in AstarVienna#441
- Allow star to be shifted by @hugobuddel in AstarVienna#443
- Attempt to catch crypto warning by @teutoburg in AstarVienna#444
- Use new main branch for DevOps workflows by @teutoburg in AstarVienna#448
- Refactor
example_data_utilsby @teutoburg in AstarVienna#447 - Remove unused function
return_latest_github_actions_jobs_status()by @teutoburg in AstarVienna#449 - Remove remaining master references by @teutoburg in AstarVienna#460
- Add units to DataContainer table directly. by @hugobuddel in AstarVienna#461
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.8.3...v0.8.4
2024-06-02
Mostly a small hotfix to allow chaning of exptime in AutoExposure, plus some housekeeping.
- Bump requests from 2.31.0 to 2.32.0 by @dependabot in AstarVienna#417
- Update astropy version by @hugobuddel in AstarVienna#418
- Install ScopeSim_Data in the poetry environment by @hugobuddel in AstarVienna#416
- Do not ignore PytestRemovedIn8Warning. by @hugobuddel in AstarVienna#420
- Fix configure_logging by using function scope. by @hugobuddel in AstarVienna#422
- Fix exptime dit ndit bug by @teutoburg in AstarVienna#424
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.8.2...v0.8.3
2024-05-14
- Cap negative values below 0 before quantifying to an unsigned int. by @hugobuddel in AstarVienna#414
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.8.1...v0.8.2
2024-05-13
Small changes required for the first METIS Simulated data release.
- Do something sensible when a trace falls outside the FoV. by @hugobuddel in AstarVienna#407
- Fix specref not always an integer by @JenniferKarr in AstarVienna#411
- Bump tqdm from 4.66.1 to 4.66.3 by @dependabot in AstarVienna#409
- Bump jinja2 from 3.1.3 to 3.1.4 by @dependabot in AstarVienna#410
- Fix dev_master -> main in readme by @teutoburg in AstarVienna#406
- @JenniferKarr made their first contribution in AstarVienna#411
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.8.0...v0.8.1
2024-04-15
Many small fixes, some new effects, some important fixes related to coordinates, and lots of cleanup.
- Add more useful error message to download functions by @teutoburg in AstarVienna#309
- Migrate from
requests➡️httpxby @teutoburg in AstarVienna#312 - Improve logging by @teutoburg in AstarVienna#339
- Use ChainMap for UserCommands by @teutoburg in AstarVienna#375
- Add Shutter effect by @teutoburg in AstarVienna#304
- Add Quantization effect by @teutoburg in AstarVienna#308
- Implement apply decision for quantization by @teutoburg in AstarVienna#396
- Add basic sky coordinates (WCS) to ScopeSim output by @teutoburg in AstarVienna#307
- Include more progress bars by @teutoburg in AstarVienna#311
- Further improvements to logging by @teutoburg in AstarVienna#349
- Add IFU cube rectification and more by @oczoske in AstarVienna#258
- Resolve recursive bang-strings by @astronomyk in AstarVienna#351
- Also show scopsim version in bug_report by @hugobuddel in AstarVienna#394
- Improve CI run for notebooks by @teutoburg in AstarVienna#300
- Migrate to Poetry by @teutoburg in AstarVienna#314
- Bump nbconvert from 6.4.5 to 6.5.1 by @dependabot in AstarVienna#315
- Bump jupyter-server from 1.13.5 to 2.11.2 by @dependabot in AstarVienna#316
- Bump requests from 2.28.2 to 2.31.0 by @dependabot in AstarVienna#317
- Upgrade numpy to 1.26.3 and some other dependencies by @hugobuddel in AstarVienna#336
- Drop support for Python 3.8 by @teutoburg in AstarVienna#327
- Bump jinja2 from 3.1.2 to 3.1.3 by @dependabot in AstarVienna#338
- Bump jupyter-lsp from 2.2.1 to 2.2.2 by @dependabot in AstarVienna#344
- Bump notebook from 7.0.6 to 7.0.7 by @dependabot in AstarVienna#347
- Bump jupyterlab from 4.0.10 to 4.0.11 by @dependabot in AstarVienna#346
- Bump pillow from 10.1.0 to 10.2.0 by @dependabot in AstarVienna#350
- Some small dependency- and version-related changes by @teutoburg in AstarVienna#363
- Bump pillow from 10.2.0 to 10.3.0 by @dependabot in AstarVienna#393
- Bump idna from 3.6 to 3.7 by @dependabot in AstarVienna#398
- Add config file for auto-generated release notes by @teutoburg in AstarVienna#301
- Move changelog to dedicated file, add more readme badges by @teutoburg in AstarVienna#302
- Use PyPI badge for Python versions by @teutoburg in AstarVienna#326
- Replace "Telescopy" with "ScopeSim" in README by @teutoburg in AstarVienna#348
- Also make pdf and epub by @hugobuddel in AstarVienna#370
- Fix RTD Poetry configuration by @teutoburg in AstarVienna#379
- Some refactoring of z_order fuctionality by @teutoburg in AstarVienna#303
- Fix notebook tests by @teutoburg in AstarVienna#320
- Include ScopeSim_Data in notebook tests by @hugobuddel in AstarVienna#324
- Allow runnotebooks.sh to run without arguments by @hugobuddel in AstarVienna#330
- Revert "Also use poetry for calling jupytext" by @hugobuddel in AstarVienna#334
- Use new linkchecker action by @hugobuddel in AstarVienna#335
- Properly stack stars by @hugobuddel in AstarVienna#337
- Remove obsolete files by @teutoburg in AstarVienna#340
- Rearrange CI tests by @teutoburg in AstarVienna#341
- Add test to see whether all Python files can be imported. by @hugobuddel in AstarVienna#343
- Ensure logging messages don't reach the root logger by @hugobuddel in AstarVienna#345
- Sort corner pixels to deal with negative CDELTs by @teutoburg in AstarVienna#321
- Use logger instead of print by @hugobuddel in AstarVienna#353
- Minor logging fixes in download module by @teutoburg in AstarVienna#354
- Add DeprecationWarnings for fov_grid methods by @teutoburg in AstarVienna#313
- Delete redundant vesion.py by @teutoburg in AstarVienna#355
- Minor formatting changes by @teutoburg in AstarVienna#358
- Add more debug logging by @teutoburg in AstarVienna#356
- Further harmonize
filenamekwarg by @teutoburg in AstarVienna#361 - Minor cleanup in
user_commands.pyby @teutoburg in AstarVienna#362 - Replace printing with logging by @teutoburg in AstarVienna#360
- Removing currsys as global parameter by @astronomyk in AstarVienna#364
- Additional hotfix for the removed currsys by @astronomyk in AstarVienna#368
- More cmds and kwargs stuff by @hugobuddel in AstarVienna#369
- Remove unused and broken
make_imagehdu_from_table()by @hugobuddel in AstarVienna#371 - Fixes needed for IFU/LMS mode by @hugobuddel in AstarVienna#376
- Do not set user commands as rc.currsys by @hugobuddel in AstarVienna#377
- Weed out unused utils functions by @teutoburg in AstarVienna#381
- Refactor some rarely-used utils functions by @teutoburg in AstarVienna#382
- Make
required_keysalways asetby @teutoburg in AstarVienna#383 - Some minor improvements and refactoring in the FOVManager by @teutoburg in AstarVienna#384
- Slightly more sophisticated use of numpy by @teutoburg in AstarVienna#385
- Remove unsatisfied assert by @hugobuddel in AstarVienna#386
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.7.1...v0.8.0
2023-11-07
Bug fixes and better error report
- Improve the output of
scopsim.bug_report()and automatically log that report when an unhandled error occurs: AstarVienna#287 - Some bug fixes related to that same bug_report: AstarVienna#290, AstarVienna#291
- Improve ScopeSim's README file: AstarVienna#294
- Deal with warnings from the latest Python version 3.12: AstarVienna#289
- Internally restructure and clean the test suite, make sure individual tests are not influencing each other: AstarVienna#285
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.7.0...v0.7.1
2023-10-18
Off-by-one fix.
- Fix a long-standing bug regarding the internal implementation of WCS coordinates, which had multiple consequences, see AstarVienna#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
2023-09-14
Patch with bugfixes and code improvements
- Fix documentation on readthedocs.io: AstarVienna#269
- Bug fixes related to plotting methods: AstarVienna#270
- Formatting of code and documentation to meet community standards: AstarVienna#271
- General refactoring, some in preparation of more substantial bug fixes: AstarVienna#272
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.6.1...v0.6.2
2023-09-06
Patch with visualisation improvements and general refactoring
- Improvements to console representation and plot methods of various classes: AstarVienna#252 , AstarVienna#260 , AstarVienna#263 , AstarVienna#266
- Refactoring and changes to the inheritance of some classes: AstarVienna#261 , AstarVienna#264 , AstarVienna#265
- Changes to the CI configuration to reduce fails caused by web request timeouts AstarVienna#255 , AstarVienna#262
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.6.0...v0.6.1
2023-07-10
Summer 2023
- Rename MAORY to MORFEO AstarVienna#195
- Fix NCPA and PSF affecting spectroscopy AstarVienna#238
- Fix line widths bug AstarVienna#213
- Add rectification utilities AstarVienna#237
- Include grating efficiencies AstarVienna#215
- Improve downloading of IRDB AstarVienna#234
- Improve Windows support
- @teutoburg made their first contribution in AstarVienna#216
Full Changelog: https://github.com/AstarVienna/ScopeSim/compare/v0.5.6...v0.6.0
2023-03-13
Hotfix to include minimal set of SVO data
- Run notebooks in CI AstarVienna#183
- Add SVO data because SVO is down AstarVienna#185
- Fix OpticalTrain shared cmds attribute and fix docstring AstarVienna#186
2023-03-08
v0.5.5 is the first release by the 2023 A*Vienna team
- Return to § for incremental extension keywords AstarVienna#168
- thin slit confusing dispersion direction AstarVienna#169
- Adds unequal (i.e. 2x1) binning and option to rotate the CCD by integer multiples of 90 degrees AstarVienna#170
- add filters and slits to wheels AstarVienna#176
- psf_utils.rescale_kernel: fix for negative shifts AstarVienna#177
- Fix bug where the ._meta_dicts can become longer than the .fields AstarVienna#178
- Add test that Source() is additive identity AstarVienna#179
- Allow astropy Units to be values in FITS headers. AstarVienna#180
2022-10-06
Hotfix for header keyword generators
- 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
2022-09-29
Minor upgrade to Spec modes and to FITS keywords
- 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
2022-08-25
Update of DLC server URL to scopesim.univie.ac.at
- 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
2022-07-12
Update of DLC server URL to scopesim.univie.ac.at
- Changed URL in defaults.yaml file
2022-04-22
IFU Spectroscopy mode for METIS
- 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
- MetisLMSSpectralTraceList(SpectralTraceList)
- MetisLMSSpectralTrace(SpectralTrace)
- MetisLMSImageSlicer(ApertureMask)
- MetisLMSEfficiency(TERCurve)
- ExtraFitsKeywords(Effect)
- EffectsMetaKeywords(ExtraFitsKeywords)
- SourceDescriptionFitsKeywords(ExtraFitsKeywords)
- SimulationConfigFitsKeywords(ExtraFitsKeywords)
- SpectralTraceListWheel(Effect)
- Bias(Effect)
2022-03-25
Updates since METIS science team release
- DetectorList x(y)_size columns now accept units of pixel and mm
- warnings and errors now handled using python logging package
- minor bug fixes
- TopHatFilterCurve
- TopHatFilterWheel
- SpanishVOFilterWheel
2022-03-03
Version released for the METIS science team
- 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