Ignore:
Timestamp:
25/10/08 02:55:50 (4 years ago)
Author:
Paul Kienzle
Message:

python: make docs and code correspond; simplify slab interface. Refs #101.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bindings/python/nxs/unit.py

    r1121 r1122  
    1313in the NeXus definition files. 
    1414 
    15 Unlike other units packages, such as that in DANSE, this package does 
    16 not carry the units along with the value, but merely provides a conversion 
    17 function for transforming values. 
     15Unlike other units modules, this module does not carry the units along  
     16with the value, but merely provides a conversion function for  
     17transforming values. 
    1818 
    19 Usage example: 
     19Usage example:: 
    2020 
    2121    import nxs.unit 
     
    2323    v = u(3000,'m')  # Convert the value 3000 mm into meters 
    2424 
    25 NeXus example: 
     25NeXus example:: 
    2626 
    2727    # Load sample orientation in radians regardless of how it is stored. 
Note: See TracChangeset for help on using the changeset viewer.