ChangeLog for goflib =============================== Version 0.20.1 - 2023-02-02 (BP) =============================== + Moved runesky2det subroutine to goflib from several other tasks utilizing it. Version 0.20 - 2023-01-12 (BP) =============================== + Added limit definitions to emanom doc. + Added trim to int to char command to clean end of line. Version 0.19 - 2022-11-18 (BP) =============================== + Added string parsing routine to fix reads of region ASCII files. Version 0.18 - 2022-07-11 (BP) =============================== + Fixed bug in retrieving WCS header keywords in sub coord_keys. + Fixed bug in mismatched string lengths. Version 0.17 - 2022-06-21 (BP) =============================== + Fixed array bound issue with augment_mos and augment_pn. + Added sanity check for QPB rows. Version 0.16 - 2022-06-21 (BP) =============================== + Completely eliminated NR subroutines. + Replaced NR with slatec subroutines. + Added nelmin to minimize a function using the Nelder-Mead algorithm. Version 0.15 - 2022-06-02 (BP) =============================== + Fixed bug where if INSTRUME=EPIC return of 2d array failed. + Updated docs. + Removed NR gfuncs sub (never used). Version 0.14 - 2022-05-15 (BP) =============================== + Changed chip masking values in gofutils. + Changed call to read_rmf (array return issue). + Added column existence sanity checks to read_rmf and read_arf in gofio. + Fixed array bound issue with read_rmf MATRIX in gofio. + Fixed MOS2 Med filter scalefactor in hardscale. Version 0.13 - 2022-04-08 (BP) =============================== + Fixed string concatenation bug in gofio affecting several esas tasks. + Deleted some print statements, added some diagnostic messages. + Enlarged some character strings because of data overruns. Version 0.12 - 2022-03-21 (BP) =============================== + Changed temp_corner.fits to *cortempev.fits in emanom to avoid overwrite + Renamed subroutine aug_get_exp to augment_mos. + Renamed subroutine aug_get_pnexp to augment_pn. + Altered QDP output (new QPB files had too many data points for effective plots) in augment_*. + Converted several hardcoded arrays to allocatable in augment_*. + Added support for QPB spectrum produced with pattern=0 and pattern=4 for PN in augment_*. + Reads emos1_qpb, emos2_qpb, epn_qpb files in testprods/esas_data not caldb versions in augment_*. + Filters NaN rate columns in augment_*. + Fixed default filename bug in spscale. + Added sub "addtask" to add task generation comment for files produced within other esas tasks. + Added sub "check_orbit" to check for CCD losses in all esas tasks. Version 0.11.3 - 2021-11-23 (BP) =============================== + Changed PN QPB EXPOSURE column to Real 64. + Removed unnecesssary TYPE from spscale. Version 0.11.2 - 2021-11-21 (BP) =============================== + Adjusted titles for QDP plots. + Added support for new, by-PATTERN QPB CCFs. + Fixed array bounds to QDP plot outputs. + Added mod to QDP output (was getting too many datapoint errors). + Fixed divide by zero for augmented spectrum subroutines. + Fixed submode read truncation error. + Adds PATTERN to header for downstream ESAS usage. + Addes sub getootsca to return OOT scaling to any ESAS sub. Version 0.11.1 - 2021-10-12 (BP) =============================== + Added diagnostics to esas_mod. Version 0.11 - 2021-09-19 (BP) =============================== + Fixed array issues in poly_fit and mqm Version 0.10 - 2021-09-19 (BP) =============================== + read_2Darray and read_3Darray subs handle Int or Real arrays to accommodate several ESAS tasks (swcx, proton, etc). + Fixed read_header_info sub to handle non-existent keywords in some ESAS tasks. + Added GetLun sub for all ESAS tasks. + Fixed sub call input params for poly_fit. + Removed gauss_fit, functionality absorbed with more robust fit_gauss and tamoeba. Version 0.9.1 - 2021-08-11 (BP) =============================== + Fixed sub calls for various ESAS tasks. + Bug Fixes. Version 0.9 - 2021-05-14 (BP) =============================== + Rewrite of spectrum augmentation in esas_mod for mosback/pnback. + Replaced rowwise looping with selectlib filtering of QPB data. + Added new QPB data to testprods for aug spectra usage. Version 0.8.4 - 2021-05-10 (BP) =============================== + Fixed call to retfit. Version 0.8.3 - 2021-05-06 (BP) =============================== + Expanded getootsca for other tasks. + Fixed doc build error. Version 0.8.2 - 2021-05-04 (BP) =============================== + Added subroutine getootsca for combimage and adapt usage. + Fixed bug in write_QDP_files. Version 0.8.1 - 2021-04-22 (BP) =============================== + Fixed bug in read_2D_array. + Bug fix in CAL_setState call in hardscale. Version 0.8 - 2021-04-14 (BP) =============================== + Rewrote spscale and hardscale to utilize CAL calls. Version 0.7.3 - 2021-04-01 (BP) =============================== + Fixed array bounds in fix_gauss causing memory leak in espfilt. Version 0.7.2 - 2020-10-19 (BP) =============================== + Fixed overbounds in histo causing memory leak in espfilt. Version 0.7.1 - 2020-10-09 (BP) =============================== + Fixed kpamoeba small point blowup. Version 0.7 - 2020-09-18 (BP) =============================== + Matched read_pha with all tasks that use it. + Check for EXPOSUnn extension numerically. + Changed some errors to warnings. + Changed arrays to pointers in read* subroutines. + Added check for STAT_ERR column in spectral files. Version 0.6 - 2020-08-13 (BP) =============================== + Realigned read_header_info for all esas task consistency. Version 0.5 - 2020-08-11 (BP) =============================== + Added sub more_coord_keys (makemask usage), + Added cleanesas from old esas. Version 0.4 - 2020-07-20 (BP) =============================== + Lined up sub calls for tasks espfilt, proton, swcx. + Added sub addhilo to add ELOW and EHIGH to esas prods. + Adjusted elow, ehigh sub inputs to int. + Minor bug fixes. Version 0.3 - 2020-07-11 (BP) =============================== + Bug fix in emanom + Filename sync in gofio + Added generic optional chipmasking to gofutils + Added fit_gauss and amoeba code to gofmatrix. Version 0.2 - 2020-05-11 (BP) =============================== + Added standalone task emanom + Update to read_header_info to align with swcx and proton tasks. + Bug fixes + Added ESA GPL headers. Version 0.1 - 2014-02-01 (BP&EO) + First GOF library set, all f90 version. + This library was originally in the task ESAS. + Library combines common functions in tasks (list all tasks here). + This is a new major version of this package including a new GNU Public License Text disclaimer required to distribute the SAS source code to the Astronomical Community under the terms of the GNU Public License. The text as it is shown below is the same that has been included in all SAS source code files. ESA (C) 2000-2018 This file is part of ESA's XMM-Newton Scientific Analysis System (SAS). SAS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. SAS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with SAS. If not, see . ---------------------------------------------------------------------