Changes in / [4fea1df:cb823f0] in sasview
- Files:
-
- 4 added
- 148 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
rdf332d8 r5dd7499 41 41 42 42 /docs/sphinx-docs/build 43 /docs/sphinx-docs/source-temp 43 44 /docs/sphinx-docs/source/dev/api 44 45 /docs/sphinx-docs/source/user/guiframe 45 46 /docs/sphinx-docs/source/user/models 46 47 /docs/sphinx-docs/source/user/perspectives 48 /docs/sphinx-docs/source/user/sasgui 49 47 50 48 51 # test outputs -
.travis.yml
r58918de red8f27e7 12 12 system_site_packages: true 13 13 before_install: 14 - 'if [ $TRAVIS_PYTHON_VERSION == "2.7" ]; then sudo apt-get update;sudo apt-get install python- numpy python-scipy python-matplotlib libhdf5-serial-dev python-h5py fglrx opencl-headers python-pyopencl; fi'14 - 'if [ $TRAVIS_PYTHON_VERSION == "2.7" ]; then sudo apt-get update;sudo apt-get install python-matplotlib libhdf5-serial-dev python-h5py fglrx opencl-headers python-pyopencl gfortran libblas-dev liblapack-dev libatlas-dev; fi' 15 15 16 16 install: -
build_tools/requirements.txt
rbe4cb41 r0ff9e1f 7 7 reportlab==2.5 8 8 lxml==2.3 9 PIL==1.1.79 #PIL==1.1.7 10 10 periodictable==1.3.0 11 11 bumps==0.7.5.9 12 # numpy==1.6.112 numpy>=1.7.1 13 13 scipy>=0.18.0 14 14 # wx==2.8.12.1 -
docs/sphinx-docs/build_sphinx.py
r578a11d r5dd7499 30 30 SASVIEW_DOCS = os.path.join(SASVIEW_BUILD, "doc") 31 31 SASVIEW_TEST = os.path.join(SASVIEW_SRC, "..", "sasview", "test", "media") 32 SASVIEW_TOC_SOURCE = os.path.join(CURRENT_SCRIPT_DIR, "source") 32 33 33 34 # Need to slurp in the new sasmodels model definitions to replace the old model_functions.rst … … 42 43 SASMODELS_SOURCE_IMG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "model", "img") 43 44 SASMODELS_SOURCE_AUTOIMG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "_build", "html","_images") 44 SASMODELS_DEST_PROLOG = os.path.join(CURRENT_SCRIPT_DIR, "source") 45 SASMODELS_DEST_REF_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "source", "user") 46 SASMODELS_DEST_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "source", "user", "models") 47 SASMODELS_DEST_IMG = os.path.join(CURRENT_SCRIPT_DIR, "source", "user", "model-imgs", "new-models") 48 SASMODELS_DEST_MAGIMG = os.path.join(CURRENT_SCRIPT_DIR, "source", "user", "mag_img") 49 SASMODELS_DEST_BUILDIMG = os.path.join(CURRENT_SCRIPT_DIR, "source", "user", "models", "img") 45 ## Don't do assemble-in-place 46 ## Assemble the docs in a temporary folder 47 SASMODELS_DEST_PROLOG = os.path.join(CURRENT_SCRIPT_DIR, "source-temp") 48 SASMODELS_DEST_REF_MODELS = os.path.join(SASMODELS_DEST_PROLOG, "user") 49 SASMODELS_DEST_MODELS = os.path.join(SASMODELS_DEST_PROLOG, "user", "models") 50 SASMODELS_DEST_IMG = os.path.join(SASMODELS_DEST_PROLOG, "user", "model-imgs", "new-models") 51 SASMODELS_DEST_MAGIMG = os.path.join(SASMODELS_DEST_PROLOG, "user", "mag_img") 52 SASMODELS_DEST_BUILDIMG = os.path.join(SASMODELS_DEST_PROLOG, "user", "models", "img") 50 53 51 54 #if os.path.exists(SASMODELS_SOURCE_PROLOG): … … 66 69 67 70 SPHINX_BUILD = os.path.join(CURRENT_SCRIPT_DIR, "build") 68 SPHINX_SOURCE = os.path.join(CURRENT_SCRIPT_DIR, "source ")71 SPHINX_SOURCE = os.path.join(CURRENT_SCRIPT_DIR, "source-temp") 69 72 SPHINX_SOURCE_API = os.path.join(SPHINX_SOURCE, "dev", "api") 70 73 SPHINX_SOURCE_GUIFRAME = os.path.join(SPHINX_SOURCE, "user", "sasgui", "guiframe") … … 104 107 _remove_dir(SASVIEW_DOCS) 105 108 _remove_dir(SPHINX_BUILD) 106 _remove_dir(SPHINX_SOURCE_GUIFRAME) 107 _remove_dir(SPHINX_SOURCE_MODELS) 108 _remove_dir(SPHINX_SOURCE_PERSPECTIVES) 109 _remove_dir(SPHINX_SOURCE_TEST) 110 109 _remove_dir(SPHINX_SOURCE) 110 #_remove_dir(SPHINX_SOURCE_GUIFRAME) 111 #_remove_dir(SPHINX_SOURCE_MODELS) 112 #_remove_dir(SPHINX_SOURCE_PERSPECTIVES) 113 #_remove_dir(SPHINX_SOURCE_TEST) 114 115 def setup_source_temp(): 116 """ 117 Copy the source toctrees to new folder for assembling the sphinx-docs 118 """ 119 print "=== Copying Source toctrees ===" 120 if os.path.exists(SASVIEW_TOC_SOURCE): 121 print "Found docs folder at ", SASVIEW_TOC_SOURCE 122 shutil.copytree(SASVIEW_TOC_SOURCE, SPHINX_SOURCE) 111 123 112 124 def retrieve_user_docs(): … … 336 348 def rebuild(): 337 349 clean() 350 setup_source_temp() 338 351 retrieve_user_docs() 339 352 retrieve_bumps_docs() -
sasview/local_config.py
rc1fdf84 r06707b6 44 44 '''This work benefited from the use of the SasView application, originally developed under NSF Award 45 45 DMR-0520547. SasView also contains code developed with funding from the EU Horizon 2020 research 46 and innovation programme under the SINE2020 project Grant No 654000 .'''46 and innovation programme under the SINE2020 project Grant No 654000 and by Adam Washington.''' 47 47 48 48 _acknowledgement = \ 49 49 '''This work was originally developed as part of the DANSE project funded by the US NSF under Award DMR-0520547, but is currently maintained by a 50 50 collaboration between UTK, UMD, NIST, ORNL, ISIS, ESS, ILL and ANSTO. SasView also contains code developed with funding from the EU Horizon 2020 51 research and innovation programme under the SINE2020 project (Grant No 654000) .'''51 research and innovation programme under the SINE2020 project (Grant No 654000) and by Adam Washington (corfunc-py).''' 52 52 53 53 _homepage = "http://www.sasview.org" -
sasview/test/media/testdata_help.rst
ra32aa3e rda456fb 7 7 sub-folder in your SasView installation folder. 8 8 9 The data sets are organized based on their data structure; 1D data, 2D data, 10 SASVIEW saved states, and data in formats that are not yet implemented but 11 which are in the works for future versions. 9 The test data sets are organized based on their data structure: 12 10 13 1D data sets have at least two columns of data with Intensity (assumed 14 absolute units) on the Y-axis and Q on the X-axis. 15 16 2D data sets are data sets that give the deduced intensity for each detector 17 pixel. Depending on the file extension, uncertainty and meta data may also be 18 available. 19 20 Saved states are projects and analyses saved by the SasView program. A single 21 analysis file contains the data and parameters for a single fit (.fit), p(r) 22 inversion (.pr), or invariant calculation (.inv). A project file (.svs) contains 23 the results for every active analysis. 24 25 Some of the available test data is described below. 11 - *1D data* 12 - *2D data* 13 - *coordinate data* 14 - *image data* 15 - *SESANS data* 16 - *save states* 17 - *upcoming formats* 26 18 27 19 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 28 20 21 1D Data 22 ^^^^^^^ 23 1D data sets EITHER have: 24 25 - at least two columns of data with I(Q) (assumed to be in absolute units) on the y-axis and Q on the x-axis. And additional columns of data may carry uncertainty data, resolution data, or other metadata. 26 27 OR: 28 29 - the I(Q) and Q data in separate files *with no other information*. 30 31 Data in the latter format need to be converted to a single file format with the :ref:`File_Converter_Tool` before they can be analysed in SasView. 32 29 33 1D Test Data 30 ^^^^^^^^^^^^ 34 ............ 35 33837rear_1D_1.75_16.5 36 - Data from a magnetically-oriented surfactant liquid crystal output by the Mantid framework. The data was collected on the SANS2D instrument at ISIS. 31 37 38 10wtAOT_Reline_120_reduced / Anton-Paar_PDH / saxsess_example 39 - Data from Anton-Paar SAXSess instruments saved in Otto Glatter's PDH format. 40 32 41 AOT_Microemulsion 33 42 - Aerosol-OT surfactant stabilised oil-in-water microemulsion data at three … … 35 44 (surfactant layer). 36 45 - Suitable for testing simultaneous fitting. 37 46 47 APS_DND-CAT 48 - ASCII data from the DND-CAT beamline at the APS. 49 50 APS_X / APS_Y 51 - ASCII data output by a reduction software package at the APS. 52 - Suitable for testing the :ref:`File_Converter_Tool` . 53 54 FIT2D_I / FIT2D_Q 55 - ASCII data output by the FIT2D software package at the ESRF. 56 - Suitable for testing the :ref:`File_Converter_Tool` . 57 38 58 hSDS_D2O 39 59 - h25-sodium dodecyl sulphate solutions at two concentrations: 0.5wt% (just … … 42 62 - Suitable for testing charged S(Q) models. 43 63 44 P123_D2O 45 - Lyotropic liquid crystalline solutions of non-ionic ABA block copolymer46 Pluronic P123 in water at three concentrations: 10wt%, 30wt%, and 40wt%.47 - Suitable for testing paracrystal models.64 ISIS_83404 / ISIS_98929 65 - Polyamide-6 fibres hydrated in D2O exhibiting a broad lamellar peak from the semi-crystalline nanostructure. 66 - This is the *same data* as that in Z8300* / Z9800* but in an amalgamated ASCII format! 67 - Suitable for testing :ref:`Correlation_Function_Analysis` . 48 68 49 69 ISIS_Polymer_Blend_TK49 … … 52 72 - Suitable for testing Poly_GaussCoil and RPA10 models. 53 73 74 P123_D2O 75 - Lyotropic liquid crystalline solutions of non-ionic ABA block copolymer 76 Pluronic P123 in water at three concentrations: 10wt%, 30wt%, and 40wt%. 77 - Suitable for testing paracrystal models. 78 79 Z8300*.I1D / Z8300*.QAX / Z9800*.I1D / Z9800*.QAX 80 - BSL/OTOKO data from polyamide-6 fibres hydrated in D2O exhibiting a broad lamellar peak from the semi-crystalline nanostructure. 81 - This is the *same data* as that in ISIS_83404 / ISIS_98929 but in an older separated format! 82 - Suitable for testing the :ref:`File_Converter_Tool` . 83 - Suitable for testing :ref:`Correlation_Function_Analysis` . 84 54 85 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 55 86 87 2D Data 88 ^^^^^^^ 89 2D data sets are data sets that give the reduced intensity for each Qx-Qy bin. Depending on the file format, uncertainty data and metadata may also be available. 90 56 91 2D Test Data 57 ^^^^^^^^^^^^ 92 ............ 93 33837rear_2D_1.75_16.5 94 - Data from a magnetically-oriented surfactant liquid crystal output by the Mantid framework. The data was collected on the SANS2D instrument at ISIS. 58 95 59 96 P123_D2O … … 64 101 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 65 102 103 Coordinate Data 104 ^^^^^^^^^^^^^^^ 105 Coordinate data sets, such as PDB or OMF files, and which describe a specific structure, are designed to be read and viewed in the :ref:`SANS_Calculator_Tool` . 106 107 Coordinate Test Data 108 .................... 109 A_Raw_Example-1 110 - OMF format data file from a simulation of magnetic spheres. 111 112 diamond 113 - PDB format data file for diamond. 114 115 dna 116 - PDB format data file for DNA. 117 118 sld_file 119 - Example SLD format data file. 120 121 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 122 123 Image Data 124 ^^^^^^^^^^ 125 Image data sets are designed to be read by the :ref:`Image_Viewer_Tool` . They can be converted into synthetic 2D data. 126 127 Image Test Data 128 ............... 129 ISIS_98940 130 - Polyamide-6 fibres hydrated in D2O exhibiting a broad lamellar peak from the semi-crystalline nanostructure. 131 - Data is presented in Windows Bitmap (BMP), GIF, JPEG (JPG), PNG, and TIFF (TIF) formats. 132 133 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 134 135 SESANS Data 136 ^^^^^^^^^^^ 137 SESANS (Spin-Echo SANS) data sets primarily contain the neutron polarisation as a function of the spin-echo length. Also see :ref:`SESANS` . 138 139 SESANS Test Data 140 ................ 141 spheres2micron 142 - SESANS data from 2 micron polystyrene spheres in 53% H2O / 47% D2O. 143 144 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 145 146 Save States 147 ^^^^^^^^^^^ 148 Saved states are projects and analyses saved by the SasView program. A single 149 analysis file contains the data and parameters for a single fit (.fit), p(r) 150 inversion (.prv), or invariant calculation (.inv). A project file (.svs) contains 151 the results for every active analysis in a SasView session. 152 66 153 Saved State Test Data 67 ^^^^^^^^^^^^^^^^^^^^^ 154 ..................... 155 fitstate.fitv 156 - a saved fitting analysis. 68 157 69 _phi_weights.txt 158 test.inv 159 - a saved invariant analysis. 70 160 71 _radius_dist.txt 161 test002.inv 162 - a saved invariant analysis. 72 163 73 _THETA_weights.txt 74 75 fitstate.fitv 164 prstate.prv 165 - a saved P(r) analysis. 76 166 77 167 newone.svs 168 - a saved SasView project. 78 169 79 prstate.prv 170 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 80 171 81 sld_file.sld 82 83 test.inv 84 85 test002.inv 172 Upcoming Formats 173 ^^^^^^^^^^^^^^^^ 174 Data in this folder are in formats that are not yet implemented in SasView but which might be in future versions of the program. 86 175 87 176 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ … … 89 178 Other Test Data 90 179 ^^^^^^^^^^^^^^^ 180 phi_weights.txt 91 181 92 1000A_sphere_sm.xml 182 radius_dist.txt 93 183 94 diamond.pdb 95 96 dna.pdb 184 THETA_weights.txt 97 185 98 186 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 99 187 100 .. note:: This help document was last changed by Steve King, 26Jun2015188 .. note:: This help document was last changed by Steve King, 06Oct2016 -
src/sas/sasgui/perspectives/calculator/media/image_viewer_help.rst
rd85c194 rda456fb 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 .. _Image_Viewer_Tool: 5 7 6 8 Image Viewer Tool -
src/sas/sasgui/perspectives/calculator/media/sas_calculator_help.rst
r7805458 rda456fb 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 .. _SANS_Calculator_Tool: 5 7 6 8 Generic SANS Calculator Tool -
src/sas/sasgui/perspectives/corfunc/media/corfunc_help.rst
rf56770ef rda456fb 1 1 .. corfunc_help.rst 2 3 .. _Correlation_Function_Analysis: 2 4 3 5 Correlation Function Analysis -
src/sas/sasgui/perspectives/file_converter/media/file_converter_help.rst
r97e90b7 rda456fb 1 1 .. file_converter_help.rst 2 3 .. _File_Converter_Tool: 2 4 3 5 File Converter Tool
Note: See TracChangeset
for help on using the changeset viewer.