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
b066fc4b
Commit
b066fc4b
authored
Jan 29, 2009
by
Emmanuel Bertin
Browse files
Fixed crash with model fitting on small objects
parent
25eb7877
Changes
2
Hide whitespace changes
Inline
Side-by-side
man/sex.1
View file @
b066fc4b
.TH SEXTRACTOR "1" "
November
200
8
" "SWarp 2.8.2" "User Commands"
.TH SEXTRACTOR "1" "
January
200
9
" "SWarp 2.8.2" "User Commands"
.SH NAME
sex \- extract a source catalog from an astronomical FITS image
.SH SYNOPSIS
...
...
src/profit.c
View file @
b066fc4b
...
...
@@ -9,7 +9,7 @@
*
* Contents: Fit an arbitrary profile combination to a detection.
*
* Last modify: 2
0/1
1/200
8
* Last modify: 2
9/0
1/200
9
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/
...
...
@@ -168,7 +168,7 @@ OUTPUT Pointer to an allocated fit structure (containing details about the
fit).
NOTES It is a modified version of the lm_minimize() of lmfit.
AUTHOR E. Bertin (IAP)
VERSION 2
0/1
1/200
8
VERSION 2
9/0
1/200
9
***/
void
profit_fit
(
profitstruct
*
profit
,
picstruct
*
field
,
picstruct
*
wfield
,
...
...
@@ -217,8 +217,9 @@ void profit_fit(profitstruct *profit,
profit
->
nresi
=
profit_copyobjpix
(
profit
,
field
,
wfield
);
if
(
profit
->
nresi
<
nparam
)
{
for
(
p
=
0
;
p
<
nparam
;
p
++
)
obj2
->
prof_vector
[
p
]
=
0
.
0
;
if
(
FLAG
(
obj2
.
prof_vector
))
for
(
p
=
0
;
p
<
nparam
;
p
++
)
obj2
->
prof_vector
[
p
]
=
0
.
0
;
obj2
->
prof_niter
=
0
;
return
;
}
...
...
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