Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96627302
diag.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Dec 29, 04:54
Size
917 B
Mime Type
text/x-c
Expires
Tue, Dec 31, 04:54 (7 h, 46 m)
Engine
blob
Format
Raw Data
Handle
23218838
Attached To
R1448 Lenstool-HPC
diag.c
View Options
#include<stdio.h>
#include<math.h>
#include<fonction.h>
#include<constant.h>
#include<dimension.h>
#include<structure.h>
/****************************************************************/
/* nom: diag */
/* auteur: Jean-Paul Kneib */
/* date: 10/02/92 */
/* place: Toulouse */
/****************************************************************
* Same as formeli() but return the inverse of a and b, the proper
* magnification axis.
*
* Used in e_test()/e_mag() to define the arclet size in the image plane
* from the source size in the source plane.
*
* Parameters :
* - a : 1 - dxx(Phi)
* - b : - dxy(Phi)
* - c : 1 - dyy(Phi)
*/
struct
ellipse
diag
(
double
a
,
double
b
,
double
c
)
{
struct
ellipse
diago
;
diago
=
formeli
(
a
,
b
,
c
);
diago
.
a
=
1
/
diago
.
a
;
diago
.
b
=
1
/
diago
.
b
;
return
(
diago
);
}
Event Timeline
Log In to Comment