- Timestamp:
- Feb 19, 2015 6:23:45 AM (10 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- cbae5a2
- Parents:
- 17e1f14 (diff), 83eff66 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- src/sas
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/guiframe/config.py
rfd5ac0d rf53cd30 26 26 # About box info 27 27 _do_aboutbox = True 28 _do_acknowledge = True 28 29 _do_tutorial = True 30 _acknowledgement_preamble =\ 31 '''If you found this software useful to your work please remember to acknowledge 32 its use in your publications as suggested below and reference the SasView website: 33 http://www.sasview.org/index.html. Please also consider letting us know by sending us the 34 reference to your work. This will help us to ensure the long term support and 35 development of the software. 36 ''' 37 _acknowledgement_publications = \ 38 '''This work originally developed as part of the DANSE project funded by the NSF 39 under grant DMR-0520547, and currently maintained by NIST, UMD, ORNL, ISIS, ESS 40 and ILL. 41 ''' 29 42 _acknowledgement = \ 30 43 '''This software was developed by the University of Tennessee as part of the -
src/sas/guiframe/gui_manager.py
r707c6be rf53cd30 1351 1351 wx.EVT_MENU(self, id, self._onTutorial) 1352 1352 1353 if config._do_acknowledge: 1354 self._help_menu.AppendSeparator() 1355 self._help_menu.Append(id, '&Acknowledge', 'Acknowledging SasView') 1356 wx.EVT_MENU(self, id, self._onAcknowledge) 1357 1353 1358 if config._do_aboutbox: 1354 1359 self._help_menu.AppendSeparator() … … 2098 2103 self.SetStatusText(msg) 2099 2104 2105 def _onAcknowledge(self, evt): 2106 """ 2107 Pop up the acknowledge dialog 2108 2109 :param evt: menu event 2110 2111 """ 2112 if config._do_acknowledge: 2113 import sas.guiframe.acknowledgebox as AcknowledgeBox 2114 dialog = AcknowledgeBox.DialogAcknowledge(None, -1, "") 2115 dialog.ShowModal() 2116 2100 2117 def _onAbout(self, evt): 2101 2118 """ -
src/sas/perspectives/calculator/media/data_operator_help.rst
r684fade rad4d8b4 34 34 available operators are: 35 35 36 * + (for addition)37 * - (for subtraction),38 * * (for multiplication)39 * / (for division)40 * | (for combination of two data sets)36 * \+ (for addition) 37 * \- (for subtraction) 38 * \* (for multiplication) 39 * \/ (for division) 40 * \| (for combination of two data sets) 41 41 42 42 If two data sets do not match, the operation will fail and the background -
src/sas/perspectives/calculator/media/density_calculator_help.rst
r054a3ad r36819ee 19 19 ------ 20 20 21 1) Enter the empirical formula of a molecule. For mixtures, the ratio of each 21 22 1) Select *Density/Volume Calculator* from the *Tool* menu on the SasView toolbar. 23 24 2) Enter the empirical formula of a molecule. For mixtures, the ratio of each 22 25 of the molecules should be used, for example, (H2O)0.5(D2O)0.5. 23 26 24 2) Use the input combo box to choose between molar volume or mass density and27 3) Use the input combo box to choose between molar volume or mass density and 25 28 then type in an input value. 26 29 27 3) Click the 'Calculate' button to perform the calculation.30 4) Click the 'Calculate' button to perform the calculation. 28 31 29 32 .. image:: density_tutor.gif -
src/sas/perspectives/calculator/media/image_viewer_help.rst
r920928f r1e01486 14 14 plot can also be resized by dragging the corner of the panel. 15 15 16 Supported image formats are png, bmp, gif, or jpg. (There is currently a bug in 17 the tif loader) 16 The supported input image formats are: 17 18 * BMP (bitmap format) 19 * GIF (graphical interchange format) 20 * JPG (joint photographic experts group format) 21 * PNG (portable network graphics format) 22 * TIF (tagged image format) 18 23 19 24 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ … … 22 27 ------ 23 28 24 1 . Select 'Image Viewer' under the 'Tool' menu in the menubar.29 1) Select *Image Viewer* from the *Tool* menu on the SasView toolbar. 25 30 26 2. Select a file type from the drop-box at the bottom of the file dialog panel, 27 choose a file of interest, and then click the 'Open' button (see the 28 picture below). 31 2) Select a file and then click *Open*. 29 32 30 33 .. image:: load_image.bmp 31 34 32 3. If the loading is successful, the image will be displayed. The file name 33 will be shown in the title bar (see the picture below). 35 If the loading is successful the image will be displayed. 34 36 35 4. Some options such as saving, printing, and copying are available from the36 menubar, or in the context-menu (by right-clicking anywhere in the plot).37 3) To save, print, or copy the image, or to apply a grid overlay, right-click 38 anywhere in the plot. 37 39 38 40 .. image:: pic_plot.bmp 39 41 40 5. If the image is taken from a 2D detector, it can be converted into 2D data41 where the z values are computed as42 4. If the image is taken from a 2D detector, SasView can attempt to convert 43 the colour/grey scale into pseudo-intensity 2D data using 42 44 43 z = (0.299 x R) + (0.587 x G) + (0.114 x B)45 z = (0.299 x R) + (0.587 x G) + (0.114 x B) 44 46 45 unless the picture file is formatted as 8-bit grey-scale tif.47 unless the image is formatted as 8-bit grey-scale TIF. 46 48 47 In the "Convert to Data" dialog, set the parameters relevant to yourdata and48 then click the OK button.49 5. In the *Convert to Data* dialog, set the parameters relevant to the data and 50 then click the OK. 49 51 50 52 .. image:: pic_convert.bmp 53 54 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 55 56 .. note:: This help document was last changed by Steve King, 18Feb2015 -
src/sas/perspectives/calculator/media/kiessig_calculator_help.rst
rec392464 r1e01486 3 3 .. This is a port of the original SasView html help file to ReSTructured text 4 4 .. by S King, ISIS, during SasView CodeCamp-III in Feb 2015. 5 6 .. |pi| unicode:: U+03C0 7 .. |Ang| unicode:: U+212B 5 8 6 9 Kiessig Thickness Calculator Tool … … 10 13 ----------- 11 14 12 This tool is to approximately estimate the thickness of a layer or the13 diameter of particles from the Kiessig fringe in SAS/NR data, and using the14 Kiessigrelation15 This tool is approximately estimates the thickness of a layer or the diameter 16 of particles from the position of the Kiessig fringe/Bragg peak in NR/SAS data 17 using the relation 15 18 16 thickness = 2*Pi/fringe_width. 19 (thickness *or* size) = 2 * |pi| / (fringe_width *or* peak position) 17 20 18 21 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 19 20 22 21 23 How To 22 24 ------ 23 25 24 To get a rough thickness or particle size, just type the Kiessig fringe width 25 (in units of 1/Angstrom) and click on the 'Compute' button. Then the output 26 value will be show up in the 'Thickness' text box. 26 To get a rough thickness or particle size, simply type the fringe or peak 27 position (in units of 1/|Ang|\) and click on the *Compute* button. 28 29 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 30 31 .. note:: This help document was last changed by Steve King, 18Feb2015 32
Note: See TracChangeset
for help on using the changeset viewer.