Changeset 78f02c3 in sasview for src/sas/perspectives/calculator/media
- Timestamp:
- Feb 14, 2015 12:12:40 PM (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:
- 898a8b9
- Parents:
- 3e2ebbb
- Location:
- src/sas/perspectives/calculator/media
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/calculator/media/image_viewer_help.rst
r379b87a r78f02c3 1 1 ..image_viewer_help.rst 2 3 .. This is a port of the original SasView html help file to ReSTructured text 4 .. by S King, ISIS, during SasView CodeCamp-III in Feb 2015. 2 5 3 6 Image Viewer Tool 4 7 ================= 5 8 6 Placeholder for image viewer help 9 Description 10 ----------- 11 12 This tool loads image files and displays them as 2D (x-y coordinate against 13 counts per pixel). The plot can then can be saved, printed, and copied. The 14 plot can also be resized by dragging the corner of the panel. 15 16 Supported image formats are png, bmp, gif, or jpg. (There is currently a bug in 17 the tif loader) 18 19 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 20 21 How To 22 ------ 23 24 1. Select 'Image Viewer' under the 'Tool' menu in the menubar. 25 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). 29 30 .. image:: load_image.bmp 31 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). 34 35 4. Some options such as saving, printing, and copying are available from the 36 menubar, or in the context-menu (by right-clicking anywhere in the plot). 37 38 .. image:: pic_plot.bmp 39 40 5. If the image is taken from a 2D detector, it can be converted into 2D data 41 where the z values are computed as 42 43 z = (0.299 x R) + (0.587 x G) + (0.114 x B) 44 45 unless the picture file is formatted as 8-bit grey-scale tif. 46 47 In the "Convert to Data" dialog, set the parameters relevant to your data and 48 then click the OK button. 49 50 .. image:: pic_convert.bmp -
src/sas/perspectives/calculator/media/python_shell_help.rst
r379b87a r78f02c3 1 1 ..python_shell_help.rst 2 3 .. This is a port of the original SasView html help file to ReSTructured text 4 .. by S King, ISIS, during SasView CodeCamp-III in Feb 2015. 2 5 3 6 Python Shell Tool 4 7 ================= 5 8 6 Placeholder for python shell help 9 Description 10 ----------- 11 12 This is a Python shell (PyCrust) provided with WxPython. An editing notebook 13 will show up when a Python file is loaded from the 'New' or 'Open' menu. 14 15 The 'Run' menu is added for the editor to be able to compile and run the Python 16 code. 17 18 For the details about the Python, visit the website 19 http://docs.python.org/tutorial/ 20 21 The numpy, scipy, matplotlib, etc, libraries are shipped with SasView. However, 22 some functionalities of those packages may or may not work. 23 24 PyCrust includes its own Help menu in the shell window. 25 26 Note: Help() and Credits() do not work on Macs. 27 28 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 29 30 Example 31 ------- 32 33 An example from the matplotlib gallery: 34 35 .. image:: pycrust_example.bmp
Note: See TracChangeset
for help on using the changeset viewer.