Changeset d772f5d in sasmodels for multi-fit.py


Ignore:
Timestamp:
Jul 23, 2014 1:25:44 PM (10 years ago)
Author:
HMP1 <helen.park@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
dbb0048
Parents:
9a9f5b5
Message:

Added 1D Fit, fixed fitting error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multi-fit.py

    r9a9f5b5 rd772f5d  
    55from code_lamellar import GpuLamellar 
    66from code_ellipse import GpuEllipse 
    7 from sasmodel import SasModel, load_data, set_beam_stop, set_half 
     7from multisasmodels import SasModel, load_data, set_beam_stop, set_half 
    88import numpy as np 
    99 
    10 data = load_data('DEC07269.DAT') 
     10data = load_data('DEC07282.DAT') 
    1111set_beam_stop(data, 0.0052)#, outer=0.025) 
    1212#set_half(data, 'left') 
    1313 
    1414truth = SasModel(data, GpuEllipse, 
    15                 scale=.5, radius_a=45.265, radius_b=600.8, sldEll=.291e-6, sldSolv=7.105e-6, 
     15                scale=.0011, radius_a=45.265, radius_b=600.8, sldEll=.291e-6, sldSolv=7.105e-6, 
    1616                 background=8.30161, axis_theta=0, axis_phi=0, 
    1717                 radius_a_pd=0.222296, radius_a_pd_n=1, radius_a_pd_nsigma=0, 
Note: See TracChangeset for help on using the changeset viewer.