diff --git a/docs/about.rst b/docs/about.rst index 7610c053..9d69da37 100644 --- a/docs/about.rst +++ b/docs/about.rst @@ -24,17 +24,20 @@ The Team POPPY is developed primarily by a team of astronomers at the `Space Telescope Science Insitute `_, but is open to contributions from scientists and software developers around the world. Development takes place -on Github at http://github.com/spacetelescope/poppy . See that page for the most up-to-date +on Github at http://github.com/spacetelescope/poppy. See that page for the most up-to-date list of contributors. Direct contributors to POPPY code ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * Marshall Perrin (:user:`mperrin`) - * Joseph Long (:user:`josephoenix`) * Ewan Douglas (:user:`douglase`) + * Joseph Long (:user:`josephoenix`) * Shannon Osborne (:user:`shanosborne`) * Neil Zimmerman (:user:`neilzim`) + * Robel Geda (:user:`robelgeda`) + * Scott Will (:user:`sdwill`) + * Iva Laginja (:user:`ivalaginja`) * Anand Sivaramakrishnan (:user:`anand0xff`) * Maciek Grochowicz (:user:`maciekgroch`) * Phillip Springer (:user:`daphil`) @@ -42,12 +45,12 @@ Direct contributors to POPPY code * Kyle Douglass (:user:`kmdouglas`) * Christine Slocum (:user:`cslocum`) * Matt Mechtley (:user:`mmechtley`) - * Scott Will (:user:`sdwill`) - * Iva Laginja (:user:`ivalaginja`) * Mike Fitzgerald (:user:`astrofitz`) * Keira Brooks (:user:`kjbrooks`) * Justin Otor (:user:`ojustino`) * Rachel Morgan (:user:`remorgan01`) + * Fanpeng Kong (:user:`fanpeng-kong`) + * Kim Ward-Duong (:user:`spacegal-spiff`) Indirect Contributors (algorithms, advice, ideas, inspirations) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -85,7 +88,7 @@ in Astronomy. License ----------------- -Copyright (C) 2010-2017 Association of Universities for Research in Astronomy (AURA) +Copyright (C) 2010-2021 Association of Universities for Research in Astronomy (AURA) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/docs/relnotes.rst b/docs/relnotes.rst index 88f25e22..2102e7cd 100644 --- a/docs/relnotes.rst +++ b/docs/relnotes.rst @@ -5,6 +5,42 @@ Release Notes For a list of contributors, see :ref:`about`. +0.9.2 +----- + +.. _rel0.9.2: + +*2021 Feb 11* + +This release includes several updated optical element classes, bug fixes, and improved documentation. This is intended as a maintenance release shortly before v 1.0 which will introduce some backwards-incompatible changes. + +**New Functionality:** + * New OpticalElement classes for ScalarOpticalPathDifference, LetterFAperture, and LetterFOpticalPathDifference. (:pr:`386` by :user:`mperrin`) + * Improved `radial_profile` function to allow measurement of partial profiles for sources offset outside the FOV (:pr:`380` by :user:`mperrin`) + * Improved the CompoundAnalyticOptic class to correctly handle OPDS for compound optics with multiple non-overlapping apertures. (:pr:`386` by :user:`mperrin`) + +**Other enhancements and fixes:** + * The ShackHartmannWavefrontSensor class was refactored and improved . (:pr:`369` by :user:`fanpeng-kong`). And a unit test case for this class was added (:pr:`376` by :user:`remorgan123` in collaboration with :user:`douglase`) + * Expanded documentation and example code for usage of astropy Units. (:pr:`374`, :pr:`378` by :user:`mperrin`; with thanks to :user:`keflavich’ and :user:`mcbeth`) +* Made the HexagonalSegmentedDeformableMirror class consistent with ContinuousDeformableMirror in having an 'include_factor_of_two' parameter, for control in physical surface versus wavefront error units + * Bug fix for influence functions of rotated hexagonally segmented deformable mirrors. (:pr:`371` by :user:`mperrin`) + * Bug fix for FWHM measurement on integer data type images. (:pr:`368` by :user:`kjbrooks`) + * Bug fix for StatisticalPSDWFE to avoid side effects from changing global numpy random generator state. (:pr:`377` by :user:`ivalaginja`) + * Bug fix for image display in cases using angular coordinates in units other than arc seconds. (:pr:`378` by :user:`mperrin`; with thanks to :user:`mcbeth`) + + +**Software Infrastructure Updates and Internals:** + * The minimum numpy version is now 1.16. (:pr:`356` by :user:`mperrin`) + * The main branches were renamed/relabeled to ’stable’ (rather than ‘master’) and ‘develop’. (:pr:`361`, :pr:`370` by :user:`mperrin`) + * Updates to Travis CI settings. (:pr:`367`, :pr:`395` by :user:`shanosborne`) + * Avoid deprecated modification of matplotlib colormaps (:pr:`379` by :user:`spacegal-spiff`) + * Minor doc string clarification for get_opd (:pr:`381` by :user:`douglase`) + * Remove unused parameter to Detector class (:pr:`385` by :user:`mperrin`) + * Updates to meet STScI INS's JWST Software Standards (:pr:`390` by :user:`shanosborne`) + * Use Github's Dependabot to test and update dependencies (:pr:`391: by :user:`shanosborne`) + + + 0.9.1 ----- diff --git a/poppy/instrument.py b/poppy/instrument.py index 7b35cf4b..680c4340 100644 --- a/poppy/instrument.py +++ b/poppy/instrument.py @@ -259,7 +259,7 @@ def calc_psf(self, outfile=None, source=None, nlambda=None, monochromatic=None, # ---- now at last, actually do the PSF calc: # instantiate an optical system using the current parameters - self.optsys = self.get_optical_system(fov_arcsec=fov_arcsec, fov_pixels=fov_pixels, + self.optsys = self._get_optical_system(fov_arcsec=fov_arcsec, fov_pixels=fov_pixels, fft_oversample=fft_oversample, detector_oversample=detector_oversample, options=local_options) self._check_for_aliasing(wavelens) @@ -624,7 +624,7 @@ def _get_optical_system(self, *args, **kwargs): # Here we ensure the prior version works, back compatibly. import warnings warnings.warn("_get_optical_system is deprecated; use get_optical_system (without leading underscore) instead.", - warnings.DeprecationWarning) + DeprecationWarning) return self.get_optical_system(*args, **kwargs) def _check_for_aliasing(self, wavelengths): @@ -763,7 +763,7 @@ def display(self): # (specifically auto-selected pupils based on filter selection) wavelengths, _ = self._get_weights(nlambda=1) self._validate_config(wavelengths=wavelengths) - optsys = self.get_optical_system() + optsys = self._get_optical_system() optsys.display(what='both') if old_no_sam is not None: self.options['no_sam'] = old_no_sam