Releases: spacetelescope/webbpsf
V1.5.0
What's Changed
- [CI] allow manual run of
download_data.yml
to specify data URL by @zacharyburnett in #914 - trivial fix to string formatting for a debug message by @mperrin in #918
- Add IFU+datacubes docs page. by @mperrin in #917
- build(deps): update pysiaf requirement from <0.23.0,>=0.22.0 to >=0.22.0,<0.24.0 by @dependabot in #920
- Update for Photutils 2.0 by @mperrin in #925
- MNT: Use hash for Action workflow versions and update if needed by @pllim in #916
- Dependabot updates PLUS pyproject upper limit for photutils. by @dependabot in #926
- update ifu docs to describe about coord_system and pixel scale by @mperrin in #923
- update photutils upper bound by @BradleySappington in #935
- Add automatic data download by @WilliamJamieson in #932
- switch a test case float comparison to np.allclose for robustness by @mperrin in #934
- Add support for new sensing point and target phase map by @obi-wan76 in #937
- Minor update to docs about the WFI optical model by @Skyhawk172 in #936
- build(deps): update ipython requirement from <8.30.0,>=8.27.0 to >=8.27.0,<8.31.0 by @dependabot in #939
- update monthly trending plot to allow shifted date ranges by @mperrin in #943
- Readme advise by @BradleySappington in #944
- update MAST query for OPDs to also retrieve OPDs from FP6 by @mperrin in #945
- Version release 1.5.0 by @BradleySappington in #947
New Contributors
- @WilliamJamieson made their first contribution in #932
Full Changelog: v1.4.0...v1.5.0
v1.4.0
What's Changed
- Improve trending plots, particularly wfe_histogram arrows display by @mperrin in #870
- build(deps): bump photutils from 1.12.0 to 1.13.0 by @dependabot in #872
- more strict units handling; fixes some issues for astropy 6.0.0 compatibility by @mperrin in #879
- add dedicated cache workflow that can be called by other projects by @zacharyburnett in #877
- fix syntax error in
.github/workflows/download_data.yml
by @zacharyburnett in #882 - [CI] add names to workflows and fix data version parsing with
echo
andawk
by @zacharyburnett in #881 - [CI] set a generalized cache path, allowing multiple data caches to be combined downstream by @zacharyburnett in #883
- [CI] fix missing
data/
directory when downloading + caching data by @zacharyburnett in #885 - use
pathlib
to handle aWEBBPSF_PATH
with double slashes by @zacharyburnett in #886 - Fix #888, typo in NIRSpec disperser list by @mperrin in #889
- Use MASK_NRM to match AMI data by @rcooper295 in #893
- minor: trending function add cycle 3 routine WFS PIDs by @mperrin in #878
- Update NIRSpec aperture PAs by @mperrin in #897
- build(deps): bump scipy from 1.13.0 to 1.14.0 by @dependabot in #874
- Update citations by @BradleySappington in #898
- using z range in requirements.txt by @BradleySappington in #909
- Docs improvements, including for matching PSFs to data by @mperrin in #899
- Enhance capabilities to simulate PSFs with larger JWST pupil by @obi-wan76 in #908
- IFU mode improvements, continued by @mperrin in #890
- Roman docs & figures updates by @Skyhawk172 in #910
- add CI tests for mast_wss, in test_mast_wss.py by @mperrin in #911
- Pre release 140 by @BradleySappington in #912
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's Changed
- Copy latest data to /grp/ for internal stsci use by @BradleySappington in #739
- installation doc update by @BradleySappington in #742
- add missing jquery extension to fix docs search by @braingram in #740
- setup_sim_to_match_file fix setting aperture name for SW/LW parallel coronagraphy by @mperrin in #752
- Trending: add option to plot OTE-only WFE in wfe_histogram_plot by @Skyhawk172 in #750
- 729_EE_label_fix, fixed the Encircled Energy Y axis label from being … by @bchen2 in #731
- #727_RMS_Label fixed the issue that rms_label is not initialized. by @bchen2 in #730
- numpy 2.0 fixes by @braingram in #743
- build(deps): bump astropy from 5.3.1 to 5.3.3 by @dependabot in #744
- build(deps-dev): update sphinx requirement from <7.0 to <8.0 by @dependabot in #735
- build(deps): bump matplotlib from 3.7.2 to 3.8.0 by @dependabot in #745
- use PyPI upload workflow from OpenAstronomy by @zacharyburnett in #749
- build(deps): bump numpy from 1.25.2 to 1.26.0 by @dependabot in #746
- build(deps): bump ipython from 8.14.0 to 8.16.1 by @dependabot in #753
- Astroquery version by @BradleySappington in #758
- import GriddedPSFModel from photutils.psf by @braingram in #755
- Install astropy dev from wheel by @pllim in #757
- update actions/checkout to version 4 by @BradleySappington in #759
- build(deps): bump numpy from 1.26.0 to 1.26.1 by @dependabot in #761
- build(deps): bump astropy from 5.3.3 to 5.3.4 by @dependabot in #762
- build(deps): bump matplotlib from 3.8.0 to 3.8.1 by @dependabot in #765
- build(deps): bump ipython from 8.16.1 to 8.17.2 by @dependabot in #764
- build(deps): bump pysiaf from 0.20.0 to 0.21.0 by @dependabot in #763
- update NRC coron dispersion coeffs by @JarronL in #766
- Update trending plot to subtract piston before displaying proposed correction by @mperrin in #756
- add aperture name support for NIRSpec slit and IFU apertures; also, 100x faster data cube calculations. by @mperrin in #767
- Fix ci failures and update latest/min versions by @BradleySappington in #779
- Support MIRI LRS slit in aperturename and setup_sim_to_match_file functions by @mperrin in #781
- Coronagraph calcs: add 'coron_include_pre_lyot_plane' option for extra output plane by @mperrin in #778
- Add
nrc_ta_image_comparison
function to trending tools by @mperrin in #789 - add test for calc_datacube_fast, and fix some imports by @mperrin in #786
- fix some display issues in monthly_trending_plot by @mperrin in #784
- build(deps): bump ipython from 8.18.1 to 8.19.0 by @dependabot in #783
- build(deps): bump numpy from 1.26.2 to 1.26.3 by @dependabot in #795
- add pep8speaks for temporary linter by @BradleySappington in #793
- replace NaN with nan for numpy 2.0 prep by @BradleySappington in #791
- Pep8speaks by @BradleySappington in #799
- Support the slightly non-square dimensions of the MIRI detector (1024, 1032) pixels in size. Fixes #676 by @mperrin in #803
- filter custom opbtable for month by @BradleySappington in #802
- consistently allow astropy.time.Time or string inputs to all trending functions by @mperrin in #804
- Fix obscure error in FITS writing by @eteq in #807
- update actions version by @zacharyburnett in #800
- build(deps): bump pysiaf from 0.21.0 to 0.21.1 by @dependabot in #809
- fix broken link in docs/intro.rst by @bryce-wedig in #815
- build(deps): bump ipython from 8.22.1 to 8.22.2 by @dependabot in #816
- Allow setup_sim_to_match_data to select choice of WFS before or after by @mperrin in #819
- [SCSB-145] require Python 3.10 by @zacharyburnett in #817
- minor: improve X axis tick marks on trending timeseries plot by @mperrin in #820
- combining issues 726 and 736 by @obi-wan76 in #768
- add show_wfs_during_program function by @mperrin in #798
- add delta_wfe_around_time function by @mperrin in #826
- Performance enhancement: avoid repeated slow loads of the SIAF by @mperrin in #825
- build(deps): bump astroquery from 0.4.6 to 0.4.7 by @dependabot in #821
- NRC TA plot enhancements by @mperrin in #794
- add functions to download WFSC WL image data by @mperrin in #827
- improve MIRI LRS model details by @mperrin in #787
- #839 Visit Id naming smarts in get_visit_nrc_ta_image by @kulpster85 in #840
- #835 - Improvements to trending.plot_wfs_obs_delta & wfe_histogram_pl… by @kulpster85 in #836
- Ruff changes by @BradleySappington in #844
- ruff "safe" auto-fix and format imports only by @BradleySappington in #846
- avoid linear interpolation between WFE values by @mperrin in #834
- Update for WFI to use pysiaf instead of soc_roman_tools by @Skyhawk172 in #848
- Infrastructure improvements for improved IFU sims by @mperrin in #770
- Allow specifying NIRCam LW detectors equivalently like 'NRCA5' or 'NRCALONG' by @mperrin in #849
- Improved model for MIRI cruciform artifact, part 1 by @mperrin in #837
- Manual lint by @BradleySappington in #847
- Implement support for NIRCam DHS sub apertures by @mperrin in #845
- minor bug fix to IFU mode after #770 by @mperrin in #851
- bug fix an edge case for switching MIRI apertures by @mperrin in #843
- Couple small fixes to LRS support by @mperrin in #850
- removing obsolete files by @BradleySappington in #852
- build(deps): bump ipython from 8.23.0 to 8.24.0 by @dependabot in #829
- build(deps): bump matplotlib from 3.8.4 to 3.9.0 by @dependabot in #853
- Documentation additions for 1.3 by @mperrin in #828
- update min version for RTD and init by @BradleySappington in #858
- add test function for the NIRCam DHS support. by @mperrin in #857
- Additional Pep8speaks updates by @BradleySappington in #856
- V1.3.0.rc1 by @BradleySappington in #860
New Contributors
- @braingram made their first contribution in #740
- @bchen2 made their first contribution in #731
- @eteq made their first contribution in #807
- @bryce-wedig made their first contribution in #815
Full Changelog: v1.2.1...v1.3.0
Release 1.2.1
Minor documentation update
v1.2.0
We are pleased to announce the release of the latest version of WebbPSF version 1.2.0, now available on PyPi and GitHub. This release comes with new features and improvements including but not limited to:
- The addition of detector effects for JWST simulations. H2RG detector effects are included in two flavors, a simple ad hoc Gaussian convolution to model charge diffusion effects and a set of convolution kernels to model interpixel capacitance (IPC) and post-pixel coupling effects. We have found that these effects greatly improve the agreement between observations and simulations. See JWST Detector Effects for more details.
- A new utility function for simulating matching PSFs to science data. See Matching PSF sims to in-flight JWST data.
- Implement geometric distortion for Roman using the Roman SIAF.
- Various improvements for OTE trending.
What's Changed
-
Fixed trending histogram binning so that bars add up to 1.0 by @Skyhawk172 in #634
-
Add phase retrieval crosscheck plot and wfs obs delta plot by @mperrin in #650
-
597 - add opdtable as positional param to monthly_trending_plot by @kulpster85 in #600
-
Update to read SI pixelscales directly from pysiaf by @mperrin in #626
-
Update/enhance trending plot to show WSS proposed corrections by @mperrin in #642
-
Add notebooks for plotting JWST SI WFE, and JWST SI MIMF field points by @mperrin in #652
-
Add H2RG detector effects sim framework by @mperrin and @obi-wan76 in #671
-
Tune detector effects model parameters to better match measured ePSFs by @mperrin in #693
-
Add trending plot function "show_wfs_around_obs" by @mperrin in #705
-
Additional fixes to trending.py by @Skyhawk172 in #688
-
Implement distortion for Roman by @Skyhawk172 in #668
Full Changelog: v1.1.1...v1.2.0
Note, this release requires updating your WebbPSF data files to version 1.2.0, webbpsf-data-1.2.0.tar.gz
Release 1.1.1
2022 December 14
Minor fixes and trending plot enhancements from first half of JWST Cycle 1. .
Note, this release requires updating your WebbPSF data files to version 1.1.1. See our installation instructions for more information.
This release's upgraded requirements drop support for Python 3.7, meaning conda installation is temporarily unavailable since the AstroConda channel is not equipped for newer Python versions. Installation with pip works as normal.
For full release notes, see https://webbpsf.readthedocs.io/en/v1.1.1/relnotes.html#version-1-1-1
Full changelog: v1.1.0...v1.1.1
v1.1.0
2022 September 23
First release with JWST in flight optical performance! Updates and tools added after completion of commissioning.
Note, this release requires updating your WebbPSF data files to version 1.1.0. See our installation instructions for more information.
This release's upgraded requirements drop support for Python 3.7, meaning conda installation is temporarily unavailable since the AstroConda channel is not equipped for newer Python versions. Installation with pip works as normal.
For full release notes, see https://webbpsf.readthedocs.io/en/latest/relnotes.html#version-1-1-0
Full changelog: v1.0.0...v1.1.0
v1.0.0
2021 December 10
Milestone release shortly before JWST launch, with significant updates to both JWST and Roman optical models.
See release notes on readthedocs for a more informative summary than the below which was auto-generated by GitHub.
What's Changed
- update branch URLs in docs for master -> stable (or develop, as appropriate) by @mperrin in #372
- avoid reloading SIAF multiple times, for small runtime speed improvement by @mperrin in #377
- Update thermal slew scaling by @JarronL in #375
- Added line to include clocking from SUR by @Skyhawk172 in #385
- Toward better OTE field dependence modeling: use OTE linear model class by default by @mperrin in #378
- Move jwxml code into webbpsf by @shanosborne in #390
- update syntax to remove unnecessary underscores after poppy PR 386 by @mperrin in #395
- Move missing data files message inside error by @shanosborne in #391
- update opd thermal slew test, in particular for a change in pupil segment data file by @mperrin in #396
- Gridded PSF library generation should copy hexike P/T/T keywords, if present by @mperrin in #398
- WebbPSF: Rename WFIRST -> Roman by @robelgeda in #400
- JWST Help Desk instead of [email protected] by @dancoe in #402
- WIP: OTE Secondary Mirror IFM field-dependence implementation by @Skyhawk172 in #392
- Updating to meet INS-JWST Software Standards by @shanosborne in #404
- Create Dependabot config file by @dependabot-preview in #405
- Add a travis test for latest dep versions by @shanosborne in #408
- bug fix: avoid matplotlib deprecation of changing colormaps by @mperrin in #410
- Use consistent lengths for Zernike/Hexike coefficients and basis vectors by @mperrin in #422
- Bump numpy from 1.19.4 to 1.20.1 by @dependabot in #407
- Fix broken link to notebook by @kjbrooks in #423
- For Ball LookupTableOPD, add support for general defocus, e.g. for MIMF by @Skyhawk172 in #425
- Update MIRI detector cross artifact model; fixes #415 by @mperrin in #417
- add unit test for sign convention; adapted from notebook version in PR #418 by @mperrin in #419
- Bump ipython from 7.20.0 to 7.21.0 by @dependabot in #421
- Bump scipy from 1.6.0 to 1.6.1 by @dependabot in #420
- Updates for sign convention and poppy 1.0 by @mperrin in #397
- Coronagraphic mask offset by @JarronL in #428
- Replace griddata with RegularGridInterpolator for distortions by @JarronL in #429
- Update dependencies min versions by @shanosborne in #436
- Adding synphot by @shanosborne in #424
- bugfix synphot refactor by @mperrin in #437
- Update rotation sign for consistency after poppy PR 411 by @mperrin in #438
- Remove deprecated code for GUIs and obssim by @mperrin in #439
- Bump ipython from 7.21.0 to 7.22.0 by @dependabot in #431
- Bump matplotlib from 3.3.4 to 3.4.1 by @dependabot in #434
- Bump scipy from 1.6.1 to 1.6.2 by @dependabot in #432
- Bump photutils from 1.0.2 to 1.1.0 by @dependabot in #433
- Bump numpy from 1.20.1 to 1.20.2 by @dependabot in #435
- Update GitHub URLs in tutorial notebook by @robelgeda in #441
- calculate SI WFE header keyword over just the JWST aperture, not the full array by @mperrin in #427
- specify jitter arcseconds per axis by @robelgeda in #442
- MNT: Do not write config on import by @pllim in #444
- fix set_position_from_aperture_name by @mperrin in #447
- update data files release script by @mperrin in #454
- Move CI to github actions, replacing Travis by @shanosborne in #455
- Bump astropy from 4.2 to 4.2.1 by @dependabot in #449
- Bump scipy from 1.6.2 to 1.6.3 by @dependabot in #452
- Update the OPD linear model so that we can adjust the pixel sampling by @kjbrooks in #440
- Bump pysiaf from 0.10.0 to 0.11.0 by @dependabot in #450
- Bump ipython from 7.22.0 to 7.23.1 by @dependabot in #457
- Streamline CI test runtimes by @mperrin in #459
- Bump matplotlib from 3.4.1 to 3.4.2 by @dependabot in #463
- Bump ipython from 7.23.1 to 7.24.0 by @dependabot in #462
- Bump numpy from 1.20.2 to 1.20.3 by @dependabot in #461
- Undefined variables in optics.py by @JarronL in #464
- update MIRI detector scale params to match current SIAF by @mperrin in #456
- Bump numpy from 1.20.3 to 1.21.0 by @dependabot in #469
- Bump scipy from 1.6.3 to 1.7.0 by @dependabot in #467
- Bump ipython from 7.24.0 to 7.25.0 by @dependabot in #468
- Roman Prism and Grism by @robelgeda in #416
- WFR4+MIMF_KDP: add LookupTable optic class for Ball-delivered OPDs by @mperrin in #328
- Bump numpy from 1.21.0 to 1.21.1 by @dependabot in #476
- Update CI by @shanosborne in #480
- Bump astropy from 4.2.1 to 4.3.1 by @dependabot in #478
- Bump ipython from 7.25.0 to 7.27.0 by @dependabot in #483
- Bump numpy from 1.21.1 to 1.21.2 by @dependabot in #484
- Bump matplotlib from 3.4.2 to 3.4.3 by @dependabot in #485
- Bump scipy from 1.7.0 to 1.7.1 by @dependabot in #486
- LRE4 and MIMF KDP Practice 2: add options to LookupTableOPD for importing Ball-delivered OPDs by @mperrin in #474
- Extend MIRI Lyot occulter to edge of FoV by @JarronL in #482
- Merge and deconflict from develop-0.9.2 to develop by @mperrin in #473
- Bump photutils from 1.1.0 to 1.2.0 by @dependabot in #489
- Bump ipython from 7.27.0 to 7.28.0 by @dependabot in #490
- Bump pysiaf from 0.11.0 to 0.13.0 by @dependabot in #491
- MNT: Update codecov-action version to v2 by @pllim in #492
- Use "==" instead of "is" for string comparisons by @JarronL in #493
- Bump numpy from 1.21.2 to 1.21.3 by @dependabot in #494
- Bump ipython from 7.28.0 to 7.29.0 by @dependabot in #495
- Add field dependence into weak lens model by @mperrin in #496
- Remove Python 3.6 by @shanosborne in #498
- bug fix: avoid filling OPD outer regions with NaNs when using the global zernike option by @mperrin in #497
- Bump ipython from 7.29.0 to 7.30.0 by @dependabot in #500
- Bump scipy from 1.7.1 to 1.7.3 by @dependabot in #501
- Bump matplotlib from 3.4.3 to 3.5.0 by @dependabot in #502
- Bump astropy from 4.3.1 to 5.0 by @dependabot in https://github.com/spacetelescope/web...
Release 0.9.2
2021 July 23
This release improves a subset of WFIRST functionality to add WFI's Prism and Grism modes using cycle 8 models for wavefront error.
This release only improves a subset of WFIRST functionality; additional improvements to both WFIRST (including renaming to Roman) and JWST models will be at the upcoming 1.0.0 major release.
WFIRST Improvements
- New Grism and Prism filters: [:pr:
416
, :pr:471
, :user:robelgeda
]GRISM_FILTER = 'G150'
PRISM_FILTER = 'P120'
- Changing filters to
G150
orP120
changes the mode of the WFI and the aberrations files (unless there is a user aberrations override) [:pr:416
, :pr:471
, :user:robelgeda
] - New
WFI.mode
: Class property that returns the current mode of the WFI instance by passing the current filter toWFI. _get_filter_mode
. WFI modes are: [:pr:416
, :pr:471
, :user:robelgeda
]- Imaging
- Grism
- Prisim
- New
WFI.override_aberrations(aberrations_path)
: Overrides and locks the current aberrations with aberrations ataberrations_path
. Lock means changing the filter/mode has no effect on the aberrations. [:pr:416
, :pr:471
, :user:robelgeda
] - New
WFI.reset_override_aberrations()
: ReleasesWFI.override_aberrations
lock and start using the default aberrations. [:pr:416
, :pr:471
, :user:robelgeda
] - New Tests for mode and filter switching. [:pr:
416
, :pr:471
, :user:robelgeda
] - New Field point nearest point approximation (extrapolation). [:pr:
416
, :pr:471
, :user:robelgeda
]
Software and Package Infrastructure Updates:
- This release uses Github Actions CI and removes TravisCI. [:pr:
455
, :user:shanosborne
, :pr:471
, :user:robelgeda
]
Version 0.9.1
This minor release resolves several bugs and occasional installation issues and updates behind-the-scenes package infrastructure for consistency with current astropy and numpy releases. There are small improvements to a few aspects of JWST models as detailed below (in particular for wavelength dispersion in NIRCam LW coronagraphy and in tools for modeling time-dependent WFE) but the vast majority of JWST PSF calculations are not changed in any way.
For full release notes see https://webbpsf.readthedocs.io/en/latest/relnotes.html