Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lenstool
Lenstool
Commits
c066bacf
Commit
c066bacf
authored
Nov 18, 2020
by
Johan Richard
Browse files
extended contour in case of no seeing or psf
parent
e444cf02
Changes
5
Hide whitespace changes
Inline
Side-by-side
include/fonction.h
View file @
c066bacf
...
...
@@ -69,6 +69,7 @@ double comp_chi_osv(double *vect);
double
comp_chi_osv
(
double
*
vect
);
void
comp_dchi_osv
(
double
*
vect
,
double
*
dvect
);
int
comp_desc
(
double
A
,
double
B
);
void
cl_connectdots
(
int
);
void
convertXY
(
double
*
x
,
double
*
y
,
int
iref
,
double
ra
,
double
dec
);
void
copyright
();
void
copyTriplet
(
struct
triplet
*
in
,
struct
triplet
*
out
);
...
...
@@ -94,6 +95,7 @@ complex dcpx(complex c1, complex c2);
complex
dcpxflt
(
complex
c
,
double
f
);
double
determinant
(
const
struct
point
*
A
,
const
struct
point
*
B
,
const
struct
point
*
C
);
double
d_gauss
(
double
sig
,
int
*
idum
);
void
d_rbf
(
double
**
im
,
int
nx
,
int
ny
,
double
scale
);
double
deltaVF
(
double
zc
);
struct
ellipse
diag
(
double
a
,
double
b
,
double
c
);
double
diff_mag
(
struct
galaxie
*
arclet
,
struct
point
*
guess
);
...
...
src/d_bruiter_omp.c
View file @
c066bacf
...
...
@@ -5,6 +5,7 @@
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <math.h>
#include <fonction.h>
// Append a sky background to the pixels of image **z
...
...
@@ -13,7 +14,7 @@ void d_bruiter_omp(double **z, int nx, int ny)
const
extern
struct
g_observ
O
;
//at this point we mustn't be in parallel
check_not_in_parallel
();
check_not_in_parallel
(
""
);
int
i
;
#pragma omp parallel for schedule(static)
...
...
src/d_seeing_omp.c
View file @
c066bacf
...
...
@@ -20,6 +20,7 @@
#include <stdlib.h>
#include "structure.h"
#include "lt.h"
#include "fonction.h"
struct
cpa2d
;
//predifiniton of cpa2d (see below)
...
...
src/o_global.c
View file @
c066bacf
...
...
@@ -498,6 +498,11 @@ void readConstraints()
imFrame
.
nx
*
imFrame
.
ny
*
sizeof
(
struct
pixlist
));
keep_cl_extended
(
imo_pl
,
imo_npl
,
imo_pl_ext
,
&
imo_npl_ext
);
}
else
{
imo_pl_ext
=
imo_pl
;
imo_npl_ext
=
imo_npl
;
}
}
// TODO : remove duplicate pixels in list when overlapping contours occur
...
...
src/o_set_lens_bayes.c
View file @
c066bacf
#include<stdlib.h>
#include<math.h>
#include<fonction.h>
#include<../liblt/lt.h>
#include<constant.h>
#include<dimension.h>
#include<structure.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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