Ignore:
Timestamp:
Dec 26, 2016 2:24:57 PM (5 years ago)
Author:
toby
Message:

more editing of masks: Put up more title, allow RB to cancel; create config vars for mask sizes;fix bug on incomplete poly mask

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/help/gsasII.html

    r2602 r2603  
    31883188right mouse button. The left button click is generated otherwise. 
    31893189
    3190 <h2><a name=Programmers><strong>Programmers documentation</strong></a><strong>:<o:p></o:p></strong></h2>
     3190<h3><a name=Preferences><strong>Configuration Variables</strong></a><strong>:<o:p></o:p></strong></h3>
     3191
     3192<p class=MsoNormal><span style='mso-fareast-font-family:"Times New
     3193Roman"'>GSAS-II provides a number of configuration settings that can
     3194be changed via variables that can be set and saved. These are
     3195controlled in the File/Preferences menu item (on Mac the Preferences
     3196menu is found in the usual place, in the main application menu). These
     3197settings are optionally saved from for subsequent runs in a file named
     3198<tt>config.py</tt>. More information about this can be found in the
     3199<a
     3200href="https://subversion.xray.aps.anl.gov/pyGSAS/sphinxdocs/build/html/GSASIIutil.html#module-config_example">
     3201appropriate section of the Programmer's documentation</a>.
     3202
     3203<h3><a name=Programmers><strong>Programmers documentation</strong></a><strong>:<o:p></o:p></strong></h3>
    31913204
    31923205<p class=MsoNormal><span style='mso-fareast-font-family:"Times New Roman"'>The
     
    55575570  three ways to create spot masks with the keyboard:
    55585571 <UL>
    5559 <LI style='margin-left:.2in'>Press the 's' key and then click on the mask location.   
     5572<LI style='margin-left:.2in'>Press the 's' key and then left-click on the mask location.   
     5573(<a href="#Mac_rightclick">Right-click*</a> to cancel.)
    55605574<LI style='margin-left:.2in'>Press the 'm' key and
    5561    then click successively on multiple locations for spot masks. Press the 'm' key again
     5575   then left-click successively on multiple locations for spot
     5576   masks. Press the 'm' key again or <a href="#Mac_rightclick">right-click*</a>
    55625577   to stop adding spot masks.
    55635578<LI style='margin-left:.2in'>Move the mouse to the position for a
     
    55655580   this can be used while the plot is in Zoom or Pan mode.)
    55665581</UL>
     5582<P style='margin-left:.45in'>The default size for newly-created spot
     5583masks is determined by the <tt>Spot_mask_diameter</tt>
     5584<A Href=#Preferences>configuration variable</a> or 1.0 mm, if not specified.
    55675585<P style='margin-left:.25in'><B>Edit Spot mask location</B> by left-clicking inside
    55685586  or on the edge the of the mask and then drag the spot mask to a new
    55695587  location.
    5570 <P style='margin-left:.25in'><B>Edit Spot mask radius</B> by <a href="#Mac_rightclick">right-clicking*</a> inside
    5571   the mask and then dragging to change the mask size.
     5588<P style='margin-left:.25in'><B>Edit Spot mask radius</B> by
     5589<a href="#Mac_rightclick">right-clicking*</a> inside
     5590the mask and then dragging to change the mask size.
    55725591
    55735592<LI style='margin-left:.5in'>Ring masks: occludes a specific Bragg
     
    55755594  location and thickness of the ring are specified in degrees
    55765595  2-theta.
    5577 <P style='margin-left:.25in'><B>Create Ring masks</B> with a menu command and then by clicking on
    5578   the location on the image that should be masked. Or, by pressing the
    5579   'r' key and then clicking at the appropriate radius. Initially the
    5580   mask is given a thickness of 0.1 degrees.
     5596<P style='margin-left:.25in'><B>Create Ring masks</B> with a menu command and then by left-clicking on
     5597  the mask center; Or, by pressing the
     5598  'r' key and then left-clicking.
     5599(<a href="#Mac_rightclick">Right-click*</a> to cancel.)
     5600<P style='margin-left:.45in'>The default thickness for newly-created ring
     5601masks is determined by the <tt>Ring_mask_thickness</tt>
     5602<A Href=#Preferences>configuration variable</a> or 0.1 degrees
     5603  (2theta) if not specified.
    55815604<P style='margin-left:.25in'><B>Edit Ring mask location</B> by
    55825605  left-clicking on either the inner or outer circle and drag the
     
    55885611<LI style='margin-left:.5in'>Arc masks: occludes a section of a Bragg
    55895612  reflection, similar to a ring mask, except that in addition to the
    5590   location and thickness of the ring (in degrees
    5591   2-theta), the starting and ending
    5592   azimuthal angles are also specified in degrees.
    5593 
    5594 <P style='margin-left:.25in'><B>Create Arc masks</B> with a menu command and then by clicking on
    5595   the location on the image that should be masked. Or, by pressing the
    5596   'a' key and then clicking at the appropriate radius. Initially the
    5597   mask is given a thickness of 0.1 degrees and an azimuthal range of
    5598   10 degrees. 
     5613  location and thickness of the ring, the mask has a starting and ending
     5614  azimuthal angle.
     5615<P style='margin-left:.25in'><B>Create Arc masks</B> with a menu command and then by left-clicking on
     5616  at the mask center; Or, by pressing the
     5617  'a' key and then left-clicking.
     5618(<a href="#Mac_rightclick">Right-click*</a> to cancel.)
     5619<P style='margin-left:.45in'>The default size for newly-created ring
     5620masks is determined by
     5621<A Href=#Preferences>configuration variables</a><BR>
     5622thickness: <tt>Ring_mask_thickness</tt> (0.1 degrees 2theta if not specified) and
     5623<BR>azimuthal range: <tt>Arc_mask_azimuth</tt> (10.0 degrees if not specified.)
    55995624<P style='margin-left:.25in'><B>Edit Arc mask location</B> by
    56005625  left-clicking on either the inner or outer circle and drag the
     
    76407665style='mso-bookmark:Pawley'><o:p>&nbsp;</o:p></span></p>
    76417666
    7642 <p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:Pawley'><!-- hhmts start -->Last modified: Sun Dec 25 21:30:18 CST 2016 <!-- hhmts end --></span></p>
     7667<p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:Pawley'><!-- hhmts start -->Last modified: Mon Dec 26 14:20:05 CST 2016 <!-- hhmts end --></span></p>
    76437668
    76447669</div>
Note: See TracChangeset for help on using the changeset viewer.