Changeset ac7be54 in sasview for src/sas/data_util/formatnum.py


Ignore:
Timestamp:
May 8, 2015 2:27:08 PM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
5e880fe1
Parents:
c22c5e3
Message:

fix sphinx errors in api manual

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/data_util/formatnum.py

    r79492222 rac7be54  
    44Format values and uncertainties nicely for printing. 
    55 
    6 :func:`format_uncertainty_pm`(v,err) produces the expanded format v +/- err. 
    7  
    8 :func:`format_uncertainty_compact`(v,err) produces the compact format v(##), 
     6:func:`format_uncertainty_pm` produces the expanded format v +/- err. 
     7 
     8:func:`format_uncertainty_compact` produces the compact format v(##), 
    99where the number in parenthesis is the uncertainty in the last two digits of v. 
    1010 
    11 :func:`format_uncertainty`(v,err) uses the compact format by default, but this 
     11:func:`format_uncertainty` uses the compact format by default, but this 
    1212can be changed to use the expanded +/- format by setting  
    1313format_uncertainty.compact to False. 
Note: See TracChangeset for help on using the changeset viewer.