Changes between Initial Version and Version 1 of Ticket #1119, comment 1


Ignore:
Timestamp:
Sep 9, 2018 4:02:18 AM (6 years ago)
Author:
butler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1119, comment 1

    initial v1  
    1 External code can use several methods to run sasmodels, but in the beta_approx branch, the SasviewModel class has an API change in place allowing access to intermediate results from the P(Q)S(Q) calculation. 
     1External code can use several methods to run sasmodels, but in the beta_approx branch, the !SasviewModel class has an API change in place allowing access to intermediate results from the P(Q)S(Q) calculation. 
    22 
    3 SasviewModel.calculate_Iq now returns both I(Q) and a callable; the callable is used to generate a dict of intermediate results. beta(Q) is one of those results, if beta approximation is turned on. If the model in question is not a product model, the callable returns an empty dict. 
     3!SasviewModel.calculate_Iq now returns both I(Q) and a callable; the callable is used to generate a dict of intermediate results. beta(Q) is one of those results, if beta approximation is turned on. If the model in question is not a product model, the callable returns an empty dict. 
    44 
    55This is a breaking change for any existing calls to calculate_Iq, so if/when this is introduced into master, it must be under a new major version number (I recommend).