Params

lumicks.pylake.fitting.parameters.Params

class Params(**kwargs)

A dictionary of Parameter.

Examples

import lumicks.pylake as lk
fit = lk.FdFit(lk.ewlc_odijk_distance("my_model"))

print(fit.params)  # Prints the model parameters
fit["my_model/Lc"].value = 5  # Set parameter my_model/Lc to 5
fit["my_model/Lc"].fixed = True  # Fix parameter my_model/Lc (do not fit)

# Copy parameters from another Parameters into this one.
parameters.update_params(other_parameters)

# Copy the parameters from an earlier fit into the combined model.
fit_combined_model.update_params(fit)
update_params(other)

Sets parameters if they are found in the target parameter list.

Parameters:

other (Params) –