Changes in / [3444492:0d8ee36] in sasview


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    rbb1cb38 r4636f57  
     1# Test Travis CL 
     2 
    13language: python 
     4 
    25matrix: 
    36  include: 
    4   - os: linux 
    5     env: 
    6     - PY=2.7 
    7     - NUMPYSPEC=numpy 
    8   - os: osx 
    9     language: generic 
    10     env: 
    11     - PY=2.7 
    12     - NUMPYSPEC=numpy 
     7    - os: linux 
     8      env: 
     9        - PY=2.7 
     10        - NUMPYSPEC=numpy 
     11    - os: osx 
     12      language: generic 
     13      env: 
     14        - PY=2.7 
     15        - NUMPYSPEC=numpy 
     16 
     17# whitelist 
    1318branches: 
    1419  only: 
    15   - master 
     20    - master 
     21 
    1622addons: 
    1723  apt: 
    1824    packages: 
    19     - opencl-headers 
    20     - fglrx 
    21     - libblas-dev 
    22     - libatlas-dev 
    23     - libatlas-base-dev 
    24     - liblapack-dev 
    25     - gfortran 
    26     - libhdf5-serial-dev 
     25      - opencl-headers 
     26      - fglrx 
     27      - libblas-dev 
     28      - libatlas-dev 
     29      - libatlas-base-dev 
     30      - liblapack-dev 
     31      - gfortran 
     32      - libhdf5-serial-dev 
     33 
    2734before_install: 
    28 - echo $TRAVIS_OS_NAME 
    29 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh 
    30   -O miniconda.sh; sudo apt-get update; sudo apt-get install python-pyopencl; elif 
    31   [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh 
    32   -O miniconda.sh; fi 
    33 - bash miniconda.sh -b -p $HOME/miniconda 
    34 - export PATH="$HOME/miniconda/bin:$PATH" 
    35 - hash -r 
    36 - conda update --yes conda 
    37 - conda info -a 
    38 - conda install --yes python=$PY $NUMPYSPEC scipy cython pylint wxpython 
     35  - echo $TRAVIS_OS_NAME 
     36  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
     37        wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; 
     38        sudo apt-get update; sudo apt-get install python-pyopencl; 
     39    elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 
     40        wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; 
     41    fi 
     42 
     43  - bash miniconda.sh -b -p $HOME/miniconda 
     44  - export PATH="$HOME/miniconda/bin:$PATH" 
     45  - hash -r 
     46  - conda update --yes conda 
     47 
     48  # Useful for debugging any issues with conda 
     49  - conda info -a 
     50 
     51  # could install other dependencies, but they're locked to specific 
     52  # versions in build/requirements.txt 
     53  - conda install --yes python=$PY $NUMPYSPEC scipy cython pylint wxpython 
     54 
    3955install: 
    40 - pip install -r build_tools/requirements.txt 
    41 - pip install matplotlib 
     56  - pip install -r build_tools/requirements.txt 
     57  - pip install matplotlib 
     58 
     59#before_script: 
     60#  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
     61#        "export DISPLAY=:99.0"; "sh -e /etc/init.d/xvfb start"; sleep 3; # give xvfb some time to start 
     62#    fi 
     63 
    4264script: 
    43 - cd .. 
    44 - export WORKSPACE=$(pwd) 
    45 - git clone --depth=50 --branch=master https://github.com/SasView/sasmodels.git sasmodels 
    46 - git clone --depth=50 --branch=master https://github.com/bumps/bumps.git 
    47 - ls -ltr 
    48 - if [ ! -d "utils" ]; then mkdir utils; fi 
    49 - /bin/sh -xe sasview/build_tools/travis_build.sh 
    50 - export LC_ALL=en_US.UTF-8 
    51 - export LANG=en_US.UTF-8 
    52 notifications: 
    53   slack: 
    54     secure: TlsEpZiMLmOOgnmdG0I/oB4tq3bbQYeBBQi6S5qLlkYE9EjUTbbfg7oz0JYUsQ56FAsdFR8zswpBsX7PebZerzrq0ZmvfHSiJhOFIdBfY5Nb7bmLW8/9pUNWV57ON/8Gw2fE5ytc7FgvCGR64yb2QISI/150SIUwvdL5HXTxRWI= 
     65  - cd .. 
     66  # this should be the directory above the sasview directory, where we want to 
     67  # clone the sasmodels 
     68  - export WORKSPACE=$(pwd) 
     69  - git clone --depth=50 --branch=master https://github.com/SasView/sasmodels.git sasmodels 
     70 
     71  # required for documentation 
     72  - git clone --depth=50 --branch=master https://github.com/bumps/bumps.git 
     73 
     74  - ls -ltr 
     75  - if [ ! -d "utils" ]; then mkdir utils; fi 
     76  - /bin/sh -xe sasview/build_tools/travis_build.sh 
     77  - export LC_ALL=en_US.UTF-8 
     78  - export LANG=en_US.UTF-8 
     79#  - python setup.py docs; echo 0 
     80#  - python setup.py bdist_egg --skip-build 
     81 
  • src/sas/sasgui/guiframe/media/data_formats_help.rst

    r98c44f3 r48b8f6d  
    44.. by S King, ISIS, during SasView CodeCamp-III in Feb 2015. 
    55.. WG Bouwman, DUT, added during CodeCamp-V in Oct 2016 the SESANS data format 
    6 .. WG Bouwman, DUT, updated during CodeCamp-VI in Apr 2017 the SESANS data format 
    76 
    87.. _Formats: 
     
    8382The file format has a list of name-value pairs at the top of the file which detail the general experimental parameters necessary for fitting and analyzing data. This list should contain all the information necessary for the file to be 'portable' between users. 
    8483 
    85 Following the header is a 8 (only the first 4 are really needed) column list of instrument experimental variables: 
     84Following the header is a 6 column list of instrument experimental variables: 
    8685 
    8786- Spin echo length (z, in Angstroms) 
    88 - depolarization (:math:`log(P/P_0)/(lambda^2 * thickness)`, in Angstrom^-1 cm^-1) 
    89 - depolarization error in the same unit) (measurement error) 
    9087- Spin echo length error (:math:`\Delta`\ z, in Angstroms) (experimental resolution) 
    91 - Neutron wavelength (:math:`\lambda`, in Angstroms) 
     88- Neutron wavelength (:math:`\lambda`, in Angstroms) (essential for ToF instruments) 
    9289- Neutron wavelength error (:math:`\Delta \lambda`, in Angstroms) 
    9390- Normalized polarization (:math:`P/P_0`, unitless) 
     
    9693.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
    9794 
    98 .. note::  This help document was last changed by Wim Bouwman, 05Apr2017 
     95.. note::  This help document was last changed by Steve King, 07Oct2016 
Note: See TracChangeset for help on using the changeset viewer.