Fixed version of ccdproc to 1.3.0.post1. ccdproc==2.0.0 does have some problems reported on astropy/ccdproc#699
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.
Changed logger setup
Moved data directory validation from instantiation to execution.
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.
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.
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]
Fixed some issues with documentation
Added .readthedocs.yml file for RTD builds
Removed python 3.5 from the supported versions.
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:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
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.
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.