source: Sophya/trunk/SophyaProg/Tests/sphg0.cc@ 768

Last change on this file since 768 was 768, checked in by ansari, 26 years ago

Reorganisation - PeidaInit() -> SophyaInit() - Reza 2/3/2000

File size: 412 bytes
RevLine 
[491]1#include <iostream.h>
[526]2#include "sambainit.h"
[583]3#include "tod.h"
[491]4#include "spheregorski.h"
5
6
7int main()
8{
9 double teta,phi;
[768]10 SophyaInit();
11
[491]12 int m=32;
13 SphereGorski<double> sph(m);
14 for (int j=0;j<sph.NbPixels();j++)
15 {
16 sph.PixThetaPhi(j,teta,phi);
17 sph(j)= 0.2* cos(3.*teta)*sin(8*phi);
18 }
19 // Projection dans une image
20
21 cout << " ===== Fin de test0 ======== " << endl;
22 return 0;
23}
Note: See TracBrowser for help on using the repository browser.