Changeset 515 in Sophya for trunk/SophyaLib/Samba/spheregorski.cc
- Timestamp:
- Oct 26, 1999, 2:44:44 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/spheregorski.cc
r487 r515 1 1 #include "spheregorski.h" 2 2 #include "strutil.h" 3 #include <math.h> 3 4 #include <complex> 4 5 #include "piocmplx.h" … … 886 887 iy_hi = iy/128; 887 888 ipf= (PXY.x2pix_(ix_hi)+PXY.y2pix_(iy_hi))*(128*128)+(PXY.x2pix_(ix_low)+PXY.y2pix_(iy_low)); 888 ipf = ipf / pow(ns_max/nside,2);// ! in {0, nside**2 - 1} 889 return ( ipf + face_num*pow(nside,2));// ! in {0, 12*nside**2 - 1} 889 // ipf = ipf / pow(ns_max/nside,2.);// ! in {0, nside**2 - 1} 890 // return ( ipf + face_num*pow(nside,2));// ! in {0, 12*nside**2 - 1} 891 // $CHECK$ Reza 25/10/99 , pow remplace par * 892 // ipf = ipf / ((ns_max/nside)*(ns_max/nside)); // ! in {0, nside**2 - 1} 893 // return ( ipf + face_num*(nside*nside);// ! in {0, 12*nside**2 - 1} 890 894 } 891 895
Note:
See TracChangeset
for help on using the changeset viewer.