Changes in / [b3efb7d:10a483f] in sasview
- Files:
-
- 44 added
- 1 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
r8c9ffde raeb018d 32 32 src/sas/models/c_extension/c_models/c_models.cpp 33 33 src/sas/models/c_extension/python_wrapper/generated/ 34 src/sas/models/media/.idea/ 35 36 default_categories.json -
docs/sphinx-docs/build_sphinx.py
r3a39c2e rf620870 65 65 print "Found docs folder at \"%s\"." % docs 66 66 67 dest_dir_name = os.path.basename(os.path.dirname(docs)) 68 dest_dir = os.path.join(SPHINX_SOURCE, "user", dest_dir_name) 67 dest_dir_part = os.path.dirname(os.path.relpath(docs, SASVIEW_SRC)) 68 if os.sep in dest_dir_part: 69 dest_dir_part = dest_dir_part[dest_dir_part.index(os.sep) + 1:] 70 dest_dir = os.path.join(SPHINX_SOURCE, "user", dest_dir_part) 69 71 70 72 copy_tree(docs, dest_dir) … … 105 107 apidoc() 106 108 build() 109 110 print "=== Done ===" -
docs/sphinx-docs/source/user/user.rst
r9dfb1f9 ref325c7 5 5 :maxdepth: 1 6 6 7 Models <models/model_functions> 7 Model Documentation <models/model_functions> 8 9 10 Loading Data <guiframe/data_explorer_help> 11 12 Plotting Data/Models <guiframe/graph_help> 13 14 Fitting Perspective <fitting/fitting_help> 15 16 P(r) Inversion Perspective <invariant/pr_help> 17 18 Invariant Calculation Perspective <invariant/invariant_help> 19 20 21 Data Operations Tool <data_util/data_operator_help> 22 23 SLD Calculator Tool <calculator/sld_calculator_help> 24 25 Density/Volume Calculator Tool <calculator/density_calculator_help> 26 27 Slit Size Calculator Tool <calculator/slit_calculator_help> 28 29 Kiessig Thickness Calculator Tool <calculator/kiessig_calculator_help> 30 31 SANS Resolution Estimator Tool <calculator/resolution_calculator_help> 32 33 Generic Scattering Calculator Tool <calculator/sas_calculator_help> 34 35 Python Shell Tool 36 37 Image Viewer Tool -
sasview/setup_exe.py
r3a39c2e r4172557 307 307 # 308 308 packages = [ 309 'matplotlib', 'scipy', ' pytz', 'encodings', 'comtypes',309 'matplotlib', 'scipy', 'encodings', 'comtypes', 310 310 'win32com', 'ho.pisa', 'bumps', 311 311 ] … … 326 326 327 327 # Exclude packages that are not needed but are often found on build systems 328 excludes = ['Tkinter', 'PyQt4', '_ssl', '_tkagg', 'sip' ]328 excludes = ['Tkinter', 'PyQt4', '_ssl', '_tkagg', 'sip', 'pytz'] 329 329 330 330 -
setup.py
r7a04dbb ra6d2e3b 336 336 os.path.join(smear_dir, "smearer2d_helper_module.cpp"), 337 337 os.path.join(smear_dir, "smearer2d_helper.cpp"), 338 os.path.join(igordir, "winFuncs.c"), 338 339 ], 339 340 include_dirs=[smear_dir, numpy_incl_path], … … 346 347 os.path.join(c_model_dir, "libfunc.c"), 347 348 os.path.join(c_model_dir, "librefl.c"), 349 os.path.join(igordir, "winFuncs.c"), 348 350 ], 349 351 include_dirs=[gen_dir, includedir, c_model_dir, numpy_incl_path], -
src/sas/guiframe/gui_manager.py
rb9a5f0e rad8872e 24 24 import logging 25 25 import httplib 26 import webbrowser 27 26 28 27 29 from sas.guiframe.events import EVT_CATEGORY … … 1325 1327 def _add_help_menu(self): 1326 1328 """ 1327 add help menu 1329 add help menu to menu bar. Includes welcome page, about page, 1330 tutorial PDF and documentation pages. 1328 1331 """ 1329 1332 # Help menu … … 1336 1339 id = wx.NewId() 1337 1340 self._help_menu.Append(id, '&Welcome', '') 1338 self._help_menu.AppendSeparator()1339 1341 wx.EVT_MENU(self, id, self.show_welcome_panel) 1340 1342 1341 # Look for help item in plug-ins 1342 for item in self.plugins: 1343 if hasattr(item, "help"): 1344 id = wx.NewId() 1345 self._help_menu.Append(id,'&%s Help' % item.sub_menu, '') 1346 wx.EVT_MENU(self, id, item.help) 1347 1348 # Only show new Sphinx docs link if version of wx supports displaying 1349 # it correctly. 1350 show_sphinx_docs = float(wx.__version__[:3]) >= 2.9 1351 if show_sphinx_docs: 1352 self._help_menu.AppendSeparator() 1353 id = wx.NewId() 1354 self._help_menu.Append(id, '&Sphinx Documentation', '') 1355 wx.EVT_MENU(self, id, self._onSphinxDocs) 1343 self._help_menu.AppendSeparator() 1344 id = wx.NewId() 1345 self._help_menu.Append(id, '& Documentation', '') 1346 wx.EVT_MENU(self, id, self._onSphinxDocs) 1356 1347 1357 1348 if config._do_tutorial and (IS_WIN or sys.platform =='darwin'): … … 2162 2153 def _onSphinxDocs(self, evt): 2163 2154 """ 2164 Pop up a Sphinx Documentation dialog. 2155 Bring up Sphinx Documentation. If Wx 2.9 or higher is installed 2156 with proper HTML support then Pop up a Sphinx Documentation dialog 2157 locally. If not pop up a new tab in the default system browser 2158 calling the documentation website. 2165 2159 2166 2160 :param evt: menu event … … 2168 2162 # Running SasView "in-place" using run.py means the docs will be in a 2169 2163 # different place than they would otherwise. 2170 SPHINX_DOC_ENV = "SASVIEW_DOC_PATH" 2171 if SPHINX_DOC_ENV in os.environ: 2172 docs_path = os.path.join(os.environ[SPHINX_DOC_ENV], "index.html") 2164 2165 show_sphinx_docs = float(wx.__version__[:3]) >= 2.9 2166 if show_sphinx_docs: 2167 SPHINX_DOC_ENV = "SASVIEW_DOC_PATH" 2168 if SPHINX_DOC_ENV in os.environ: 2169 docs_path = os.path.join(os.environ[SPHINX_DOC_ENV], "index.html") 2170 else: 2171 docs_path = os.path.join(PATH_APP, "..", "..", "doc", "index.html") 2172 2173 if os.path.exists(docs_path): 2174 from documentation_window import DocumentationWindow 2175 2176 sphinx_doc_viewer = DocumentationWindow(None, -1, docs_path) 2177 sphinx_doc_viewer.Show() 2178 else: 2179 logging.error("Could not find Sphinx documentation at '%' -- has it been built?" % docs_path) 2173 2180 else: 2174 docs_path = os.path.join(PATH_APP, "..", "..", "doc", "index.html") 2175 2176 if os.path.exists(docs_path): 2177 from documentation_window import DocumentationWindow 2178 2179 sphinx_doc_viewer = DocumentationWindow(None, -1, docs_path) 2180 sphinx_doc_viewer.Show() 2181 else: 2182 logging.error("Could not find Sphinx documentation at '%' -- has it been built?" % docs_path) 2181 #For red hat and maybe others who do not have Wx 3.0 2182 #just send to webpage of documentation 2183 webbrowser.open_new_tab('http://www.sasview.org/sasview') 2183 2184 2184 2185 def set_manager(self, manager): -
src/sas/models/c_extension/c_models/librefl.c
r79492222 ra6d2e3b 8 8 #include <stdlib.h> 9 9 #if defined(_MSC_VER) 10 #include " winFuncs.h"10 #include "../libigor/winFuncs.h" 11 11 #endif 12 12 -
src/sas/models/media/readme.txt
r79492222 rae00b6f 2 2 file from html to restructured text. 3 3 4 model_functions .htmlis the help file distributed with SasView v2.2.1.4 model_functions_v0.html (if present) is the help file distributed with SasView v2.2.1. 5 5 6 6 model_functions-2.html (if present) is the current html generated from the … … 8 8 9 9 NIST_IGOR_SANS_Model_Docs_v4.10.pdf should be used as the primary reference 10 for queries about the model descriptions, NOT model_functions .html.10 for queries about the model descriptions, NOT model_functions_v0.html. 11 11 12 12 Steve King 13 Apr 2014 13 Feb 2015 -
src/sas/perspectives/fitting/pagestate.py
rb9a5f0e rd06ae30 472 472 Get the values (strings) from __str__ for report 473 473 """ 474 # Dictionary of t ehreport strings474 # Dictionary of the report strings 475 475 repo_time = "" 476 476 model_name = "" … … 508 508 if name == "value": 509 509 param_string += value + ',' 510 if name == "selected": 511 if value == u' False': 512 fixed_parameter = True 513 else: 514 fixed_parameter = False 510 515 if name == "error value": 511 param_string += value + ',' 516 if fixed_parameter: 517 param_string += '(fixed),' 518 else: 519 param_string += value + ',' 512 520 if name == "parameter unit": 513 521 param_string += value + ':' -
src/sas/perspectives/fitting/report_dialog.py
r79492222 rd06ae30 1 1 """ 2 2 Dialog report panel to show and summarize the results of 3 the invariantcalculation.3 the fitting calculation. 4 4 """ 5 5 ################################################################################
Note: See TracChangeset
for help on using the changeset viewer.