Commit c066bacf authored by Johan Richard's avatar Johan Richard
Browse files

extended contour in case of no seeing or psf

parent e444cf02
......@@ -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);
......
......@@ -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)
......
......@@ -20,6 +20,7 @@
#include <stdlib.h>
#include "structure.h"
#include "lt.h"
#include "fonction.h"
struct cpa2d; //predifiniton of cpa2d (see below)
......
......@@ -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
......
#include<stdlib.h>
#include<math.h>
#include<fonction.h>
#include<../liblt/lt.h>
#include<constant.h>
#include<dimension.h>
#include<structure.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment