Changeset 674 in Sophya for trunk/SophyaExt/FitsIOServer/fitsioserver.cc
- Timestamp:
- Dec 6, 1999, 6:12:21 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsioserver.cc
r673 r674 1840 1840 cout << " image FITS en projection MOLLWEIDE" << endl; 1841 1841 // table will have npixels rows 1842 for(int j=0; j < npixels; j++) map[j]=0.; 1843 for(int j=0; j<naxes[1]; j++) 1842 int i,j; 1843 for(j=0; j < npixels; j++) map[j]=0.; 1844 for(j=0; j<naxes[1]; j++) 1844 1845 { 1845 1846 double yd = (j+0.5)/naxes[1]-0.5; 1846 1847 double facteur=2.*Pi/sin(acos(yd*2)); 1847 1848 double theta = (0.5-yd)*Pi; 1848 for(i nt i=0; i<naxes[0]; i++)1849 for(i=0; i<naxes[0]; i++) 1849 1850 { 1850 1851 double xa = (i+0.5)/naxes[0]-0.5;
Note:
See TracChangeset
for help on using the changeset viewer.