We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We can improve the reliability of the mass balance solver by replacing
mass_transfers,residuals = scipy.optimize.nnls(self.mass_fraction_matrix,self.target_component_masses)
with something along the lines of
from scipy.optimize import Bounds lbs= [] for stock in self.stocks: lb = (stock.measure_out(PIPETTE_MINIMUM*units('ul')).mass).to('g').magnitude lbs.append(lb) bounds = Bounds(lb=lbs,keep_feasible=False) scipy.optimize.lsq_linear(self.mass_fraction_matrix,self.target_masses,bounds=bounds)
The text was updated successfully, but these errors were encountered:
When branches are created from issues, their pull requests are automatically linked.
We can improve the reliability of the mass balance solver by replacing
with something along the lines of
The text was updated successfully, but these errors were encountered: