| Line 5... |
Line 5... |
*
|
*
|
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
*
|
*
|
* This file part of: SExtractor
|
* This file part of: SExtractor
|
*
|
*
|
* Copyright: (C) 1993-2010 Emmanuel Bertin -- IAP/CNRS/UPMC
|
* Copyright: (C) 1993-2011 Emmanuel Bertin -- IAP/CNRS/UPMC
|
*
|
*
|
* License: GNU General Public License
|
* License: GNU General Public License
|
*
|
*
|
* SExtractor is free software: you can redistribute it and/or modify
|
* SExtractor is free software: you can redistribute it and/or modify
|
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
| Line 20... |
Line 20... |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
* along with SExtractor. If not, see <http://www.gnu.org/licenses/>.
|
* along with SExtractor. If not, see <http://www.gnu.org/licenses/>.
|
*
|
*
|
* Last modified: 09/03/2011
|
* Last modified: 19/05/2011
|
*
|
*
|
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
|
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
|
|
|
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
#include "config.h"
|
#include "config.h"
|
| Line 488... |
Line 488... |
prefs.world_flag = FLAG(obj2.mxw) || FLAG(obj2.mamaposx)
|
prefs.world_flag = FLAG(obj2.mxw) || FLAG(obj2.mamaposx)
|
|| FLAG(obj2.peakxw) || FLAG(obj2.winpos_xw)
|
|| FLAG(obj2.peakxw) || FLAG(obj2.winpos_xw)
|
|| FLAG(obj2.mx2w) || FLAG(obj2.win_mx2w)
|
|| FLAG(obj2.mx2w) || FLAG(obj2.win_mx2w)
|
|| FLAG(obj2.xw_prof) || FLAG(obj2.poserrmx2w_prof)
|
|| FLAG(obj2.xw_prof) || FLAG(obj2.poserrmx2w_prof)
|
|| FLAG(obj2.poserr_mx2w) || FLAG(obj2.winposerr_mx2w)
|
|| FLAG(obj2.poserr_mx2w) || FLAG(obj2.winposerr_mx2w)
|
|| FLAG(obj2.area_flagw) || FLAG(obj2.prof_flagw);
|
|| FLAG(obj2.area_flagw) || FLAG(obj2.prof_flagw)
|
|
|| FLAG(obj2.fwhmw_psf);
|
|
|
/* Default astrometric settings */
|
/* Default astrometric settings */
|
strcpy(prefs.coosys, "ICRS");
|
strcpy(prefs.coosys, "ICRS");
|
prefs.epoch = 2000.0;
|
prefs.epoch = 2000.0;
|
|
|
| Line 616... |
Line 617... |
|| prefs.check_type[i] == CHECK_SUBDISKS)
|
|| prefs.check_type[i] == CHECK_SUBDISKS)
|
prefs.prof_flag = 1;
|
prefs.prof_flag = 1;
|
if (prefs.prof_flag)
|
if (prefs.prof_flag)
|
prefs.psf_flag = 1;
|
prefs.psf_flag = 1;
|
|
|
/*--------------------------- Adaptive class-star ---------------------------*/
|
/*-------------------------- Tracking the PSF FWHM --------------------------*/
|
if (prefs.seeing_fwhm == 0 && FLAG(obj2.sprob))
|
if (prefs.seeing_fwhm == 0 && FLAG(obj2.sprob) || FLAG(obj2.fwhm_psf))
|
prefs.psf_flag = 1;
|
prefs.psf_flag = 1;
|
|
|
/*-------------------------- Pattern-fitting -------------------------------*/
|
/*-------------------------- Pattern-fitting -------------------------------*/
|
/* Profile-fitting is possible only if a PSF file is loaded */
|
/* Profile-fitting is possible only if a PSF file is loaded */
|
if (prefs.check_flag)
|
if (prefs.check_flag)
|