Changeset c8570c3 in sasview


Ignore:
Timestamp:
Mar 6, 2010 8:54:35 AM (15 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
af20f6b
Parents:
21d99c2
Message:

invariantview: fixed problem with surface/volume calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • invariantview/perspectives/invariant/invariant_panel.py

    r2661d8b rc8570c3  
    204204            if contrast is not None: 
    205205                try: 
    206                     v, dv = inv.get_volume_fraction_with_error(contrast=contrast) 
     206                    v, dv = inv.get_volume_fraction_with_error(contrast=contrast,  
     207                                                               extrapolation=extrapolation) 
    207208                    self.volume_ctl.SetValue(format_number(v)) 
    208209                    self.volume_err_ctl.SetValue(format_number(dv)) 
     
    214215                try: 
    215216                    s, ds = inv.get_surface_with_error(contrast=contrast, 
    216                                             porod_const=porod_const) 
     217                                            porod_const=porod_const, 
     218                                            extrapolation=extrapolation) 
    217219                    self.surface_ctl.SetValue(format_number(s)) 
    218220                    self.surface_err_ctl.SetValue(format_number(ds)) 
Note: See TracChangeset for help on using the changeset viewer.