Changeset be2775f in sasview
- Timestamp:
- Mar 21, 2016 4:37:11 PM (9 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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 70e5f97
- Parents:
- d85b0c7 (diff), a8787f9 (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. - Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/sphinx-docs/build_sphinx.py
rf603bec r5420ef6 38 38 SASMODELS_SOURCE_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "model") 39 39 SASMODELS_SOURCE_IMG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "model", "img") 40 SASMODELS_SOURCE_AUTOIMG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "_build", "html","_images") 40 41 SASMODELS_DEST_PROLOG = os.path.join(CURRENT_SCRIPT_DIR, "source") 41 42 SASMODELS_DEST_REF_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "source", "user") 42 43 SASMODELS_DEST_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "source", "user", "models") 43 44 SASMODELS_DEST_IMG = os.path.join(CURRENT_SCRIPT_DIR, "source", "user", "model-imgs", "new-models") 45 SASMODELS_DEST_BUILDIMG = os.path.join(CURRENT_SCRIPT_DIR, "source", "user", "models", "img") 44 46 45 47 #if os.path.exists(SASMODELS_SOURCE_PROLOG): … … 145 147 print "=== And the Sasmodels Docs ===" 146 148 # Make sure we have the relevant images for the new sasmodels documentation 149 # First(!) we'll make a local reference copy for SasView (/new-models will be cleaned each build) 147 150 if os.path.exists(SASMODELS_SOURCE_IMG): 148 151 print "Found img folder SASMODELS_SOURCE_IMG at ", SASMODELS_SOURCE_IMG … … 155 158 shutil.copy(fromhere,tohere) 156 159 160 if os.path.exists(SASMODELS_SOURCE_AUTOIMG): 161 print "Found img folder SASMODELS_SOURCE_AUTOIMG at ", SASMODELS_SOURCE_AUTOIMG 162 if os.path.exists(SASMODELS_DEST_IMG): 163 print "Copying sasmodels model auto-generated image files..." 164 for files in os.listdir(SASMODELS_SOURCE_AUTOIMG): 165 fromhere=os.path.join(SASMODELS_SOURCE_AUTOIMG,files) 166 tohere=os.path.join(SASMODELS_DEST_IMG,files) 167 shutil.copy(fromhere,tohere) 168 157 169 # And the rst prolog with the unit substitutions 158 170 if os.path.exists(SASMODELS_SOURCE_PROLOG): … … 203 215 tohere=os.path.join(SASMODELS_DEST_MODELS,files) 204 216 shutil.copy(fromhere,tohere) 217 else: 218 print "Missing docs folder SASMODELS_DEST_MODELS at ", SASMODELS_DEST_MODELS 219 os.makedirs(SASMODELS_DEST_MODELS) 220 if not os.path.exists(SASMODELS_DEST_BUILDIMG): 221 os.makedirs(SASMODELS_DEST_BUILDIMG) 222 print "Created docs folder SASMODELS_DEST_MODELS at ", SASMODELS_DEST_MODELS 223 print "Copying model files for build..." 224 for files in os.listdir(SASMODELS_SOURCE_MODELS): 225 if files.endswith(".rst"): 226 fromhere=os.path.join(SASMODELS_SOURCE_MODELS,files) 227 tohere=os.path.join(SASMODELS_DEST_MODELS,files) 228 shutil.copy(fromhere,tohere) 229 # No choice but to do this because model files are all coded for images in /models/img 230 print "Copying image files for build..." 231 for files in os.listdir(SASMODELS_DEST_IMG): 232 fromhere=os.path.join(SASMODELS_DEST_IMG,files) 233 tohere=os.path.join(SASMODELS_DEST_BUILDIMG,files) 234 shutil.copy(fromhere,tohere) 205 235 206 236 -
docs/sphinx-docs/source/user/shape-sphere.rst
r5757bbe r61991ed 15 15 models/fuzzy_sphere.rst 16 16 models/linear_pearls.rst 17 models/multi _shell.rst17 models/multilayer_vesicle.rst 18 18 models/onion.rst 19 19 models/polymer_micelle.rst -
docs/sphinx-docs/source/user/user.rst
r92f05de r5a71761 7 7 :maxdepth: 1 8 8 9 SasView (4.x.x)Model Documentation <index>9 SasView Model Documentation <index> 10 10 11 11 Analysis <analysis> -
setup.py
r1af8548 r9274711 254 254 packages.append("sas.sasgui.plottools") 255 255 256 # Last of the sas.models257 package_dir["sas.models"] = os.path.join("src", "sas", "models")258 packages.append("sas.models")256 # # Last of the sas.models 257 # package_dir["sas.models"] = os.path.join("src", "sas", "models") 258 # packages.append("sas.models") 259 259 260 260 IGNORED_FILES = [".svn"] -
src/sas/sascalc/calculator/BaseComponent.py
r9e531f2 r74c5521 106 106 107 107 qx_prime = [ qx[0], qx[1], qx[2], ....] 108 108 109 and :: 110 109 111 qy_prime = [ qy[0], qy[1], qy[2], ....] 110 112 111 113 Then get :: 114 112 115 q = numpy.sqrt(qx_prime^2+qy_prime^2) 113 116 114 117 that is a qr in 1D array; :: 118 115 119 q = [q[0], q[1], q[2], ....] 116 120 … … 123 127 124 128 evalDistribution(q) 129 125 130 where q is a numpy array. 126 131 -
src/sas/sasgui/guiframe/data_processor.py
rdc2da3d r74c5521 12 12 #Path to this is: /sasview/src/sas/sasgui/guiframe/data_processor.py 13 13 #Path to image is: /sasview/src/sas/sasgui/guiframe/media/BatchGridClassLayout.png 14 .. image:: ./guiframe/media/BatchGridClassLayout.png 15 :align: center 14 15 .. image:: ./guiframe/media/BatchGridClassLayout.png 16 :align: center 16 17 17 18 """ -
src/sas/sasgui/perspectives/fitting/models.py
r08959b8 rd85b0c7 151 151 try: 152 152 import compileall 153 compileall.compile_dir(dir=dir, ddir=dir, force= 1,153 compileall.compile_dir(dir=dir, ddir=dir, force=0, 154 154 quiet=report_problem) 155 155 except:
Note: See TracChangeset
for help on using the changeset viewer.