pax_global_header00006660000000000000000000000064144157345430014524gustar00rootroot0000000000000052 comment=148803af7cc5da669c38fe8133f42fe2b2db005a psfex-3.24.2/000077500000000000000000000000001441573454300127415ustar00rootroot00000000000000psfex-3.24.2/.github/000077500000000000000000000000001441573454300143015ustar00rootroot00000000000000psfex-3.24.2/.github/workflows/000077500000000000000000000000001441573454300163365ustar00rootroot00000000000000psfex-3.24.2/.github/workflows/build.yml000066400000000000000000000010401441573454300201530ustar00rootroot00000000000000name: build on: push: branches: - master pull_request: branches: - master workflow_dispatch: jobs: build-on-linux: name: compile on linux Ubuntu continue-on-error: false runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Install dependency run: | sudo apt-get install libatlas-base-dev libfftw3-dev libplplot-dev - name: Build on Linux Ubuntu run: | ./autogen.sh ./configure make -j psfex-3.24.2/.gitignore000066400000000000000000000015111441573454300147270ustar00rootroot00000000000000# autogen.sh generated files /Makefile.in /aclocal.m4 /autoconf/ /autom4te.cache/ /config.h.in /configure /debian/Makefile.in /doc/Makefile.in /m4/libtool.m4 /m4/ltoptions.m4 /m4/ltsugar.m4 /m4/ltversion.m4 /m4/lt~obsolete.m4 /man/Makefile.in /src/Makefile.in /src/fits/Makefile.in /src/wcs/Makefile.in /src/levmar/Makefile.in # configure generated files /Makefile /config.h /config.h.in~ /config.log /config.status /debian/Makefile /debian/changelog /doc/Makefile /libtool /man/Makefile /psfex.spec /src/.deps/ /src/Makefile /src/fits/.deps/ /src/fits/Makefile /src/wcs/.deps/ /src/wcs/Makefile /src/levmar/.deps/ /src/levmar/Makefile /stamp-h1 /man/psfex.1 # build objects and targets *.o /src/psfex /src/f /src/fits/libfits.a /src/wcs/libwcs_c.a src/levmar/liblevmar.a # generated by icc with -prof-gen=srcpos option *.dyn *.spi *.spl psfex-3.24.2/.travis.yml000066400000000000000000000032401441573454300150510ustar00rootroot00000000000000language: c compiler: - gcc env: global: # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created # via the "travis encrypt" command using the project repo's public key - secure: "UT9hruskEPRAHI3O/nChsglXd/sTHoKdprlKNXvp+W4EFpqzCbW+uWyTHSKXXh+0Hx8cmKL9Y0DX0rHTNmckJwUXplLr89uEBh02UKpkxS6MEkhkWF3GuDkehvvnD1lBZcKY0EqeJ0LbnRcZ1hIpEZPdslMF5F3lLRFAnwt203rjy82vpJzCoGtpNMFyfjeshBzUeSFDlwOrtTCpoub1up1yzVJPqR+Ft2UGckTKjfiZb8ZtH/ZnckiBwwra3/wzP7+37r5AQixbFJyuB7axz1X+TaF2eSQeyXXy4fcJxsiH2B1LQ1NvyLMPZJccgsKMWxWBwyeyrkgkQRiFuAc8cg71aF20f04cEHIXiC+C0MX+4BUu0pUrcsZz2WOPUoIKQlDEbloRa7zf0rEODNdOFNNfFFDxrwOR5QzbRwgbHmaVeeYp7Vdb3B5yftRZR6Lv18w6IzCk56HCchugkCjDaSCszxQ7jw2y+JnfrUIrMme94Su8CNByI6ZsyVkYDVk6EUdkMxvbI/5MB3woy8XW8nEESSBeEnj4jBljYfqq/CdKlbc6yldzRBtrKskEvHABj9FGM7p6zqNhuNnrKJj+dMXRlBAIEE54suizfEZUs+kfoF904ueq3UyOCudfCcgwYs5OYKF5KdZ4Uab1R/mjC87dPNIxIHR6CFHxTLtzeW0=" before_install: - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- - sudo apt-get update # Install dependencies required for configuration - sudo apt-get install autoconf libtool pkg-config # Upgrade gcc - gcc --version # Install dependencies - sudo apt-get install libatlas-base-dev libfftw3-dev libshp-dev libplplot-dev install : - sh autogen.sh script : - ./configure - make addons: coverity_scan: project: name: "astromatic/psfex" description: "Build submitted via Travis CI" notification_email: bertin@iap.fr build_command_prepend: "./configure; make clean" build_command: "make -j 4" branch_pattern: coverity_scan os : - linux psfex-3.24.2/AUTHORS000066400000000000000000000000771441573454300140150ustar00rootroot00000000000000Emmanuel Bertin : PSFEx code and FITS library psfex-3.24.2/BUGS000066400000000000000000000000011441573454300134130ustar00rootroot00000000000000 psfex-3.24.2/COPYRIGHT000066400000000000000000000012531441573454300142350ustar00rootroot00000000000000Copyright 2010 IAP - CNRS / Universite P.&M.Curie Author: Emmanuel Bertin PSFEx 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. PSFEx 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 PSFEx. If not, see . psfex-3.24.2/ChangeLog000066400000000000000000001263071441573454300145240ustar00rootroot00000000000000# # ChangeLog # #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # # This file part of: PSFEx # # Copyright: (C) 1998-2010 Emmanuel Bertin -- IAP/CNRS/UPMC # # License: GNU General Public License # # PSFEx 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. # PSFEx 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 PSFEx. If not, see . # # Last modified: 08/11/2010 # #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ------------------------------------------------------------------------ r162 | bertin | 2010-11-07 17:42:10 +0100 (Sun, 07 Nov 2010) | 4 lines Removed infrequently used check-images (MOFFAT,-MOFFAT,-SYMMETRICAL) from the de fault configuration file. Re-ordered the configuration file. Moved PSF_SUFFIX to the group of "advanced" parameters. ------------------------------------------------------------------------ r161 | bertin | 2010-11-03 23:23:23 +0100 (Wed, 03 Nov 2010) | 4 lines Fixed pb with XSLT comment. Fixed sorting issue because of a missing declaration. Version number pushed to 3.9.1. ------------------------------------------------------------------------ r160 | bertin | 2010-10-25 20:14:56 +0200 (Mon, 25 Oct 2010) | 2 lines Updated file headers with the proper license info. ------------------------------------------------------------------------ r159 | bertin | 2010-10-15 23:55:52 +0200 (Fri, 15 Oct 2010) | 3 lines Updated headers. Added misc.h include file. ------------------------------------------------------------------------ r158 | bertin | 2010-10-10 18:45:06 +0200 (Sun, 10 Oct 2010) | 2 lines Added missing LevMar 2.5 distrib files. ------------------------------------------------------------------------ r157 | bertin | 2010-10-10 18:30:26 +0200 (Sun, 10 Oct 2010) | 6 lines Moved back the code to GPL. Added more complete headers to all files. Clarified licensing issues. Updated FITS library. Pushed version number to 3.9.0. ------------------------------------------------------------------------ r156 | bertin | 2010-09-10 19:47:46 +0200 (Fri, 10 Sep 2010) | 5 lines Updated README and website links. Moved LevMar calls to double precision. Fixed a resampling normalization bug introduced in r150 (thanks to N. Sevilla). Pushed version number to 3.8.2. ------------------------------------------------------------------------ r155 | bertin | 2010-08-15 17:24:12 +0200 (Sun, 15 Aug 2010) | 1 line Added Licensing section ------------------------------------------------------------------------ r154 | bertin | 2010-07-20 13:19:18 +0200 (Tue, 20 Jul 2010) | 2 lines Fixed TFORM error message in fitshead.c (thanks to S.Guieu). ------------------------------------------------------------------------ r153 | bertin | 2010-07-02 13:39:58 +0200 (Fri, 02 Jul 2010) | 2 lines Removed redundant update_tab() calls. ------------------------------------------------------------------------ r152 | bertin | 2010-07-02 13:29:37 +0200 (Fri, 02 Jul 2010) | 3 lines Fixed fitspick() issue with slashes within strings (thanks to F.Schuller). Clarified licensing issues (added LICENSE file). ------------------------------------------------------------------------ r151 | bertin | 2010-04-24 14:08:01 +0200 (Sat, 24 Apr 2010) | 2 lines Added support for 4D PSF snapshots when CHECKIMAGE_CUBE is set to xcY. ------------------------------------------------------------------------ r150 | bertin | 2010-04-12 18:48:06 +0200 (Mon, 12 Apr 2010) | 4 lines Added CHI2 and RESIDUALS check-plots. Added internal counters for discarded detections. Normalized interpolating function to have a gain 1 with DC. ------------------------------------------------------------------------ r149 | bertin | 2010-02-06 01:21:02 +0100 (Sat, 06 Feb 2010) | 7 lines Fixed issue with homogenization kernel. Added PHOTFLUX_KEY and PHOTFLUXERR_KEY config parameters with support for measurement vectors. Removed FLUX_MAX dependency and set PHOTFLUX_KEY/PHOTFLUXERR_KEY to define S/N. Added CENTER_KEYS config parameter. Updated XML metadata output. Pyshed version number to 3.8.0. ------------------------------------------------------------------------ r148 | bertin | 2009-11-19 16:40:17 +0100 (Thu, 19 Nov 2009) | 8 lines Fixed issue with FFTW configure for custom library paths. Fixed compilation warnings in the FITS and LevMar libraries. Fixed compilation warnings in various parts of the code. Added automatic recentering of images are read time. Set PSF_RESAMPLE configuration parameter to N by default. Moved the PSF_RESAMPLE configuration parameter to the "advanced category". Pushed version number to 3.7.0. ------------------------------------------------------------------------ r147 | bertin | 2009-11-10 18:37:03 +0100 (Tue, 10 Nov 2009) | 3 lines Fixed display bugs with Moffat/symmetry residuals check-plots and check-images. Prepared support for other source position estimates. ------------------------------------------------------------------------ r146 | bertin | 2009-11-04 19:01:07 +0100 (Wed, 04 Nov 2009) | 3 lines Tweaked LevMar convergence parameters. Pushed version number to 3.6.2. ------------------------------------------------------------------------ r145 | bertin | 2009-11-03 17:48:10 +0100 (Tue, 03 Nov 2009) | 4 lines Fixed Floating Point Exception and other issues in check plots when PSFVAR_NSNAP = 1. Moffat residuals in real-time display, check-images and check-plots are now pixel-aware (i.e. "pixel-free") estimates. The default for BASIS_NUMBER is now 20. ------------------------------------------------------------------------ r144 | bertin | 2009-11-03 13:19:48 +0100 (Tue, 03 Nov 2009) | 4 lines Upgraded to the latest version of the FITS library. Fixed random NaN issues with exceedingly undersampled point-sources. Pushed version number to 3.6.1. ------------------------------------------------------------------------ r143 | bertin | 2009-10-30 18:25:55 +0100 (Fri, 30 Oct 2009) | 3 lines Added PSF basis vector coefficients for non-pixel bases in .psf file. Pushed version number to 3.6.0. ------------------------------------------------------------------------ r142 | bertin | 2009-10-27 19:41:22 +0100 (Tue, 27 Oct 2009) | 4 lines Fixed NaNs in XML output and constant FWHMs in FITS headers in fields without proper point sources (thanks to V. de Lapparent and F.Magnard). Upgraded LevMar library to version 2.4. Pushed version number to 3.5.1. ------------------------------------------------------------------------ r141 | bertin | 2009-10-15 18:13:23 +0200 (Thu, 15 Oct 2009) | 2 lines Moved variables related to Moffat fitting from double to single precision. ------------------------------------------------------------------------ r140 | bertin | 2009-10-15 00:10:43 +0200 (Thu, 15 Oct 2009) | 4 lines Combined normal and "pixel-free" Moffat fits in XML output: added FWHM_PixelFree, Ellipticity_PixelFree, MoffatBeta_PixelFree and Residu als_PixelFree fields. Updated XSLT filter to accomodate the new fields. Pushed version number to 3.5.0. ------------------------------------------------------------------------ r139 | bertin | 2009-09-10 19:27:30 +0200 (Thu, 10 Sep 2009) | 2 lines Went back to using plimage() and plsetopts() straight without trying to fool around with dynamic libraries (kills compatibility with old er PLplot versions unfortunately). ------------------------------------------------------------------------ r138 | bertin | 2009-09-10 19:26:19 +0200 (Thu, 10 Sep 2009) | 6 lines Added --enable-auto-flags. Added --enable-best-link configure option. Added rpm-best option in Makefile.am. Cleaned up configure file. Pushed version number to 3.4.0. ------------------------------------------------------------------------ r137 | bertin | 2009-09-03 19:27:05 +0200 (Thu, 03 Sep 2009) | 2 lines Removed debug line. ------------------------------------------------------------------------ r136 | bertin | 2009-09-03 19:24:16 +0200 (Thu, 03 Sep 2009) | 5 lines Added convolution of the pixel footprint in Moffat diagnostic fit.. Added PSF_PIXELSIZE config keyword. Added AstrOmatic link in XSL banner. Pushed version number to 3.4.0. ------------------------------------------------------------------------ r135 | bertin | 2009-08-30 19:17:21 +0200 (Sun, 30 Aug 2009) | 2 lines Fixed portability issue with the RPM version of PLplot (no gd). ------------------------------------------------------------------------ r134 | bertin | 2009-08-28 22:31:37 +0200 (Fri, 28 Aug 2009) | 4 lines Fixed issue with libltdl on the binary version. Fixed pb with plplot library version. Pushed version number to 3.3.11. ------------------------------------------------------------------------ r133 | bertin | 2009-06-26 17:40:02 +0200 (Fri, 26 Jun 2009) | 2 lines Fixed incomplete handling of multithreaded FFTW. ------------------------------------------------------------------------ r132 | bertin | 2009-06-26 17:33:02 +0200 (Fri, 26 Jun 2009) | 6 lines Made parallel version of ATLAS not mandatory for the multithread option. Replaced configuration error with warning if FFTW is not multithreaded and multithreading has been activated. Added autoconfig support for FFTW multithreaded versions combined in libfftw3. Added runtime warning if ATLAS is not multithreaded and multithreading is on. Version number pushed to 3.3.10. ------------------------------------------------------------------------ r131 | bertin | 2009-06-19 19:10:11 +0200 (Fri, 19 Jun 2009) | 2 lines Fixed compatibility problems of older PLPlot versions with plparseopt(). ------------------------------------------------------------------------ r130 | bertin | 2009-05-22 14:29:37 +0200 (Fri, 22 May 2009) | 3 lines Added filtering of non-numerical characters for floating-point FITS keywords (thanks to D.G. Bonfield for the suggestion). Included Chiara's MissFITS fix in fitspick(). ------------------------------------------------------------------------ r129 | bertin | 2009-04-22 16:02:35 +0200 (Wed, 22 Apr 2009) | 3 lines Fixed 1-pixel shift bug in psf_shift(). Version number pushed to 3.3.9. ------------------------------------------------------------------------ r128 | bertin | 2009-04-17 02:18:38 +0200 (Fri, 17 Apr 2009) | 3 lines Added config parameters PSF_DIR and HOMOKERNEL_DIR for output directory paths. Pushed version number to 3.3.8. ------------------------------------------------------------------------ r127 | bertin | 2009-04-16 00:41:51 +0200 (Thu, 16 Apr 2009) | 3 lines Fixed FFT bug with rectangular pixel maps (thanks to T.Darnell). Pushed version number to 3.3.7. ------------------------------------------------------------------------ r125 | bertin | 2009-04-09 15:18:16 +0200 (Thu, 09 Apr 2009) | 1 line Pushed version number to 3.3.6. ------------------------------------------------------------------------ r124 | bertin | 2009-04-01 18:15:04 +0200 (Wed, 01 Apr 2009) | 2 lines Had forgotten to regenerate configure file. ------------------------------------------------------------------------ r123 | bertin | 2009-04-01 18:13:35 +0200 (Wed, 01 Apr 2009) | 2 lines Forgot an attribute in