Change History#

2.0.3 11-04-2022#

  • Improved background fitting for low signal-to-noise ratio data.

2.0.2 08-04-2022#

  • Added exception handling for when it’s not possible to use scipy.optimize.brent

  • Added notes field to report special warnings.

2.0.1 23-02-2022#

  • Changed method of getting the best focus to scipy.optimize.brent

  • Fixed bug regarding results report on terminal entry point

2.0.0 21-10-2021#

  • Added FWHM, Best image and data to results.

  • Bumped version one major step due to the change on the format of the results.

  • Returned result is a list of dictionaries now.

  • Added Date and ISO timestamp as part of the json results.

  • Focus and FWHM are rounded to 10 decimals.

1.0.0#

  • Removed Travis CI [#31]

  • Replaced separator to double underscore [#34, #35]

  • Updated documentation.

0.3.6#

  • Added python 3.7 and 3.8 to Travis CI

  • Removed astroconda from environment.yml and specified python 3.8 to avoid 3.9

0.3.5#

  • Implemented Github Actions

  • Removed astroconda channel from environment

0.3.4#

  • Fixed version of ccdproc to 1.3.0.post1. ccdproc==2.0.0 does have some problems reported on astropy/ccdproc#699

0.3.3#

  • Changed Sigma Clipping iterations from 1 to 3

  • Added sigma clip iterations as argument to function get_fwhm though this is not exposed to the user.

0.3.2#

  • Changed logger setup

  • Moved data directory validation from instantiation to execution.

0.3.1#

  • Fixed bug on the calculation of the pseudo-derivate used to find best focus value

  • Updated hardcoded string that defines the Imaging wavmode from Imaging to the new IMAGING.

  • Added docstrings

0.3.0#

  • Created dedicated documentation for readthedocs.

  • Fixed bug where return was missing,

  • GoodmanFocus need to be instantiated only once [#19]

  • Calling instance of GoodmanFocus can receive a list of files as input [#19]

  • Argument –file-pattern is now actually used in file selection [#18]

  • Eliminated some warnings.

  • Included plots in documentation.

0.2.0#

  • Added messages when no file matches the –obstype value, by default is FOCUS [#9]

  • Replaced parser.error by log.error and sys.exit when the directory does not exist and when exists but is empty.

  • Added test for cases when the directory does not exist, when is empty and when no file matches the selection on –obstype which by default is FOCUS.

  • Replaced logging.config.dictConfig by logging.basicConfig which fixed several issues. For instance –debug was unusable, and also there were duplicated log entries for the file handler when used as a library in other application. [#10]

  • Replaced the use of the function get_args by using arguments on class instantiation instead

  • Created name for modes [#11]

0.1.3#

  • Fixed some issues with documentation

  • Added .readthedocs.yml file for RTD builds

  • Added install_requires field in setup()

  • Removed python 3.5 from the supported versions.

License#

BSD 3-Clause License

Copyright (c) 2019, SOAR Telescope All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.