Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97035720
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
Wed, Jan 1, 20:35
Size
917 B
Mime Type
text/x-c
Expires
Fri, Jan 3, 20:35 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23316386
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