Changeset 9068f4c in sasmodels
- Timestamp:
- Oct 14, 2016 4:09:58 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 87bc707
- Parents:
- 5bddd89
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
r234c532 r9068f4c 81 81 -default/-demo* use demo vs default parameters 82 82 -html shows the model docs instead of running the model 83 -title="note" adds note to the plot title, after the model name 83 84 84 85 Any two calculation engines can be selected for comparison: … … 679 680 else: 680 681 err, errstr, errview = abs(relerr), "rel err", "log" 682 #sorted = np.sort(err.flatten()) 683 #cutoff = sorted[int(sorted.size*0.95)] 684 #err[err>cutoff] = cutoff 681 685 #err,errstr = base/comp,"ratio" 682 686 plot_theory(data, None, resid=err, view=errview, use_data=False) … … 691 695 fig.suptitle(opts['name']) 692 696 693 if n_comp > 0 and n_base > 0 and '-hist' in opts:697 if n_comp > 0 and n_base > 0 and opts['show_hist']: 694 698 plt.figure() 695 699 v = relerr
Note: See TracChangeset
for help on using the changeset viewer.