Changeset af92b73 in sasmodels
- Timestamp:
- Mar 18, 2016 12:49:21 PM (9 years ago)
- 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:
- 9c77bcf
- Parents:
- 092cb3c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
rd6850fa raf92b73 539 539 try: 540 540 base_value, base_time = time_calculation(base, pars, Nbase) 541 print("%s t=%. 1f ms, intensity=%.0f"541 print("%s t=%.2f ms, intensity=%.0f" 542 542 % (base.engine, base_time, sum(base_value))) 543 543 except ImportError: … … 550 550 try: 551 551 comp_value, comp_time = time_calculation(comp, pars, Ncomp) 552 print("%s t=%. 1f ms, intensity=%.0f"552 print("%s t=%.2f ms, intensity=%.0f" 553 553 % (comp.engine, comp_time, sum(comp_value))) 554 554 except ImportError: … … 584 584 if Ncomp > 0: plt.subplot(131) 585 585 plot_theory(data, base_value, view=view, use_data=False, limits=limits) 586 plt.title("%s t=%. 1f ms"%(base.engine, base_time))586 plt.title("%s t=%.2f ms"%(base.engine, base_time)) 587 587 #cbar_title = "log I" 588 588 if Ncomp > 0: 589 589 if Nbase > 0: plt.subplot(132) 590 590 plot_theory(data, comp_value, view=view, use_data=False, limits=limits) 591 plt.title("%s t=%. 1f ms"%(comp.engine, comp_time))591 plt.title("%s t=%.2f ms"%(comp.engine, comp_time)) 592 592 #cbar_title = "log I" 593 593 if Ncomp > 0 and Nbase > 0:
Note: See TracChangeset
for help on using the changeset viewer.