Sample Workflow =================== Crease_ga allows the user to fit scattering profiles only using several lines of python code in an intuitive way. Below is a sample workflow for a user who would like to adopt CREASE to analyze an input scattering profile for vesicles. .. code:: ipython3 import crease_ga as cga #Initialize a model m = cga.Model(pop_number = 5, generations = 5, nloci = 7) #load a shape m.load_shape(shape='vesicle',shape_params=[24,54,0.5,50.4,50.4,0.55,7], minvalu = (50, 30, 30, 30, 0.1, 0.0, 0.1), maxvalu = (400, 200, 200, 200, 0.45, 0.45, 4)) #Read Iexp(q) from a file m.load_iq('../IEXP_DATA/Itot_disper_10_Ain12_B6_Aout12_nLP7_dR0.2.txt') #Solve m.solve(output_dir='./test_outputs_1') The user can try this code out by downloading and running the jupyter notebook `here `_.