Changeset 2e9b98c in sasview for DataLoader


Ignore:
Timestamp:
Feb 9, 2009 12:52:12 PM (16 years ago)
Author:
Jae Cho <jhjcho@…>
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:
72637e8
Parents:
b568ec1b
Message:

The titles and units on 2d plots are corrected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DataLoader/data_info.py

    r24120ab r2e9b98c  
    154154    ## Slit length of the instrument for this detector.[float] [mm] 
    155155    slit_length = None 
    156     slit_length_unit = '1/A' 
     156    slit_length_unit = 'mm' 
    157157     
    158158    def __init__(self): 
     
    541541        1D data class 
    542542    """ 
    543     x_unit = '1/A' 
    544     y_unit = '1/cm' 
     543    x_unit = 'A^{-1}' 
     544    y_unit = 'cm^{-1}' 
    545545     
    546546    def __init__(self, x, y, dx=None, dy=None): 
     
    660660    """ 
    661661    ## Units for Q-values 
    662     Q_unit = '1/A' 
     662    Q_unit = 'A^{-1}' 
    663663     
    664664    ## Units for I(Q) values 
    665     I_unit = '1/cm' 
     665    I_unit = 'cm^{-1}' 
    666666     
    667667    ## Vector of Q-values at the center of each bin in x 
Note: See TracChangeset for help on using the changeset viewer.