source:
Sophya/trunk/Poubelle/DPC:FitsIOServer/Tests/sphg0.cc@
658
Last change on this file since 658 was 658, checked in by , 26 years ago | |
---|---|
File size: 410 bytes |
Line | |
---|---|
1 | #include <iostream.h> |
2 | #include "sambainit.h" |
3 | #include "tod.h" |
4 | #include "spheregorski.h" |
5 | |
6 | |
7 | int main() |
8 | { |
9 | double teta,phi; |
10 | PeidaInit(); |
11 | int m=32; |
12 | SphereGorski<double> sph(m); |
13 | for (int j=0;j<sph.NbPixels();j++) |
14 | { |
15 | sph.PixThetaPhi(j,teta,phi); |
16 | sph(j)= 0.2* cos(3.*teta)*sin(8*phi); |
17 | } |
18 | // Projection dans une image |
19 | |
20 | cout << " ===== Fin de test0 ======== " << endl; |
21 | return 0; |
22 | } |
Note:
See TracBrowser
for help on using the repository browser.