Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
msc
sextractor
Commits
79e12583
Commit
79e12583
authored
Apr 05, 2013
by
Emmanuel Bertin
Browse files
Added proper correction of model subsampling to SPHEROIDS and DISKS check-images.
Pushed version number to 2.18.9.
parent
3972d255
Changes
4
Hide whitespace changes
Inline
Side-by-side
configure
View file @
79e12583
#! /bin/sh
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for sextractor 2.18.
8
.
# Generated by GNU Autoconf 2.69 for sextractor 2.18.
9
.
#
#
# Report bugs to <bertin@iap.fr>.
# Report bugs to <bertin@iap.fr>.
#
#
...
@@ -590,8 +590,8 @@ MAKEFLAGS=
...
@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
# Identity of this package.
PACKAGE_NAME='sextractor'
PACKAGE_NAME='sextractor'
PACKAGE_TARNAME='sextractor'
PACKAGE_TARNAME='sextractor'
PACKAGE_VERSION
=
'2.18.
8
'
PACKAGE_VERSION='2.18.
9
'
PACKAGE_STRING
=
'sextractor 2.18.
8
'
PACKAGE_STRING='sextractor 2.18.
9
'
PACKAGE_BUGREPORT='bertin@iap.fr'
PACKAGE_BUGREPORT='bertin@iap.fr'
PACKAGE_URL=''
PACKAGE_URL=''
...
@@ -1344,7 +1344,7 @@ if test "$ac_init_help" = "long"; then
...
@@ -1344,7 +1344,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
cat <<_ACEOF
\`
configure' configures sextractor 2.18.
8
to adapt to many kinds of systems.
\`configure' configures sextractor 2.18.
9
to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Usage: $0 [OPTION]... [VAR=VALUE]...
...
@@ -1414,7 +1414,7 @@ fi
...
@@ -1414,7 +1414,7 @@ fi
if test -n "$ac_init_help"; then
if test -n "$ac_init_help"; then
case $ac_init_help in
case $ac_init_help in
short
|
recursive
)
echo
"Configuration of sextractor 2.18.
8
:"
;;
short | recursive ) echo "Configuration of sextractor 2.18.
9
:";;
esac
esac
cat <<\_ACEOF
cat <<\_ACEOF
...
@@ -1546,7 +1546,7 @@ fi
...
@@ -1546,7 +1546,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
if $ac_init_version; then
cat <<\_ACEOF
cat <<\_ACEOF
sextractor configure 2.18.
8
sextractor configure 2.18.
9
generated by GNU Autoconf 2.69
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Copyright (C) 2012 Free Software Foundation, Inc.
...
@@ -1969,7 +1969,7 @@ cat >config.log <<_ACEOF
...
@@ -1969,7 +1969,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
running configure, to aid debugging if configure makes a mistake.
It was created by sextractor
$as_me
2.18.
8
, which was
It was created by sextractor $as_me 2.18.
9
, which was
generated by GNU Autoconf 2.69. Invocation command line was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
$ $0 $@
...
@@ -2783,7 +2783,7 @@ fi
...
@@ -2783,7 +2783,7 @@ fi
# Define the identity of the package.
# Define the identity of the package.
PACKAGE='sextractor'
PACKAGE='sextractor'
VERSION
=
'2.18.
8
'
VERSION='2.18.
9
'
cat >>confdefs.h <<_ACEOF
cat >>confdefs.h <<_ACEOF
...
@@ -15656,7 +15656,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
...
@@ -15656,7 +15656,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
# values after options handling.
ac_log="
ac_log="
This file was extended by sextractor
$as_me
2.18.
8
, which was
This file was extended by sextractor $as_me 2.18.
9
, which was
generated by GNU Autoconf 2.69. Invocation command line was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_FILES = $CONFIG_FILES
...
@@ -15722,7 +15722,7 @@ _ACEOF
...
@@ -15722,7 +15722,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
ac_cs_version="\\
sextractor config.status 2.18.
8
sextractor config.status 2.18.
9
configured by $0, generated by GNU Autoconf 2.69,
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
with options \\"\$ac_cs_config\\"
...
...
configure.ac
View file @
79e12583
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
# 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: 0
3
/04/2013
# Last modified: 0
5
/04/2013
#
#
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...
@@ -31,7 +31,7 @@ define([AC_CACHE_LOAD],)
...
@@ -31,7 +31,7 @@ define([AC_CACHE_LOAD],)
define([AC_CACHE_SAVE],)
define([AC_CACHE_SAVE],)
# This is your standard Bertin source code...
# This is your standard Bertin source code...
AC_INIT(sextractor, 2.18.
8
, [bertin@iap.fr])
AC_INIT(sextractor, 2.18.
9
, [bertin@iap.fr])
AC_CONFIG_SRCDIR(src/makeit.c)
AC_CONFIG_SRCDIR(src/makeit.c)
AC_CONFIG_AUX_DIR(autoconf)
AC_CONFIG_AUX_DIR(autoconf)
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_HEADERS(config.h)
...
...
man/sex.1
View file @
79e12583
.TH SEXTRACTOR "1" "April 2013" "SExtractor 2.18.
8
" "User Commands"
.TH SEXTRACTOR "1" "April 2013" "SExtractor 2.18.
9
" "User Commands"
.SH NAME
.SH NAME
sex \- extract a source catalogue from an astronomical FITS image
sex \- extract a source catalogue from an astronomical FITS image
.SH SYNOPSIS
.SH SYNOPSIS
...
...
src/profit.c
View file @
79e12583
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
* 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:
16
/0
2
/2013
* Last modified:
05
/0
4
/2013
*
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
...
@@ -168,7 +168,7 @@ OUTPUT Pointer to an allocated fit structure (containing details about the
...
@@ -168,7 +168,7 @@ OUTPUT Pointer to an allocated fit structure (containing details about the
fit).
fit).
NOTES It is a modified version of the lm_minimize() of lmfit.
NOTES It is a modified version of the lm_minimize() of lmfit.
AUTHOR E. Bertin (IAP)
AUTHOR E. Bertin (IAP)
VERSION
26
/0
2
/2013
VERSION
05
/0
4
/2013
***/
***/
void
profit_fit
(
profitstruct
*
profit
,
void
profit_fit
(
profitstruct
*
profit
,
picstruct
*
field
,
picstruct
*
wfield
,
picstruct
*
field
,
picstruct
*
wfield
,
...
@@ -396,7 +396,14 @@ profit->niter = profit_minimize(profit, PROFIT_MAXITER);
...
@@ -396,7 +396,14 @@ profit->niter = profit_minimize(profit, PROFIT_MAXITER);
if
(
list
[
i
]
&&
flux_flag
[
i
]
&&
i
!=
PARAM_SPHEROID_FLUX
)
if
(
list
[
i
]
&&
flux_flag
[
i
]
&&
i
!=
PARAM_SPHEROID_FLUX
)
param
[
index
[
i
]]
=
0
.
0
;
param
[
index
[
i
]]
=
0
.
0
;
profit_residuals
(
profit
,
field
,
wfield
,
0
.
0
,
param
,
NULL
);
profit_residuals
(
profit
,
field
,
wfield
,
0
.
0
,
param
,
NULL
);
addcheck
(
check
,
profit
->
lmodpix
,
profit
->
objnaxisn
[
0
],
profit
->
objnaxisn
[
1
],
if
(
profit
->
subsamp
>
1
.
0
)
addcheck_resample
(
check
,
profit
->
lmodpix
,
profit
->
objnaxisn
[
0
],
profit
->
objnaxisn
[
1
],
profit
->
ix
,
profit
->
iy
,
1
.
0
/
profit
->
subsamp
,
1
.
0
/
(
profit
->
subsamp
*
profit
->
subsamp
));
else
addcheck
(
check
,
profit
->
lmodpix
,
profit
->
objnaxisn
[
0
],
profit
->
objnaxisn
[
1
],
profit
->
ix
,
profit
->
iy
,
1
.
0
);
profit
->
ix
,
profit
->
iy
,
1
.
0
);
}
}
if
((
check
=
prefs
.
check
[
CHECK_SUBSPHEROIDS
]))
if
((
check
=
prefs
.
check
[
CHECK_SUBSPHEROIDS
]))
...
@@ -410,7 +417,14 @@ profit->niter = profit_minimize(profit, PROFIT_MAXITER);
...
@@ -410,7 +417,14 @@ profit->niter = profit_minimize(profit, PROFIT_MAXITER);
if
(
list
[
i
]
&&
flux_flag
[
i
]
&&
i
!=
PARAM_SPHEROID_FLUX
)
if
(
list
[
i
]
&&
flux_flag
[
i
]
&&
i
!=
PARAM_SPHEROID_FLUX
)
param
[
index
[
i
]]
=
0
.
0
;
param
[
index
[
i
]]
=
0
.
0
;
profit_residuals
(
profit
,
field
,
wfield
,
0
.
0
,
param
,
NULL
);
profit_residuals
(
profit
,
field
,
wfield
,
0
.
0
,
param
,
NULL
);
addcheck
(
check
,
profit
->
lmodpix
,
profit
->
objnaxisn
[
0
],
profit
->
objnaxisn
[
1
],
if
(
profit
->
subsamp
>
1
.
0
)
addcheck_resample
(
check
,
profit
->
lmodpix
,
profit
->
objnaxisn
[
0
],
profit
->
objnaxisn
[
1
],
profit
->
ix
,
profit
->
iy
,
1
.
0
/
profit
->
subsamp
,
-
1
.
0
/
(
profit
->
subsamp
*
profit
->
subsamp
));
else
addcheck
(
check
,
profit
->
lmodpix
,
profit
->
objnaxisn
[
0
],
profit
->
objnaxisn
[
1
],
profit
->
ix
,
profit
->
iy
,
-
1
.
0
);
profit
->
ix
,
profit
->
iy
,
-
1
.
0
);
}
}
if
((
check
=
prefs
.
check
[
CHECK_DISKS
]))
if
((
check
=
prefs
.
check
[
CHECK_DISKS
]))
...
@@ -424,7 +438,14 @@ profit->niter = profit_minimize(profit, PROFIT_MAXITER);
...
@@ -424,7 +438,14 @@ profit->niter = profit_minimize(profit, PROFIT_MAXITER);
if
(
list
[
i
]
&&
flux_flag
[
i
]
&&
i
!=
PARAM_DISK_FLUX
)
if
(
list
[
i
]
&&
flux_flag
[
i
]
&&
i
!=
PARAM_DISK_FLUX
)
param
[
index
[
i
]]
=
0
.
0
;
param
[
index
[
i
]]
=
0
.
0
;
profit_residuals
(
profit
,
field
,
wfield
,
0
.
0
,
param
,
NULL
);
profit_residuals
(
profit
,
field
,
wfield
,
0
.
0
,
param
,
NULL
);
addcheck
(
check
,
profit
->
lmodpix
,
profit
->
objnaxisn
[
0
],
profit
->
objnaxisn
[
1
],
if
(
profit
->
subsamp
>
1
.
0
)
addcheck_resample
(
check
,
profit
->
lmodpix
,
profit
->
objnaxisn
[
0
],
profit
->
objnaxisn
[
1
],
profit
->
ix
,
profit
->
iy
,
1
.
0
/
profit
->
subsamp
,
1
.
0
/
(
profit
->
subsamp
*
profit
->
subsamp
));
else
addcheck
(
check
,
profit
->
lmodpix
,
profit
->
objnaxisn
[
0
],
profit
->
objnaxisn
[
1
],
profit
->
ix
,
profit
->
iy
,
1
.
0
);
profit
->
ix
,
profit
->
iy
,
1
.
0
);
}
}
if
((
check
=
prefs
.
check
[
CHECK_SUBDISKS
]))
if
((
check
=
prefs
.
check
[
CHECK_SUBDISKS
]))
...
@@ -438,7 +459,14 @@ profit->niter = profit_minimize(profit, PROFIT_MAXITER);
...
@@ -438,7 +459,14 @@ profit->niter = profit_minimize(profit, PROFIT_MAXITER);
if
(
list
[
i
]
&&
flux_flag
[
i
]
&&
i
!=
PARAM_DISK_FLUX
)
if
(
list
[
i
]
&&
flux_flag
[
i
]
&&
i
!=
PARAM_DISK_FLUX
)
param
[
index
[
i
]]
=
0
.
0
;
param
[
index
[
i
]]
=
0
.
0
;
profit_residuals
(
profit
,
field
,
wfield
,
0
.
0
,
param
,
NULL
);
profit_residuals
(
profit
,
field
,
wfield
,
0
.
0
,
param
,
NULL
);
addcheck
(
check
,
profit
->
lmodpix
,
profit
->
objnaxisn
[
0
],
profit
->
objnaxisn
[
1
],
if
(
profit
->
subsamp
>
1
.
0
)
addcheck_resample
(
check
,
profit
->
lmodpix
,
profit
->
objnaxisn
[
0
],
profit
->
objnaxisn
[
1
],
profit
->
ix
,
profit
->
iy
,
1
.
0
/
profit
->
subsamp
,
-
1
.
0
/
(
profit
->
subsamp
*
profit
->
subsamp
));
else
addcheck
(
check
,
profit
->
lmodpix
,
profit
->
objnaxisn
[
0
],
profit
->
objnaxisn
[
1
],
profit
->
ix
,
profit
->
iy
,
-
1
.
0
);
profit
->
ix
,
profit
->
iy
,
-
1
.
0
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment