Changeset ca10d8e in sasview for DataLoader/data_info.py


Ignore:
Timestamp:
Feb 11, 2009 4:12:47 PM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
acb37d9
Parents:
1309e919
Message:

reverse code from version 1237 with modification on output axis unit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DataLoader/data_info.py

    r2e9b98c rca10d8e  
    154154    ## Slit length of the instrument for this detector.[float] [mm] 
    155155    slit_length = None 
     156    #slit_length_unit = '1/A' 
    156157    slit_length_unit = 'mm' 
    157158     
     
    541542        1D data class 
    542543    """ 
    543     x_unit = 'A^{-1}' 
    544     y_unit = 'cm^{-1}' 
     544    x_unit = '1/A' 
     545    y_unit = '1/cm' 
    545546     
    546547    def __init__(self, x, y, dx=None, dy=None): 
     
    660661    """ 
    661662    ## Units for Q-values 
    662     Q_unit = 'A^{-1}' 
     663    Q_unit = '1/A' 
    663664     
    664665    ## Units for I(Q) values 
    665     I_unit = 'cm^{-1}' 
     666    I_unit = '1/cm' 
    666667     
    667668    ## Vector of Q-values at the center of each bin in x 
Note: See TracChangeset for help on using the changeset viewer.