tutorial.html 38.8 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
  <HEAD>
    <TITLE>OSP Editor - Tutorial - September 2015</TITLE>
  </HEAD>
  
  <BODY BGCOLOR="#ffffff">
    <CENTER>
      <H1>OSP Editor - Tutorial - September 2015</H1>
    </CENTER>

<p><I> This documentation is on completion. Some images don't match exactly the soft and some functionnalities may have the same problem too.
<br> Some comments are in the Release file <b><a href="./release.html"></b> if you can't do, in the soft, some operations you want to. <br>
<i>Some images are not actualized with the distributed version but they will soon. 
And images will be displayed in orginal size too. </i>
</I>
</p>
    <P>
      <A NAME="menu"></A>
      <UL> 
        <LI><A HREF="#openApp">Application start.</A></LI>
        <LI><A HREF="#newProject">Create a new project.</A></LI>
        <LI><A HREF="#openProject">Open an existing project.</A></LI>
        <LI><A HREF="#saveProject">Save a project.</A></LI>
        <LI><A HREF="#displaySettings">Display settings.</A></LI>
        <LI><A HREF="#loadFile">Load an image from a local file.</A></LI>
        <LI><A HREF="#loadServer">Load an image from an image server.</A></LI>
        <LI><A HREF="#addImage">Add the loaded image</A></LI>
        <LI><A HREF="#moveZoomFoV">Move and Zoom on the Field Of View (FoV)</A></LI>
        <LI><A HREF="#colorDisp">Change colors of the display</A></LI>
        <LI><A HREF="#cutLevels">Change cut levels of the display</A></LI>
        <LI><A HREF="#addObjectsCat">Add Objects from catalog over the image.</A></LI>
        <LI><A HREF="#addObjectsMan">Add Objects manually over the image.</A></LI>  
        <LI><A HREF="#objectsPopup">Manage Objects via Popup menu.</A></LI>
        <LI><A HREF="#recalculObjectsCentroid">Recalcul Object centroid.</A></LI>
        <LI><A HREF="#recalculAllObjectsCentroid">Recalcul Centroid for all Objects</A></LI>
        <LI><A HREF="#removeObjectsMan">Remove Objects manually.</A></LI> 
        <LI><A HREF="#addMask">Add an EMIR mask</A></LI>
        <LI><A HREF="#moveTurnMask">Move and Turn the selected mask</A></LI>
        <LI><A HREF="#selectSlit">Select a Slit</A></LI>
        <LI><A HREF="#positSlit">Position the selected slit</A></LI>
        <LI><A HREF="#assignSlit">Assign an object to a slit</A></LI>
        <LI><A HREF="#undoMoves">Undo the moves of masks or slits </A></LI>
        <LI><A HREF="#joinSlits">Join Contiguous Slits.</A></LI>
        <LI><A HREF="#splitSlits">Split Contiguous Slits.</A></LI>
        <LI><A HREF="#plotSpectra">Plot the spectra over the image.</A></LI>
        <LI><A HREF="#searchAssociations">Search automatically slits positions.</A></LI>
        <LI><A HREF="#validateWriteMask">Validate and/or Write a mask.</A></LI>
        <LI><A HREF="#reloadMask">Reload a Mask.</A></LI>
      </UL>
    </P>
    <HR>

<P>
 <A NAME="openApp"><H3>Application start.</H3></A>
