I have used the PiecewiseCubicPolyProfile.fromUniformData function in MATLAB to obtain sections/ polynomial coefficients for a ‘custom’ inlet protein/ salt profile.
I’m trying to port this to the python front-end. This might simply be my inexperience in python speaking, but is there a similar function to do this here?
I seem to explicitly define each section (i.e., ‘section_XXX’) and feed it its polynomial values. Is there an obvious way I’m missing to loop over this? (Except, perhaps, using an eval() )?