Skip to content

Commit

Permalink
Merge pull request #368 from spacetelescope/prerelease-0.9.1
Browse files Browse the repository at this point in the history
last pre-release 0.9.1 tweaks including release date and minor docs updates
  • Loading branch information
mperrin authored Jun 22, 2020
2 parents 41d6f9d + ba9fbde commit 78ccf88
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
6 changes: 5 additions & 1 deletion docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ Invoke ``dev_utils/make-data-sdist.sh`` one of the following ways to make a gzip
Releasing new versions
======================

If you are making a release for `poppy` at the same time as a release in WebbPSF, do that first.
Update the dependency requirement to the new version of poppy, in ``webbpsf/setup.cfg``.

When you are ready, proceed with the WebbPSF release as follows:

#. Get the `develop` branch into the state that you want, including all PRs merged, updated release notes. This includes all tests passing both locally and on Travis.
#. Tag the commit with `v<version>`, being sure to sign the tag with the `-s` option.
Expand All @@ -62,7 +66,7 @@ Releasing new versions
#. Specify the version number, title, and brief description of the release.
#. Press "Publish Release".

#. Release to PyPI. This should now happen automatically on Travis. This will be triggered by a Travis build of a tagged commit on the `stable` branch.
#. Release to PyPI. This should now happen automatically on Travis. This will be triggered by a Travis build of a tagged commit on the `stable` branch, so it will happen automatically on the prior step for the PR into stable.

#. Release to AstroConda, via steps below.

Expand Down
13 changes: 7 additions & 6 deletions docs/relnotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,23 @@ Version History and Change Log

Version 0.9.1
=============
*2020 June X*
*2020 June 22*

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. There are no changes in reference data, so the WebbPSF reference data files for 0.9.0 should continue to be used with this release.

**JWST Improvements**

- *Improved the OTE linear model* by adding utility functions for decomposing WFE models into piston, tip, tilt motions in the JWST control coordinate system, adding a model for frill-induced WFE drift, adding a model for IEC-heater-induced WFE drift, and adding an option to adjust amplitude of OTE backplane thermal drift model for B.O.L. vs E.O.L. expected amplitudes. [:pr:`340`, :user:`mperrin`]
- *Apply wavelength dependent offsets for NIRCam coronagraphic PSFs* due to the dispersion from the optical wedge in the coronagraphic pupil masks. This primarily affects the LW channel with approximately 0.015 mm/um dispersion. The SW channel is almost a factor of 10 smaller and mostly negligible, but has been included for completeness. [:pr:`347`, :user:`JarronL`]
- *Add new ``aperturename`` attribute* for JWST instruments which returns the SIAF aperture name used for transforming between the detector position and instrument field of view on the sky. [:pr:`360`, :user:`mperrin`]
- Improve setting of detector geometry for NIRCam by adding ``auto_apname`` attribute which will automatically set the SIAF aperture name based on detector, filter, image mask, and pupil mask settings and update detector geometry using the SIAF aperture. This can be turned off by setting ``auto_apname=False``. [:pr:`351`, :user:`JarronL`]
- Add model for image jitter with JWST in coarse point mode under two different assumptions about LOS stability: ``'PCS=Coarse'`` and ``'PCS=Coarse_Like_ITM'``. [:pr:`345`, :pr:`346`, :user:`mperrin`]
- *Improved models for OTE wavefront variations over time* by adding utility functions for decomposing WFE models into piston, tip, tilt motions in the JWST control coordinate system, adding a model for frill-induced WFE drift, adding a model for IEC-heater-induced WFE drift, and adding an option to adjust amplitude of OTE backplane thermal drift model for B.O.L. vs E.O.L. expected amplitudes. [:pr:`340`, :user:`mperrin`]
- *Add new ``aperturename`` attribute* for JWST instruments which returns the SIAF aperture name used for transforming between the detector position and instrument field of view on the sky. [:pr:`360`, :user:`mperrin`]. Releatedly, improves setting of detector geometry for NIRCam to automatically set the SIAF aperture name based on detector, filter, and coronagraph image mask and pupil mask settings. This can be turned off by setting ``auto_apname=False``. [:pr:`351`, :user:`JarronL`]
- Add model for image jitter with JWST in coarse point mode under two different assumptions about LOS stability: ``'PCS=Coarse'`` and ``'PCS=Coarse_Like_ITM'``. This is relevant only for commissioning simulations. [:pr:`345`, :pr:`346`, :user:`mperrin`]

**General bug fixes and small changes:**

- Allow FGS detector to be set to ``GUIDER1`` and ``GUIDER2``, while still supporting old method of setting the detector (using ``FGS1`` and ``FGS2``) [:pr:`361`, :user:`mperrin`]
- Add ``allow_huge=True`` option to ``astropy.convolution.convolve_fft`` call when applying MIRI distortion so it can handle large arrays when calculating PSFs in very large FOV by using a higher resolution pupil and OPD. [:pr:`354`, :user:`obi-wan76`]
- Fixed bug that caused an error when plotting OPDs using the ``display_opd`` function [:pr:`362`, :user:`shanosborne`]
- Update default NIRSpec detector coordinates to be the S1600A1 square aperture coordinates in imaging mode. [:pr:`348`, :user:`mperrin`]
- Update default NIRSpec detector coordinates to be the S1600A1 square aperture coordinates in imaging mode, rather than an implausible location outside of the MSA field of view. [:pr:`348`, :user:`mperrin`]
- Updated Simulated OTE Mirror Move Demo notebook. [:pr:`343`, :user:`kjbrooks`]
- Improved the reproducibility of the thermal slew model with small updates to the ``update_opd`` and ``move_jsc_acf`` functions. [:pr:`339`, :user:`mperrin`]

Expand Down

0 comments on commit 78ccf88

Please sign in to comment.