Changeset 2613 in Sophya for trunk/SophyaPI/PIext


Ignore:
Timestamp:
Sep 7, 2004, 3:41:54 PM (21 years ago)
Author:
ansari
Message:

MAJ Makefile et piaversion.h, modification NomSkyMapAdapter apres ajout SphereECP<T> - Reza , 7 Septembre 2004

Location:
trunk/SophyaPI/PIext
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/Makefile

    r2141 r2613  
    1717 
    1818$(OBJ)basexecut.o: basexecut.cc piacmd.h \
    19  $(INC)machdefs.h dlftypes.h \
     19 $(INC)machdefs.h \
     20 $(INC)commander.h \
    2021 $(INC)pdlmgr.h \
    21  $(INC)ctimer.h basexecut.h pistdimgapp.h \
     22 $(INC)dvlist.h \
     23 $(INC)objfio.h \
     24 $(INC)anydataobj.h \
     25 $(INC)ppersist.h \
     26 $(INC)pexceptions.h \
     27 $(INC)gnumd5.h \
     28 $(INC)ppfbinstream.h \
     29 $(INC)rawstream.h \
     30 $(INC)ppfnametag.h \
     31 $(INC)mutyv.h \
     32 $(INC)ctimer.h \
     33 $(INC)zthread.h dlftypes.h basexecut.h \
     34 $(INC)strutilxx.h pistdimgapp.h \
    2235 $(INC)pisysdep.h \
    2336 $(INC)piapplx.h \
     
    7184 $(INC)pi3dwdg.h \
    7285 $(INC)pi3ddrw.h \
    73  $(INC)pigraph3d.h nobjmgr.h \
    74  $(INC)anydataobj.h \
    75  $(INC)ppersist.h \
    76  $(INC)pexceptions.h \
    77  $(INC)gnumd5.h \
    78  $(INC)dvlist.h \
    79  $(INC)objfio.h \
    80  $(INC)mutyv.h pisiadw.h \
     86 $(INC)pigraph3d.h nobjmgr.h pisiadw.h \
    8187 $(INC)pilistx.h \
    8288 $(INC)pilistgen.h \
    8389 $(INC)pistzwin.h \
    8490 $(INC)pitherm.h \
    85  $(INC)resusage.h servnobjm.h \
     91 $(INC)resusage.h servnobjm.h nomgadapter.h \
     92 $(INC)ntupintf.h \
     93 $(INC)generalfit.h \
     94 $(INC)tvector.h \
     95 $(INC)tmatrix.h \
     96 $(INC)tarray.h \
     97 $(INC)basarr.h \
     98 $(INC)ndatablock.h \
     99 $(INC)utilarr.h \
     100 $(INC)generaldata.h \
     101 $(INC)poly.h \
     102 $(INC)peida.h \
     103 $(INC)utils.h \
     104 $(INC)perrors.h \
     105 $(INC)fmath.h \
     106 $(INC)piyfxdrw.h \
     107 $(INC)pibargraph.h \
     108 $(INC)pitxtdrw.h \
    86109 $(INC)histos.h \
    87  $(INC)peida.h \
    88  $(INC)utils.h \
    89  $(INC)perrors.h \
    90  $(INC)fmath.h \
    91  $(INC)tvector.h \
    92  $(INC)tmatrix.h \
    93  $(INC)tarray.h \
    94  $(INC)basarr.h \
    95  $(INC)ndatablock.h \
    96  $(INC)utilarr.h \
    97110 $(INC)histos2.h \
    98111 $(INC)hisprof.h \
    99  $(INC)ntuple.h \
    100  $(INC)ntupintf.h \
    101  $(INC)generaldata.h \
    102  $(INC)poly.h
     112 $(INC)ntuple.h
    103113$(OBJ)contmodex.o: contmodex.cc contmodex.h \
    104  $(INC)machdefs.h piacmd.h dlftypes.h \
     114 $(INC)machdefs.h piacmd.h \
     115 $(INC)commander.h \
    105116 $(INC)pdlmgr.h \
    106  $(INC)ctimer.h nobjmgr.h \
     117 $(INC)dvlist.h \
     118 $(INC)objfio.h \
    107119 $(INC)anydataobj.h \
    108120 $(INC)ppersist.h \
    109121 $(INC)pexceptions.h \
    110122 $(INC)gnumd5.h \
    111  $(INC)dvlist.h \
    112  $(INC)objfio.h \
    113  $(INC)mutyv.h \
     123 $(INC)ppfbinstream.h \
     124 $(INC)rawstream.h \
     125 $(INC)ppfnametag.h \
     126 $(INC)mutyv.h \
     127 $(INC)ctimer.h \
     128 $(INC)zthread.h dlftypes.h nobjmgr.h \
    114129 $(INC)pigncont.h \
    115130 $(INC)pistdimgapp.h \
     
    197212 $(INC)fmath.h servnobjm.h
    198213$(OBJ)cxxexecutor.o: cxxexecutor.cc cxxexecutor.h \
    199  $(INC)machdefs.h piacmd.h dlftypes.h \
     214 $(INC)machdefs.h piacmd.h \
     215 $(INC)commander.h \
    200216 $(INC)pdlmgr.h \
    201  $(INC)ctimer.h nobjmgr.h \
     217 $(INC)dvlist.h \
     218 $(INC)objfio.h \
    202219 $(INC)anydataobj.h \
    203220 $(INC)ppersist.h \
    204221 $(INC)pexceptions.h \
    205222 $(INC)gnumd5.h \
    206  $(INC)dvlist.h \
    207  $(INC)objfio.h \
    208  $(INC)mutyv.h \
     223 $(INC)ppfbinstream.h \
     224 $(INC)rawstream.h \
     225 $(INC)ppfnametag.h \
     226 $(INC)mutyv.h \
     227 $(INC)ctimer.h \
     228 $(INC)zthread.h dlftypes.h nobjmgr.h \
    209229 $(INC)strutilxx.h \
    210230 $(INC)cxxcmplnk.h nomgadapter.h \
     
    281301 $(INC)resusage.h
    282302$(OBJ)cxxexecwin.o: cxxexecwin.cc cxxexecutor.h \
    283  $(INC)machdefs.h piacmd.h dlftypes.h \
     303 $(INC)machdefs.h piacmd.h \
     304 $(INC)commander.h \
    284305 $(INC)pdlmgr.h \
    285  $(INC)ctimer.h nobjmgr.h \
     306 $(INC)dvlist.h \
     307 $(INC)objfio.h \
    286308 $(INC)anydataobj.h \
    287309 $(INC)ppersist.h \
    288310 $(INC)pexceptions.h \
    289311 $(INC)gnumd5.h \
    290  $(INC)dvlist.h \
    291  $(INC)objfio.h \
    292  $(INC)mutyv.h cxxexecwin.h \
    293  $(INC)pisysdep.h pistdimgapp.h \
     312 $(INC)ppfbinstream.h \
     313 $(INC)rawstream.h \
     314 $(INC)ppfnametag.h \
     315 $(INC)mutyv.h \
     316 $(INC)ctimer.h \
     317 $(INC)zthread.h dlftypes.h nobjmgr.h \
     318 cxxexecwin.h $(INC)pisysdep.h pistdimgapp.h \
    294319 $(INC)piapplx.h \
    295320 $(INC)piapplgen.h \
     
    349374 $(INC)resusage.h
    350375$(OBJ)flowmodex.o: flowmodex.cc flowmodex.h \
    351  $(INC)machdefs.h piacmd.h dlftypes.h \
     376 $(INC)machdefs.h piacmd.h \
     377 $(INC)commander.h \
    352378 $(INC)pdlmgr.h \
    353  $(INC)ctimer.h nobjmgr.h \
     379 $(INC)dvlist.h \
     380 $(INC)objfio.h \
    354381 $(INC)anydataobj.h \
    355382 $(INC)ppersist.h \
    356383 $(INC)pexceptions.h \
    357384 $(INC)gnumd5.h \
    358  $(INC)dvlist.h \
    359  $(INC)objfio.h \
    360  $(INC)mutyv.h pi2dvec.h pistdimgapp.h \
    361  $(INC)pisysdep.h \
     385 $(INC)ppfbinstream.h \
     386 $(INC)rawstream.h \
     387 $(INC)ppfnametag.h \
     388 $(INC)mutyv.h \
     389 $(INC)ctimer.h \
     390 $(INC)zthread.h dlftypes.h nobjmgr.h \
     391 pi2dvec.h pistdimgapp.h $(INC)pisysdep.h \
    362392 $(INC)piapplx.h \
    363393 $(INC)piapplgen.h \
     
    439469 $(INC)pexceptions.h \
    440470 $(INC)gnumd5.h \
     471 $(INC)ppfbinstream.h \
     472 $(INC)rawstream.h \
     473 $(INC)ppfnametag.h \
    441474 $(INC)dvlist.h \
    442475 $(INC)objfio.h \
     
    509542 $(INC)pi3ddrw.h \
    510543 $(INC)pigraph3d.h piacmd.h \
    511  $(INC)ctimer.h pisiadw.h \
     544 $(INC)commander.h \
     545 $(INC)ctimer.h \
     546 $(INC)zthread.h pisiadw.h \
    512547 $(INC)pilistx.h \
    513548 $(INC)pilistgen.h \
     
    548583 $(INC)pexceptions.h \
    549584 $(INC)gnumd5.h \
     585 $(INC)ppfbinstream.h \
     586 $(INC)rawstream.h \
     587 $(INC)ppfnametag.h \
    550588 $(INC)anydataobj.h \
    551589 $(INC)pidrawer.h \
     
    594632 $(INC)pexceptions.h \
    595633 $(INC)gnumd5.h \
     634 $(INC)ppfbinstream.h \
     635 $(INC)rawstream.h \
     636 $(INC)ppfnametag.h \
    596637 $(INC)anydataobj.h \
    597638 $(INC)pidrawer.h \
     
    646687 $(INC)pexceptions.h \
    647688 $(INC)gnumd5.h \
     689 $(INC)ppfbinstream.h \
     690 $(INC)rawstream.h \
     691 $(INC)ppfnametag.h \
    648692 $(INC)anydataobj.h \
    649693 $(INC)pidrawer.h \
     
    690734 $(INC)histos2.h \
    691735 $(INC)hisprof.h \
     736 $(INC)histerr.h \
    692737 $(INC)ntuple.h \
    693738 $(INC)xntuple.h pihisto.h pihisto2d.h \
     
    708753 $(INC)picontainergen.h \
    709754 $(INC)pieldrw.h pipodrw.h servnobjm.h \
    710  $(INC)pdlmgr.h dlftypes.h \
     755 nobjmgr.h dlftypes.h $(INC)pdlmgr.h \
    711756 $(INC)objfitter.h \
    712757 $(INC)cimage.h \
     
    723768 $(INC)pexceptions.h \
    724769 $(INC)gnumd5.h \
     770 $(INC)ppfbinstream.h \
     771 $(INC)rawstream.h \
     772 $(INC)ppfnametag.h \
    725773 $(INC)anydataobj.h \
    726774 $(INC)pidrawer.h \
     
    780828 $(INC)pexceptions.h \
    781829 $(INC)gnumd5.h \
     830 $(INC)ppfbinstream.h \
     831 $(INC)rawstream.h \
     832 $(INC)ppfnametag.h \
    782833 $(INC)anydataobj.h \
    783834 $(INC)pidrawer.h \
     
    834885 $(INC)HEALPixUtils.h \
    835886 $(INC)localmap.h \
     887 $(INC)sphereecp.h \
    836888 $(INC)fiospherethetaphi.h \
    837889 $(INC)fiospherehealpix.h \
    838  $(INC)fiolocalmap.h pitvmaad.h \
     890 $(INC)fiolocalmap.h \
     891 $(INC)fiosphereecp.h pitvmaad.h \
    839892 $(INC)complexios.h \
    840893 $(INC)fitsspherehealpix.h \
     
    848901 $(INC)pexceptions.h \
    849902 $(INC)gnumd5.h \
     903 $(INC)ppfbinstream.h \
     904 $(INC)rawstream.h \
     905 $(INC)ppfnametag.h \
    850906 $(INC)anydataobj.h \
    851907 $(INC)pidrawer.h \
     
    898954 $(INC)pexceptions.h \
    899955 $(INC)gnumd5.h \
     956 $(INC)ppfbinstream.h \
     957 $(INC)rawstream.h \
     958 $(INC)ppfnametag.h \
    900959 $(INC)anydataobj.h \
    901960 $(INC)pidrawer.h \
     
    9591018 $(INC)pexceptions.h \
    9601019 $(INC)gnumd5.h \
     1020 $(INC)ppfbinstream.h \
     1021 $(INC)rawstream.h \
     1022 $(INC)ppfnametag.h \
    9611023 $(INC)ndatablock.h \
    9621024 $(INC)utilarr.h \
     
    10111073 $(INC)pexceptions.h \
    10121074 $(INC)gnumd5.h \
     1075 $(INC)ppfbinstream.h \
     1076 $(INC)rawstream.h \
     1077 $(INC)ppfnametag.h \
    10131078 $(INC)peida.h \
    10141079 $(INC)utils.h \
     
    10251090 $(INC)histos2.h \
    10261091 $(INC)hisprof.h \
     1092 $(INC)histerr.h \
    10271093 $(INC)ntuple.h \
    10281094 $(INC)ntupintf.h pawexecut.h piacmd.h \
    1029  dlftypes.h $(INC)pdlmgr.h \
    1030  $(INC)ctimer.h nobjmgr.h servnobjm.h \
    1031  nomgadapter.h $(INC)pidrawer.h \
     1095 $(INC)commander.h \
     1096 $(INC)pdlmgr.h \
     1097 $(INC)ctimer.h \
     1098 $(INC)zthread.h dlftypes.h nobjmgr.h \
     1099 servnobjm.h nomgadapter.h $(INC)pidrawer.h \
    10321100 $(INC)pibwdggen.h \
    10331101 $(INC)pisysdep.h \
     
    10961164 $(INC)pexceptions.h \
    10971165 $(INC)gnumd5.h \
     1166 $(INC)ppfbinstream.h \
     1167 $(INC)rawstream.h \
     1168 $(INC)ppfnametag.h \
    10981169 $(INC)peida.h \
    10991170 $(INC)utils.h \
     
    11631234 $(INC)pi3ddrw.h \
    11641235 $(INC)pigraph3d.h nobjmgr.h dlftypes.h \
    1165  piacmd.h $(INC)pdlmgr.h \
    1166  $(INC)ctimer.h pisiadw.h \
     1236 piacmd.h $(INC)commander.h \
     1237 $(INC)pdlmgr.h \
     1238 $(INC)ctimer.h \
     1239 $(INC)zthread.h pisiadw.h \
    11671240 $(INC)pilistx.h \
    11681241 $(INC)pilistgen.h \
     
    11721245 $(INC)piscdrawwdg.h
    11731246$(OBJ)piacmd.o: piacmd.cc piacmd.h $(INC)machdefs.h \
    1174  dlftypes.h $(INC)pdlmgr.h \
    1175  $(INC)ctimer.h basexecut.h pistdimgapp.h \
     1247 $(INC)commander.h \
     1248 $(INC)pdlmgr.h \
     1249 $(INC)dvlist.h \
     1250 $(INC)objfio.h \
     1251 $(INC)anydataobj.h \
     1252 $(INC)ppersist.h \
     1253 $(INC)pexceptions.h \
     1254 $(INC)gnumd5.h \
     1255 $(INC)ppfbinstream.h \
     1256 $(INC)rawstream.h \
     1257 $(INC)ppfnametag.h \
     1258 $(INC)mutyv.h \
     1259 $(INC)ctimer.h \
     1260 $(INC)zthread.h dlftypes.h basexecut.h \
     1261 $(INC)strutil.h \
     1262 $(INC)strutilxx.h \
     1263 $(INC)srandgen.h pistdimgapp.h \
    11761264 $(INC)pisysdep.h \
    11771265 $(INC)piapplx.h \
     
    12251313 $(INC)pi3dwdg.h \
    12261314 $(INC)pi3ddrw.h \
    1227  $(INC)pigraph3d.h nobjmgr.h \
    1228  $(INC)anydataobj.h \
    1229  $(INC)ppersist.h \
    1230  $(INC)pexceptions.h \
    1231  $(INC)gnumd5.h \
    1232  $(INC)dvlist.h \
    1233  $(INC)objfio.h \
    1234  $(INC)mutyv.h pisiadw.h \
     1315 $(INC)pigraph3d.h nobjmgr.h pisiadw.h \
    12351316 $(INC)pilistx.h \
    12361317 $(INC)pilistgen.h \
     
    12681349 $(INC)ppersist.h \
    12691350 $(INC)gnumd5.h \
     1351 $(INC)ppfbinstream.h \
     1352 $(INC)rawstream.h \
     1353 $(INC)ppfnametag.h \
    12701354 $(INC)ndatablock.h \
    12711355 $(INC)utilarr.h \
     
    13101394 $(INC)lut.h \
    13111395 $(INC)pdlmgr.h dlftypes.h piacmd.h \
    1312  $(INC)ctimer.h nobjmgr.h pistdimgapp.h \
     1396 $(INC)commander.h \
     1397 $(INC)ctimer.h \
     1398 $(INC)zthread.h nobjmgr.h pistdimgapp.h \
    13131399 $(INC)piapplx.h \
    13141400 $(INC)piapplgen.h \
     
    13451431 $(INC)pitherm.h \
    13461432 $(INC)resusage.h nomhistadapter.h \
     1433 $(INC)histerr.h \
    13471434 $(INC)xntuple.h nomgfdadapter.h \
    13481435 nomimagadapter.h nomtmatvecadapter.h
     
    13551442 $(INC)pexceptions.h \
    13561443 $(INC)gnumd5.h \
     1444 $(INC)ppfbinstream.h \
     1445 $(INC)rawstream.h \
     1446 $(INC)ppfnametag.h \
    13571447 $(INC)ntupintf.h \
    13581448 $(INC)poly.h \
     
    13981488 $(INC)pexceptions.h \
    13991489 $(INC)gnumd5.h \
     1490 $(INC)ppfbinstream.h \
     1491 $(INC)rawstream.h \
     1492 $(INC)ppfnametag.h \
    14001493 $(INC)ntupintf.h \
    14011494 $(INC)poly.h \
     
    14441537 $(INC)pexceptions.h \
    14451538 $(INC)gnumd5.h \
     1539 $(INC)ppfbinstream.h \
     1540 $(INC)rawstream.h \
     1541 $(INC)ppfnametag.h \
    14461542 $(INC)peida.h \
    14471543 $(INC)utils.h \
     
    15211617 $(INC)ppersist.h \
    15221618 $(INC)gnumd5.h \
    1523  $(INC)tvector.h \
    1524  $(INC)tmatrix.h \
    1525  $(INC)tarray.h \
    1526  $(INC)basarr.h \
    1527  $(INC)mutyv.h \
    1528  $(INC)dvlist.h \
    1529  $(INC)ndatablock.h \
    1530  $(INC)utilarr.h \
     1619 $(INC)ppfbinstream.h \
     1620 $(INC)rawstream.h \
     1621 $(INC)ppfnametag.h \
     1622 $(INC)tvector.h \
     1623 $(INC)tmatrix.h \
     1624 $(INC)tarray.h \
     1625 $(INC)basarr.h \
     1626 $(INC)mutyv.h \
     1627 $(INC)dvlist.h \
     1628 $(INC)ndatablock.h \
     1629 $(INC)utilarr.h \
     1630 $(INC)pidrawer.h \
     1631 $(INC)pigratt.h \
     1632 $(INC)piaxes.h \
    15311633 $(INC)piscdrawwdg.h \
    15321634 $(INC)piwindowx.h \
    15331635 $(INC)piwindowgen.h \
    1534  $(INC)pidrawer.h \
    1535  $(INC)pigratt.h \
    1536  $(INC)piaxes.h \
    15371636 $(INC)pieldrw.h \
    15381637 $(INC)nbrandom.h \
     
    16001699 $(INC)pexceptions.h \
    16011700 $(INC)gnumd5.h \
     1701 $(INC)ppfbinstream.h \
     1702 $(INC)rawstream.h \
     1703 $(INC)ppfnametag.h \
    16021704 $(INC)dvlist.h \
    16031705 $(INC)objfio.h \
    16041706 $(INC)mutyv.h dlftypes.h piacmd.h \
     1707 $(INC)commander.h \
    16051708 $(INC)pdlmgr.h \
    1606  $(INC)ctimer.h pisiadw.h \
     1709 $(INC)ctimer.h \
     1710 $(INC)zthread.h pisiadw.h \
    16071711 $(INC)pilistx.h \
    16081712 $(INC)pilistgen.h \
     
    16281732 $(INC)histos2.h \
    16291733 $(INC)hisprof.h \
     1734 $(INC)histerr.h \
    16301735 $(INC)ntuple.h \
    16311736 $(INC)xntuple.h nomgfdadapter.h \
     
    16451750 $(INC)HEALPixUtils.h \
    16461751 $(INC)localmap.h \
     1752 $(INC)sphereecp.h \
    16471753 $(INC)specrespvector.h \
    16481754 $(INC)specresp.h \
     
    17351841 $(INC)ppersist.h \
    17361842 $(INC)gnumd5.h \
     1843 $(INC)ppfbinstream.h \
     1844 $(INC)rawstream.h \
     1845 $(INC)ppfnametag.h \
    17371846 $(INC)tvector.h \
    17381847 $(INC)tmatrix.h \
     
    18081917 $(INC)ppersist.h \
    18091918 $(INC)gnumd5.h \
     1919 $(INC)ppfbinstream.h \
     1920 $(INC)rawstream.h \
     1921 $(INC)ppfnametag.h \
    18101922 $(INC)dvlist.h \
    18111923 $(INC)objfio.h \
    18121924 $(INC)mutyv.h dlftypes.h piacmd.h \
    1813  $(INC)pdlmgr.h pisiadw.h \
     1925 $(INC)commander.h \
     1926 $(INC)pdlmgr.h \
     1927 $(INC)zthread.h pisiadw.h \
    18141928 $(INC)pilistx.h \
    18151929 $(INC)pilistgen.h \
     
    18351949 $(INC)ppersist.h \
    18361950 $(INC)gnumd5.h \
     1951 $(INC)ppfbinstream.h \
     1952 $(INC)rawstream.h \
     1953 $(INC)ppfnametag.h \
    18371954 $(INC)ndatablock.h \
    18381955 $(INC)utilarr.h \
     
    18912008 $(INC)pi3ddrw.h \
    18922009 $(INC)pigraph3d.h nobjmgr.h dlftypes.h \
    1893  piacmd.h $(INC)pdlmgr.h pisiadw.h \
     2010 piacmd.h $(INC)commander.h \
     2011 $(INC)pdlmgr.h \
     2012 $(INC)zthread.h pisiadw.h \
    18942013 $(INC)pilistx.h \
    18952014 $(INC)pilistgen.h \
    18962015 $(INC)pistzwin.h \
    18972016 $(INC)pitherm.h \
    1898  $(INC)resusage.h \
     2017 $(INC)resusage.h servnobjm.h \
    18992018 $(INC)piimgtools.h \
    19002019 $(INC)pidrwtools.h \
     
    19212040 $(INC)pexceptions.h \
    19222041 $(INC)gnumd5.h \
     2042 $(INC)ppfbinstream.h \
     2043 $(INC)rawstream.h \
     2044 $(INC)ppfnametag.h \
    19232045 $(INC)ndatablock.h \
    19242046 $(INC)utilarr.h \
     
    19302052 $(INC)pexceptions.h \
    19312053 $(INC)gnumd5.h \
     2054 $(INC)ppfbinstream.h \
     2055 $(INC)rawstream.h \
     2056 $(INC)ppfnametag.h \
    19322057 $(INC)dvlist.h \
    19332058 $(INC)objfio.h \
     
    20002125 $(INC)pi3ddrw.h \
    20012126 $(INC)pigraph3d.h piacmd.h \
    2002  $(INC)ctimer.h pisiadw.h \
     2127 $(INC)commander.h \
     2128 $(INC)ctimer.h \
     2129 $(INC)zthread.h pisiadw.h \
    20032130 $(INC)pilistx.h \
    20042131 $(INC)pilistgen.h \
  • trunk/SophyaPI/PIext/nomskymapadapter.cc

    r2594 r2613  
    9999SphereHEALPix<T>* sg = dynamic_cast< SphereHEALPix<T> * >(mMap);
    100100if (sg != NULL) type = "SphereHEALPix< ";
     101SphereECP<T>* se = dynamic_cast< SphereECP<T> * >(mMap);
     102if (se != NULL) type = "SphereECP< ";
    101103
    102104// type +=  DecodeTypeIdName(typeid(T).name());
     
    116118SphereHEALPix<T>* sg = dynamic_cast< SphereHEALPix<T> * >(mMap);
    117119if (sg != NULL) return( new SphereHEALPix<T>(*sg, share) );
     120SphereECP<T>* se = dynamic_cast< SphereECP<T> * >(mMap);
     121if (se != NULL) return( new SphereECP<T>(*se, share) );
    118122return(NULL);
    119123}
     
    210214if (sg != NULL) {
    211215  FIO_SphereHEALPix<T> fio(sg);
     216  fio.Write(pos, nom);
     217  return;
     218  }
     219SphereECP<T>* se = dynamic_cast< SphereECP<T> * >(mMap);
     220if (se != NULL) {
     221  FIO_SphereECP<T> fio(se);
    212222  fio.Write(pos, nom);
    213223  return;
     
    233243/* --Methode-- */
    234244template <class T>
    235 P2DArrayAdapter* NOMAdapter_PixelMap<T>::Get2DArray(string &)
     245P2DArrayAdapter* NOMAdapter_PixelMap<T>::Get2DArray(string & opt)
    236246{
    237247LocalMap<T>* lm = dynamic_cast< LocalMap<T> * >(mMap);
     
    239249int nr = 250;
    240250int nc = 500;
     251SphereECP<T>* se = dynamic_cast< SphereECP<T> * >(mMap);
     252size_t olen = opt.length();
     253if ((se != NULL) && (opt.find("ecparray") < olen)) {
     254  // On veut la carte bi-dim complete de la sphere ECP
     255  TMatrix<T> * mtxecp = new TMatrix<T>(se->GetPixelArray(), true);  // on partage les donnees
     256  POTMatrixAdapter<T> * potmtxecp = new POTMatrixAdapter<T>(mtxecp, true);
     257  if (opt.find("ecpscaledeg") < olen)  // Echelle angulaire en degre
     258    potmtxecp->DefineXYCoordinates(se->MinPhi()*180./M_PI, se->MinTheta()*180./M_PI,
     259                                   se->DeltaPhi()*180./M_PI, se->DeltaTheta()*180./M_PI);
     260  else if (opt.find("ecpscalerad") < olen)  // Echelle angulaire en radian
     261    potmtxecp->DefineXYCoordinates(se->MinPhi(), se->MinTheta(), se->DeltaPhi(), se->DeltaTheta());
     262
     263  return ( potmtxecp );
     264}
    241265SphericalMap<T>* sm = dynamic_cast< SphericalMap<T> *>(mMap);
    242266if (sm != NULL) { nr = sqrt(0.75*mMap->NbPixels());  nc = 2*nr; }
  • trunk/SophyaPI/PIext/piaversion.h

    r2489 r2613  
    22#define PIAPPVERSION_H_SEEN
    33
    4 #define PIAPP_VERSIONNUMBER  3.96
     4#define PIAPP_VERSIONNUMBER  3.97
    55
    66#endif
  • trunk/SophyaPI/PIext/piinit.cc

    r2605 r2613  
    1919#include "spherehealpix.h"
    2020#include "localmap.h"
     21#include "sphereecp.h"
    2122
    2223#include "specrespvector.h"
     
    9293  serv->RegisterClass(new SphereThetaPhi<int_4>, new NOMAdapter_PixelMap<int_4> );
    9394  serv->RegisterClass(new SphereHEALPix<int_4>, new NOMAdapter_PixelMap<int_4> );
     95  serv->RegisterClass(new SphereECP<int_4>, new NOMAdapter_PixelMap<int_4> );
    9496  serv->RegisterClass(new LocalMap<r_4>, new NOMAdapter_PixelMap<r_4> );
    9597  serv->RegisterClass(new SphereThetaPhi<r_4>, new NOMAdapter_PixelMap<r_4> );
    9698  serv->RegisterClass(new SphereHEALPix<r_4>, new NOMAdapter_PixelMap<r_4> );
     99  serv->RegisterClass(new SphereECP<r_4>, new NOMAdapter_PixelMap<r_4> );
    97100  serv->RegisterClass(new LocalMap<r_8>, new NOMAdapter_PixelMap<r_8> );
    98101  serv->RegisterClass(new SphereThetaPhi<r_8>, new NOMAdapter_PixelMap<r_8> );
    99102  serv->RegisterClass(new SphereHEALPix<r_8>, new NOMAdapter_PixelMap<r_8> );
     103  serv->RegisterClass(new SphereECP<r_8>, new NOMAdapter_PixelMap<r_8> );
    100104  serv->RegisterClass(new LocalMap<complex<float> >, new NOMAdapter_PixelMap<complex<float> > );
    101105  serv->RegisterClass(new SphereThetaPhi<complex<float> >, new NOMAdapter_PixelMap<complex<float> > );
    102106  serv->RegisterClass(new SphereHEALPix<complex<float> >, new NOMAdapter_PixelMap<complex<float> > );
     107  serv->RegisterClass(new SphereECP<complex<float> >, new NOMAdapter_PixelMap<complex<float> > );
    103108  serv->RegisterClass(new LocalMap<complex<double> >, new NOMAdapter_PixelMap<complex<double> > );
    104109  serv->RegisterClass(new SphereThetaPhi<complex<double> >, new NOMAdapter_PixelMap<complex<double> > );
    105110  serv->RegisterClass(new SphereHEALPix<complex<double> >, new NOMAdapter_PixelMap<complex<double> > );
     111  serv->RegisterClass(new SphereECP<complex<double> >, new NOMAdapter_PixelMap<complex<double> > );
    106112
    107113  serv->RegisterClass(new GaussianFilter, new NOMAdapter_SpectralResponse );
Note: See TracChangeset for help on using the changeset viewer.