</P>
 
            When the application is launched, <br>here the start screen.<BR>
       
       
         <IMG SRC="./screenShots/0.1_Start.jpeg">
   </p>
   
    <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    <hr  
    <A NAME="newWorkspace"><H3>Selecting a working space.</H3></A>> 
    
    <P>
                The first action to begin a project, is to select a workspace.<BR>
         <br>
            You can click on the first button of the toolBar <IMG SRC="./screenShots/icons/new.gif">
            <br>
           
           <CENTER> <IMG SRC="./screenShots/newProject.jpg" ></center>
          <br>
            or <br>
            Select the menu <B>"Project"</B>,
            then click on <B>"New"</B> sub-menu item.
            <BR>
            <BR>
            A file chooser dialog window opened, and you can select the directory where you want to work.<BR>
            <I>Note that your server images will be downloaded here, and all you want to save.</I><BR>
            
             <IMG SRC="./screenShots/0.2_NwWorkspace.jpeg" >
            
            When your directory is selected, press the <B>"New"</B> button.<BR>
            <BR>
         
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    <HR>
    <P>
      <A NAME="openProject"><H3>Open an existing project.</H3></A>
      
  <p>
            You can also open an existing project.<BR>
            <I>Projects are stored in XML format file.</I><BR>
   <br>
        You can click on the second button of the toolBar <IMG SRC="./screenShots/icons/open.gif"> 
        <br>or <br>
            Select the menu <B>"Project"</B>,
            and then click on <B>"Open"</B> sub-menu item.<BR>
     </p>  
        <TABLE BORDER=0>
        <TR>
        <TR>
          <TD valign="top">
          
            <BR>
            <BR>
            A file chooser dialog window is opened, <br>allowing you to choose the existing file describing your project.
          </TD>
          <TD ALIGN="center">
          
            <IMG SRC="./screenShots/openProject.jpg" >
          </TD>
        </TR>
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    <HR>
    <P>
      <A NAME="saveProject"><H3>Save a project.</H3></A>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD colspan=2  valign="top">The project can be saved using the third button of the toolBar <IMG SRC="./screenShots/icons/save.gif">
          </td>
          <tr>
          <TD colspan=2  valign="top">
          <BR>
         Or <br>
          selecting the <B>"Save"</B> option of the <B>"Project"</B> menu
         <BR>
            </TD>
        </TR>
        <TR>
          <TD ALIGN="center">
           
            <IMG SRC="./screenShots/saveProject.jpg" >
          </TD>
        </TR>
      </TABLE>
      <br><br>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
        <td> 
        The name of the project must be filled in the next window 
        </td>
        <td ALIGN="center">
        
            <IMG SRC="./screenShots/1_menuIProjSave.jpeg" >  
        </td>
        </tr>
      </TABLE>
      <br>
      The project name is set in the window title.
        <TABLE BORDER=0 WIDTH="100%">
        <TR>
       
        <td ALIGN="center">
        
            <IMG SRC="./screenShots/1.1_menuIProjSave.jpeg" >  
        </td> 
        

        </tr>
      </TABLE>
      
      
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    <HR>
    <P>
      <A NAME="displaySettings"><H3>Display settings of the instrument.</H3></A>
      <b><i> This function is not yet implemented. There is no effects in the soft </i></b>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD ALIGN="center" WIDTH="205" HEIGHT="178">
            <IMG SRC="./screenShots/confSettings.jpg">
          </TD>
          <TD ALIGN="center" WIDTH="205" HEIGHT="178">
            <IMG SRC="./screenShots/dispSettings.jpg">
          </TD>
        </TR>
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    <HR>
    <P>
      <A NAME="loadFile"><H3>Load an image from a local file.</H3></A>
      
       The first method to load an image is to open a FITS file located on your personal computer.<BR>
       
       <p>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD >
             Select the menu <B>"Image"</B>,
            then <B>"Load From"</B>
            and click on <B>"Local File"</B> sub-menu item.<BR>
          </TD>
        </TR>
      </TABLE>
      
      <p>
      <TABLE BORDER=0 WIDTH="100%">
      
            <TR>  
               <TD ALIGN="center">
           
            <IMG SRC="./screenShots/loadFile.jpg" >
          </TD>
          </tr>
          </table>
         </p>
         <p> 
         A file chooser dialog window is opened, allowing you to browse your disks
            and find your favorite FITS file.<BR>
            </p>
            
          <Table>
          <tr>
                 
            <IMG SRC="./screenShots/4.0_menuImLocalF.jpeg" >
               </td>
               </tr>
               <TR >
           <td>
              <BR>
            When your file is selected, press the "OPEN" button to watch your image
            on the display.<BR>
            </td>
      </TR>
      </TABLE>
      </p>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    <HR>
    <P>
      <A NAME="loadServer"><H3>Load an image from an image server.</H3></A>
     
            The second method to load an image is to open a FITS file
            from an image server.<BR>
            <br>
     or  Select the menu <B>"Image"</B>,
            then <B>"Load From"</B><BR>
            and click on <B>"Image Server"</B> sub-menu item.<BR>
            
         
       
     <TABLE BORDER=0>
        <TR>
        
          <TD ALIGN="center">
       
            <IMG SRC="./screenShots/3_menuImServ.jpeg" >
          </TD>
          </tr>
          <tr>
          <TD>
          
            <BR>
            A catalog navigator window is opened, allowing you to browse catalogs.<BR>
            When you click on your favorite, the query panel appears on the right.<BR><br>
           
            </td>
          </tr>
        <TR>   <p>
           
            </p>
          <TD ALIGN="center">
       
            <IMG SRC="./screenShots/5.0_loadImServer1.jpeg" >
          </TD>
          <td>
           First, fill the name of the object or give an alpha delta position.<BR>
            Then <b>don't forget</b> to put <b><u>width and height </u></b> of your image 
            and click on the <B>"Query"</B> button. 
           
          </td>
          </tr>
         
               </TABLE>
           <br><br>    
      <TABLE BORDER=0 WIDTH="100%">
            <tr>
            <td align = "top">
            This will send a request and a loading window will be displayed<BR>
            </td>
            <td>
          
            <IMG SRC="./screenShots/5.1_loadImServer.jpeg" WIDTH="460" HEIGHT="420" >
            </td>
            
         
        </TR>
      </TABLE>
      <br>
      The image will be displayed when it's is loaded.<br>
      
        <IMG SRC="./screenShots/6.0_menuImLoaded.jpeg"  >
        <br>
        <p>
      
            Repeat the process until you find the good one, then use the <B>"Close"</B> button
            to close the window. 
            <br>The last selected image is still loaded on the display.<BR>
      <br>
      </p>
      
      
      <HR>
       <A NAME="addImage"><H3>Add the loaded image in the project.</H3></A>
      <p>
      <table>
      <tr>
       <td>
       Once your image choosen, it's added in the left side, under the field of view tree.<BR>
        </td>
         <td>
          
           <IMG SRC="./screenShots/4.1_menuImLocalF.jpeg" >
        </td>
       </tr>   </table>
       </p>
       <p>
 <br>
            You can add several images in the project following this procedures.<br>
            Then you can work on different images selecting it on this field of view tree.
         
 
    </p>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
       <HR>
    <P>
      <A NAME="moveZoomFoV"><H3>Move and Zoom on the Field Of View (FoV)</H3></A>
      <TABLE BORDER=0>
        <TR>
          <TD colspan=2>
            When your image is displayed you can move and zoom on the Field of View.
          </TD>
        </TR>
        </TABLE>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD ALIGN="center">
          
            <IMG SRC="./screenShots/moveZoomFov.jpg" >
          </TD>
          <TD>
            To move your image :
            <UL>
              <LI>Press the mouse on the yellow rectangle in the
              <A HREF="glossary.html#overviewDisplay">overview display</A>,
              then drag it to your favorite place.<BR>
               <a HREF="release.html"> [*]</a>
              </LI>
              <LI>Press the mouse directly on the
              <A HREF="glossary.html#imageDisplay">image display</A>
              then drag it to the best place.<BR></LI>
            </UL>
            <BR>
            To zoom in or out :
            <br>
             <a HREF="release.html"> [**]</a>
            <br>
            <UL>
              <LI>Pressing the buttons "+" or "-", zoom in or out to the center
              of the display.</LI>
              <LI>You can also roll your mouse wheel to move in or out.</LI>
              <BR>
              <LI>The buttons "1:1" is used to recovered the initial and minimal scale.</LI>
            </UL>
          </TD>
        </TR>
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    <HR>
    <P>
      <A NAME="colorDisp"><H3>Change colors of the display</H3></A>
      <TABLE BORDER=0>
        <TR>
          <TD colspan=2>
            You can change colors of the image display, using the menu
            <B>Image</B>, then <B>Edit colors</B>.
          </TD>
        </TR>
        </TABLE>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD ALIGN="center">
          
            <IMG SRC="./screenShots/changeColors.jpg" >
          </TD>
          <TD>
            Or double clicking on the
            <A HREF="./glossary.html#imageColorbar">image colorbar</A>
            on the right, open the "Image Colors" dialog window.<BR>
          </TD>
        </TR>
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    <HR>
    <P>
      <A NAME="cutLevels"><H3>Change cut levels of the display</H3></A>
      <TABLE BORDER=0>
        <TR>
          <TD ALIGN="RIGHT">
            To change the cut levels of the current image,<BR>
            click on the menu <B>Image</B>,<BR>
            then on the sub-menu <B>Edit Cut Levels</B>.<BR>
            The cut levels window dialog is open.
          </TD>
          <TD ALIGN="center">
 
            <IMG SRC="./screenShots/changeCuts.jpg" >
          </TD>
        </TR>
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    <HR>
       <P>
      <A NAME="addObjects"><H3>Add Objects over the image.</H3></A> 
      <p>
      It's possible to add objects over the current image by loading from <b>catalogs</b>
           or <b>manually</b>.
           </p>
            <BR>
            Click on the menu  <B>Object</B> then choose the sub-menu item you want.<BR>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD colspan=2>
          
            
          </TD>
           <TD ALIGN="center">
   
            <IMG SRC="./screenShots/7.0_menuObjCat.jpeg"  >
          </TD>
        </TR>
        </table>
        </p>
    <P>
     <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT> 

      <A NAME="addObjectsCat"><H3>From catalogs.</H3></A>
       To choose objects from catalog, click on the sub-menu item <B>from Catalog</B>.<BR><br>
            This will open a the same window as to load an image from catalogs, but with the objects catalogs list. 
      <TABLE BORDER=0 WIDTH="100%">
        <TR> 
        <TD ALIGN="center" >
           
            <IMG SRC="./screenShots/7.1_menuObjCat.jpeg"  >  
          </TD>

         </TR>
         </table>
         <p> Once the catalog choosen, the image properties will be displayed in the query panel. <br>
           Click on <b>Query</b> button will bring the objects list in the botton panel
          <p>
         <table>
        <TR colspan=2 >
            <TD ALIGN="center">   
          
       
            <IMG SRC="./screenShots/7.2_menuObjCat.jpeg"  >  
          </TD>
        </tr>
      
         
        <tr>
        
          <TD colspan=2 > 
         You can  sort objects by their parameters clicking on the title of the column.<BR>
            Also, with a selection of lines, and right-click, you can delete some objects. <br>
            This way, they will be unploted in display and not imported when the window will be closed.
            <br>
         </TR> 
         <tr>  
         <td>------------------------- </td>
         </tr>
         </TABLE>
      <TABLE BORDER=0 WIDTH="100%">
          <tr>   
          <td colspan=1>
            When your selection is ready, clic on the <B>Add Objects and Close</B> button
           at the bottom of the dialog window. <br>
            
          
          </TD>
          </tr>
          <tr>
             <TD ALIGN="center">   
          
      
            <IMG SRC="./screenShots/7.3_menuObjCat.jpeg" >  
          </TD>
          </tr>
          <tr>
          <td>
           This add the selected objects and some of their characteristics in the simulator. 
           </td>
       
        </TR>
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    <HR>
    <P>
      <A NAME="addObjectsMan"><H3>Add Objects manually.</H3></A>
      To add an object manually, choose the sub-menu item <B>Add Objects Manually</B> in the 
            <B>Object</B> menu.<BR>
            Or you can right-click in the image display, a sub-menu <b>"Add object"</b> appears. 
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD   ALIGN="center">
         
            <IMG SRC="./screenShots/7.6b_MouseAddObj.jpeg"  >
          </TD>
         
        </TR>
        </TABLE>
        
      <TABLE BORDER=0 WIDTH="100%">
        <TR> 
       
          <TD >
            All these choices open a pick Objects dialog window.<br><br><br>
            <br>Put the mouse on your favorite object<br> in the display window. <br>The object
            appears in the <br>zoom panel of the dialog window,<br> as well all its characteristics <br>as in the image statistics panel.<br>
            </td>
             <TD>
         
            <IMG SRC="./screenShots/7.6b_menuObjSelMan.jpeg" >
          </TD>
          </tr>
      </TABLE>
        
      <TABLE BORDER=0 WIDTH="100%">      
            <tr>
            <td>
        
            <IMG SRC="./screenShots/7.7b_menuObjSelMan.jpeg"  >
            </td>
            <td colspan=2> 
              When you want to add the object just click on it.<BR> A cross will be displayed on the object, either in the zoom of the pick window,and on the image display.<br>
            The object is added to the sky object list at the bottom of the main window.
            <br> You can add as many objects you want. <br> When you finish, you just close the pick window.<br>
                        
          </TD>
          
        </TR>
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    
    <HR>
     <P>
      <A NAME="recalculObjectsCentroid"><H3>Recalcul Object Centroid.</H3></A>
    
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
        <td>
         When objects are loaded by catalog, it's possible that the centroid is not good enought. It can be recaculated.  
        </td>
          <TD   ALIGN="center">
       
            <IMG SRC="./screenShots/7.8b1_menuObjManRecalcul.jpeg"  >
          </TD>
       
        </TR>
        </TABLE>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>          
             <TD>
           
            <IMG SRC="./screenShots/7.8b2_menuObjManRecalcul.jpeg"" >
          </TD>
          <TD colspan=2>
            You put the mouse on the object, clic-right, and choose the "recalculate Centroid" option. 
            </td>
           </tr>
            </TABLE>
        
      <TABLE BORDER=0 WIDTH="100%">   
           <tr>
           <td>
	The cross displayed on image will turn light-green, and in the bottom array, recalcul is mentionned in the calaog column, and the new centroid value displayed in columns forward. 
	 </td>
	  <TD>
           
            <IMG SRC="./screenShots/7.8b3_menuObjManRecalcul.jpeg"" >
          </TD>
           </tr>
           
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
  
    <HR>
     <P>
       <A NAME="recalculAllObjectsCentroid"><H3>Recalcul Centroid for all Objects.</H3></A>
     After loading by catalogs, sometimes all objects need recalculation.
    
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD   ALIGN="center">
         
            <IMG SRC="./screenShots/7.4b_menuObjCatRecalc.jpeg"  >
          </TD>
          <TD colspan=2>
            You can do that with the <b>"Object"</b> menu option, and the <b>"Recalcul centroid for all objects "</b> sub-item. 
            </td>
        </TR>
        </TABLE>
      <TABLE BORDER=0 WIDTH="100%">
        <TR> 
	<td>
	 The informations will be changed in the bottom array and the objects will be plotted (better) with green cross.  
	 </td>
         
             <TD>
          
            <IMG SRC="./screenShots/7.5b_menuObjCatRecalc.jpeg" >
          </TD>
           
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
  
    <HR>
     <P>
      <A NAME="removeObjectsMan"><H3>Remove Object manually.</H3></A>
      Removing an object is possible : You right-click in the image display, on the selected object. 
      <br>A sub-menu  will appears. 
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD   ALIGN="center">
  
            <IMG SRC="./screenShots/7.8c0_ObjRemoveMenu.jpeg"  >
          </TD>
          <TD colspan=2>
         
            </td>
        </TR>
        </TABLE>
          When you choose the "Remove object" option,
      <TABLE BORDER=0 WIDTH="100%">
        <TR> 
	<td>
	 it will erase the cross in the display and the correspondant line in the bottom array. 
	 </td>
         
             <TD>
          
            <IMG SRC="./screenShots/7.8c1_ObjRemoveMenu.jpeg"" >
          </TD>
           
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
  
    
     <HR>
    <P>
      <A NAME="addMask"><H3>Add an EMIR mask</H3></A>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD colspan=2>
            You can add several masks on an image. Select the menu <B>"Mask"</B>,
            and click on <B>"Add on current Image"</B> sub-menu item.<BR>
          </TD>
        </TR>
        </TABLE>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD ALIGN="center">
       
            <IMG SRC="./screenShots/addMask.jpg" >
          </TD>
          <TD>
            A new mask is added in the left side, under the image name node
            with a default name.<BR>
            You can add several masks in the project following this procedures,
            then you can work on different masks selecting it on the field of view tree.<BR>
            <BR>
            The coordinates of the mask center appears on the
            <A HREF="glossary.html#selMaskProp">"Selected Mask Properties"</A>
            panel.<BR>
            <BR>
            The mask is also overplotted on the image display.<BR>
            All slits are centered and opened to 0.6 arcsec by default.<BR>
            The selected slit is plotted in green and by default, it's the number 1. 
            Slits characteristics are mentionned in the
            <A HREF="glossary.html#selSlitProp">"Selected Slit Properties"</A>
            panel.<BR>
          </TD>
        </TR>
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    <HR>
    <P>
      <A NAME="moveTurnMask"><H3>Move and Turn the selected mask</H3></A>
      <h4> MOVE</h4>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD colspan=2>
            When your mask is added on your image display, you can move and/or turn it on the image.
          </TD>
        </TR>
        </TABLE>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD ALIGN="right">
          
            <IMG SRC="./screenShots/moveMask.jpg" >
          </TD>
          <TD ALIGN="left">
            There is two methods to move the selected mask :<BR>
            <UL>
              <LI>Select the menu <B>"Mask"</B>,<BR>
              and select the <B>"Move Mask over the image"</B> sub-menu radio-item.</LI>
              <LI>Click on the button <B>"Move"</B> on the menu bar.</LI>
            </UL>
            The mask is delimited with a red line as well as the "Move" button.<BR>
            Press the mouse on the mask and drag it through the image.<BR>
          </TD>
        </TR> 
        </TABLE>
        
        <h4> TURN</h4>
         <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD ALIGN="right">
       
            <IMG SRC="./screenShots/turnMask.jpg" >
          </TD>
          <TD ALIGN="left">
            To turn the mask, methods are the same :
            <UL>
              <LI>Select the menu <B>"Mask"</B>,<BR>
              and click on <B>"Turn"</B> sub-menu radio-item.</LI>
              <LI>Click on the button <B>"Turn"</B> on the menu bar.</LI>
            </UL>
            A red circle is plotted on the center of the mask, and the border of
            the "Turn" button appears in red.<BR>
            Press the mouse on the mask and drag it to change the angle.<BR>
            You can also change the angle directly on the "Selected Mask Properties".<BR>
            <BR>
            The coordinates of the mask center appears on the
            <A HREF="./glossary.html#selMaskProp">"Selected Mask Properties"</A>
            panel.<BR>
          </TD>
        </TR>
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
     <HR>
    <P>
      <A NAME="objectsPopup"><H3>Manage Objects via Popup menu</H3></A>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD colspan=2>
            Clicking-right on the mouse where you're positionned on an object, a popup menu appears.<br>
            This allows to manage the selected object.<BR>
          </TD>
        </TR>
        </TABLE>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD ALIGN="center">
        
            <IMG SRC="./screenShots/7.8_mouseObjMenu.jpeg" >
          </TD>
          <TD>
           <ul>
           <li>You can set the object a reference object, the plot is changing and the "isRef"
            check box selected.<BR> </li>
            <li>You can remove individually the object from the list of skyObject.<BR> </li>
            <li> You can recalculate the centroid of the object.<br> <br>
            <i> This option appears only when the mask is positionned.</i><br>
            <li>You can assign the corresponding slit to the object, <br>
            
                        <IMG SRC="./screenShots/7.8_mouseObjMenuMask.jpeg" > 
                        <A HREF="#assignSlit">See forward.</A>
          
            </ul>
            
          </TD>
        </TR>
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    
      <HR>
     <P>
      <A NAME="setObjectsRef"><H3>Set an Object as Reference.</H3></A>
   
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD   ALIGN="center">
         
            <IMG SRC="./screenShots/7.8a2_ObjRef.jpeg"  >
          </TD>
          <TD colspan=2>
             As you click on the mouse menu option "is reference" when you are on an object,
            </td>
        </TR>
        </TABLE>
      <TABLE BORDER=0 WIDTH="100%">
        <TR> 
	<td>
	It will change the cross symbol in a blue square on the image, and a sign is added in the reference column in the bottom array. 
	 </td>
         
             <TD>
            
            <IMG SRC="./screenShots/7.8a3_ObjRef.jpeg" >
          </TD>
           
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
  
    
    <HR>
    <P>
      <A NAME="selectSlit"><H3>Select a Slit and its properties</H3></A>
      To select a slit, check the slit number with the
      <A HREF="./glossary.html#slitSelector">Slit selector</A>,
      <BR>
      
        <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD   ALIGN="center">
     
            <IMG SRC="./screenShots/7.22a_menu_SlitSel.jpeg"  >
          </TD>
          <TD colspan=2>
             
             
                         </td>
        </TR>
        </TABLE>
        or click with the mouse directly on its location on the mask.<BR><br>
      <TABLE BORDER=0 WIDTH="100%">
        <TR> 
	<td>
	And then slit will be selected (in green) and its characteristics will be displayed in  <A HREF="./glossary.html#selSlitProp"> the slit properties panel </A>,
	 </td>
         
             <TD>
         
            <IMG SRC="./screenShots/7.22b_menu_SlitSel.jpeg" >
          </TD>
           
      </TABLE>
      
      <BR>
      The slits characteristics can be changed directly in this panel. 
       <BR>
       Or you can do it with the <A HREF="glossary.html#slitSliders">sliders. 
       <br>
       <br>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
  
  
  <HR>
    <P>
      <A NAME="assignSlit"><H3>Assign an object to a slit</H3></A>
      When the Object is selected, you can assign the closest slit to the object with 2 methods : 
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD colspan=2>
           <b>1</b> - Right-click on the mouse and then choose the <B>Assign to Slit</B> option.<BR>
              </TD>
   
          <TD colspan=2 ALIGN="center">
         
            <IMG SRC="./screenShots/7.24b_mouse_ObjAss.jpeg" >
          </TD>
        </TR>
        </TABLE> 
        <br>
        The slit will be positionned on the object, and in the sky objects list, the slit number is mentionned in the object characteristics. 
        <br>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD colspan=2 ALIGN="center">
          
            <IMG SRC="./screenShots/7.25b1_mouse_ObjAss.jpeg" >
          </TD>
          <TD colspan=2>
         
                  
              </TD>
          </TR>
      </TABLE>
    
    </P>

    <P>
      <b>2</b> -  Or, on the mask, you can double-click on the approximate position you want for the slit.
      <br>It will be positionned and after, you can adjust its parameters with the 
      <A HREF="./glossary.html#selSlitProp"> the slit properties panel </A>, and with the help of the <b>"go and zoom"</b> button.<br><br>
      
  
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD colspan=2 ALIGN="center">
        
            <IMG SRC="./screenShots/goZoomSlit.jpg" >
          </TD>
        </TR>
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    
    <HR>
    <P>
      <A NAME="joinSlits"><H3>Join contiguous slits.</H3></A>
      You can join slits or by menu, or with mouse selection :
      <p>
      <br>By menu : click on the  <B>Slit</B> menu and then <B>Join slits</B> sub-item.<BR> 
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD ALIGN="right" WIDTH="50%">
          <IMG SRC="./screenShots/joinContSlits1.jpg">
          </TD>
          <TD>
            
            Enter the number of the first slit and the numbers of the last slit you want to join, and the slit reference position value that you want for all. 
          </TD>
        </TR>
        
      </table>
      <br>
            The second method by mouse is to selected the first slit on the image, <br>
            and click on the last slit with pushing the <b>"Ctrl"</b> key on keyboard.<BR>
            The same dialog window appears.
            <br>
         <br>
          <Table>
          <tr>
          <td>
          The result : 
          </td>
          <TD ALIGN="center">
         
            <IMG SRC="./screenShots/joinContSlits2.jpg" >
          </TD>
        </TR>
      </TABLE>
      </p>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    <HR>
    <P>
      <A NAME="splitSlits"><H3>Split contiguous slits.</H3></A>
      To split joined-slits, the methods are the same than to join.<br>
      You can click on the  <B>Slit</B> menu then <B>Split slits</B>.<BR>
            
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD >
           The same control panel appears but to split. <br>
            Select the first and the last number of the slits.
          </TD>
          <td ALIGN="left" WIDTH="50%">
           <IMG SRC="./screenShots/7.29a_menu_Split_JoinedSlit.jpeg" >
           </td>
        </TR>
        </TABLE>
      <TABLE BORDER=0 WIDTH="100%">
        <tr>
        <TD>
        Or you can select the slits with the mouse and make appear the panel to split. 
        </td>
        </tr>
         <tr>
          <td>
          The result : <br>
          Attention, the slits positions stay at the position defined before split. 
          </td>
          <TD ALIGN="left"> 
        
           <IMG SRC="./screenShots/7.29d_menu_Split_JoinedSlit.jpeg" WIDTH="460" HEIGHT="420" >
        
          </TD>
        </TR>
        
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    <hr>
    <p>
    <A NAME="undoMoves"><H3>Undo some moves.</H3></A>
    It's possible to undo somes moves. <br>
    The <b>Undo</b> button <IMG SRC="./screenShots/icons/undo.gif">is activated when it's possible.
    <br>It concerne masks moves, turn and move, and slits corrections. 
    <br><br>
    
    <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </p>
    
    <HR>
    <P>
      <A NAME="plotSpectra"><H3>Plot the spectra over the image.</H3></A>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD colspan=2>
            The spectrum of the selected Slit or all the spectra could be displayed over the mask,
            to watch the extends.( Not yet good curvature )<BR>
            Click on the menu <B>Display</B> Then select the appropriate plot option.
          </TD>
        </TR>
        </TABLE>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD ALIGN="center">
          
            <IMG SRC="./screenShots/plotSpectra1.jpg" >
          </TD>
          </tr>
          <tr>
          <td>
          When you selected <b> All spectra</b> : 
          </td>
          </tr>
          <tr>
          <TD ALIGN="center">
         
            <IMG SRC="./screenShots/plotSpectra2.jpg">
          </TD>
        </TR>
      </TABLE>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    
    
    <HR>
    <P>
      <A NAME="searchAssociations"><H3>Search automatically slits positions.</H3></A>
      <TABLE BORDER=0 WIDTH="100%">
        <TR>
          <TD colspan=2>
           This search method propose severals mask positions. It take calculations from the center of the position of the field of view. <br>It tests several angles with the objects in the field of view, and optimizes the slits positions for them. <br>
           
           It's not on all the image and with all the objects. <br>
           But you can run several testes from different situations in field of view.  <br>
          <br> 
           There is a search window, with a progress bar which is displayed during calculations. 
           <br> <br>
         <i>  The ratio displayed aside the calculated mask is the number of objects in slits in the mask over the total number of objects loaded.
         </i>
          <p>
           To lauch the research, click on the <B>Search</B> button.<BR>
           <br>
            <Center><IMG SRC="./screenShots/8_buttonSearch.jpeg" ></center>
           
           <br>
           The search window is displayed. <br> 
            <Center><IMG SRC="./screenShots/7.30a_mask_Search.jpeg" ></center>
            <br>This window must be closed after calculations to display the mask solutions. <br>
        </p>
          </TD>
        </TR>
        </table>
        </p>
        <p>
        After a small  time, depending on the number of object in the sky object list, the tenth better masks are added to the list of masks. 
       <br><br>
        Some examples :
        <br><br>
      Result 1:
      <br>
          <Center>  <IMG SRC="./screenShots/searchSolution1.jpg" ></Center>
          <br><br>
   Result 2:
      <br>
           <Center> <IMG SRC="./screenShots/searchSolution2.jpg"></Center>
      <br><br>
    
    
          Result 3:
      <br>
          <Center>  <IMG SRC="./screenShots/7.30c_mask_Search.jpeg"></Center>
      <br><br>
      
          Result 4:
      <br>
           <Center> <IMG SRC="./screenShots/7.30d_mask_Search.jpeg" ></Center>
         <br>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    
    <HR>
    <P>
      <A NAME="validateWriteMask"><H3>Validate and/or Write a mask.</H3></A>
      After all manipulations, masks can be validated and saved. <br>
      <br>
      For this, you select the <b>Validate</b> button.  
         <br><br>
            <Center><IMG SRC="./screenShots/8_buttonVal.jpeg" ></center>
           <br>
      But, before you validate, or write, a mask, you must have at less 3 <b>reference objects</b> in the detector field. <br>
      If not, you will have this message :
     
            
             <Center><IMG SRC="./screenShots/7.31_mask_writeNotRef.jpeg" >    </center>     
            <br>
        <p>
        Once you've got enought reference objects and all requierements completed, you can validate the mask.  
        <br>
      You will have a confirmation message that says the mask is validated.  
        </p>
    
            <Center><IMG SRC="./screenShots/7.33_mask_writeAsk.jpeg" ></center>  
      <br>      
   And, ask if you want the mask writed. 
<br>
       
      <p>
          
           At this point, the procedure is the same if you have clicked on the write button.  
          
         </p>
        
            <Center><IMG SRC="./screenShots/8_buttonWrite.jpeg" ></center>
      
          <br> The screen asks you where you want to save the file and its name. <br>
       
          <center>   <IMG SRC="./screenShots/7.31b_mask_write.jpeg" ></center> 
       <p>
         When you do that, the example generated xml file:       
         
          </p>
               <center>    <IMG SRC="./screenShots/7.32_mask_writeFich.jpeg" ></center> 
     
      <br>
      <RIGHT><A HREF="#menu">Back to the menu</A></RIGHT>
    </P>
    
    <HR>
    <P>
      <A NAME="reloadMask"><H3>Reload a Mask.</H3></A>
     
    <b> <i>To be completed </i></b>
    <p>
    A written file of mask can be re-load. <br>
    With the  <b> Mask</b> menu option, you can choose <b>Load a mask</b>. <br><br>
    A file chooser will be opened, and a file can be choosen. <br>
    The mask properties will be tested to verify it's in the image and after that, it will be loaded. <br>
    
     </p>
     
  </BODY>
</HTML>