You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
generate_burst_train calls get_a_b, which determines the coefficients for the linear flux interpolation, each time it is run. This step needs to be done only once (e.g. when the Beans object is initialised and the flux measurements read in). The a, b coefficients could then be stored as object attributes and passed to the function
The text was updated successfully, but these errors were encountered:
resolved by now allowing more than one choice for the interpolation function, determined upon init with the interp option (allowed values spline and linear, latter the default). Interpolation function is an attribute of the Beans object (along with the coefficients for both the linear and spline versions, so only need to calculate them once)
Description
generate_burst_train calls get_a_b, which determines the coefficients for the linear flux interpolation, each time it is run. This step needs to be done only once (e.g. when the Beans object is initialised and the flux measurements read in). The a, b coefficients could then be stored as object attributes and passed to the function
The text was updated successfully, but these errors were encountered: