GLAMERDOC++
Gravitational Lensing Code Library
Loading...
Searching...
No Matches
SLsimLib
include
fitlens.h
1
/*
2
* fitlens.h
3
*
4
* Created on: Jan 13, 2011
5
* Author: RB Metcalf
6
*/
7
8
#ifndef FITLENS_H_
9
#define FITLENS_H_
10
11
#include <mutex>
12
#include <analytic_lens.h>
13
14
15
void
find_lens(
int
Nimages,
int
Nsources,
int
*pairing,
double
**xob,
double
*xg,
double
beta
16
,
int
N,
int
*degen,
double
*mod,
double
**v,
double
**dx);
17
double
modfind(
double
theta);
18
19
void
deflection_total(
double
*ximage,
double
*angle,
int
fulllens,
double
sdeg,
double
*ang_lens
20
,
int
mag,
double
*Amag);
21
double
deflection_model(
double
beta,
double
*mod,
double
*x,
double
*y,
double
*mag,
int
N
22
,
int
Nlenses,
double
Re2,
double
*x2);
23
int
find_image_number(
double
*yo,
double
*x_center,
double
*mod,
int
Nmod,
int
Nlenses,
double
Re2,
double
*x2);
24
double
finiteMag(
double
radsource,
double
*xo,
double
*mod,
int
Nmod,
int
Nlenses,
double
Re2,
double
*x2t);
25
26
double
minEllip(
double
*q);
27
double
minaxis(
double
thetaX);
28
void
RotateModel(
double
thetaX,
double
*mod,
int
N,
int
Nsources);
29
double
regularize(
int
Nmax,
int
Nmin,
int
N,
int
Nsources,
int
degen,
double
*mod
30
,
double
**v,
double
*modo);
31
32
#endif
Generated on Sun Sep 8 2024 19:31:02 for GLAMERDOC++ by
1.12.0