Changeset 8bdc103 in sasview


Ignore:
Timestamp:
Jul 12, 2016 4:22:11 AM (8 years ago)
Author:
lewis
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
0390040
Parents:
d03228e
Message:

Take absolute value of polydispersity

Location:
src/sas
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/corfunc/corfunc_calculator.py

    rd03228e r8bdc103  
    215215        d0 = x[mask[-1]]  # End of Linear Section 
    216216        GammaMax = y[mask[-1]] 
    217         A = -GammaMin/GammaMax  # Normalized depth of minimum 
     217        A = np.abs(GammaMin/GammaMax)  # Normalized depth of minimum 
    218218 
    219219        params = { 
  • src/sas/sasgui/perspectives/corfunc/corfunc_panel.py

    rd03228e r8bdc103  
    2020    'dtr': "Average Interface Thickness (A): ", 
    2121    'd0': "Average Core Thickness: ", 
    22     'A': "PolyDispersity: ", 
     22    'A': "Polydispersity: ", 
    2323    'fill': "Local Crystallinity: " 
    2424} 
Note: See TracChangeset for help on using the changeset viewer.