Changes in / [88aa3ee:31641b2] in sasmodels


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/generate.py

    r1edf610 rafda63c  
    684684 
    685685def poly_details(model_info, weights): 
    686     print("entering poly",weights) 
    687686    pars = model_info['parameters'][2:]  # skip scale and background 
    688687    max_pd = model_info['max_pd'] 
     
    707706        if theta_par >= 0 and pd_length[theta_par] <= 1: 
    708707            theta_par = -1 
    709  
    710     print("p","max_pd","constants_offset",par_offset,max_pd,constants_offset,npars) 
    711     print(idx) 
    712     print(pd_length[idx]) 
    713     print(pd_offset[idx]) 
    714     print(pd_stride) 
    715     print(pd_isvol[idx]) 
    716708 
    717709    details = np.empty(constants_offset + 2, 'int32') 
     
    727719    for k,parameter_num in enumerate(idx): 
    728720        details[coord_offset+parameter_num] = 2**k 
    729     details[constants_offset]   = 1   # fast_coord_count: one fast index 
     721    details[constants_offset] = 1   # fast_coord_count: one fast index 
    730722    details[constants_offset+1] = theta_par 
    731723    print ("details",details) 
Note: See TracChangeset for help on using the changeset viewer.