Changeset 1328 in Sophya for trunk/SophyaLib/Samba
- Timestamp:
- Nov 14, 2000, 11:42:46 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/sphericaltransformserver.cc
r1218 r1328 457 457 for (int_4 ith = 0; ith < map.NbThetaSlices(); ith++) 458 458 { 459 int_4 nph;460 459 r_8 phi0; 461 460 r_8 theta; … … 465 464 phase(i)=0; 466 465 } 467 nph = pixNumber.NElts();468 466 double cth = cos(theta); 469 467 … … 474 472 { 475 473 // tableau datain a supprimer 476 // TVector<complex<T> > datain( nph);474 // TVector<complex<T> > datain(pixNumber.NElts()); 477 475 // for(int kk=0; kk<nph; kk++) datain(kk)=complex<T>(data(kk),(T)0.); 478 476 … … 741 739 for (int_4 ith = 0; ith < mapq.NbThetaSlices(); ith++) 742 740 { 743 int_4 nph;744 741 r_8 phi0; 745 742 r_8 theta; … … 750 747 throw SzMismatchError("the spheres have not the same pixelization"); 751 748 } 752 nph = pixNumber.NElts();753 749 r_8 domega=mapq.PixSolAngle(mapq.PixIndexSph(theta,phi0)); 754 750 double cth = cos(theta); … … 757 753 if (keep_it) 758 754 { 759 // almFromPM( nph, nlmax, nmmax, phi0, domega, theta, dataq, datau, alme, almb);755 // almFromPM(pixNumber.NElts(), nlmax, nmmax, phi0, domega, theta, dataq, datau, alme, almb); 760 756 almFromWX(nlmax, nmmax, phi0, domega, theta, dataq, datau, alme, almb); 761 757 }
Note:
See TracChangeset
for help on using the changeset viewer.