biophysics_fitting
❭ parameters
❭ param_selector
param_selector¶
- biophysics_fitting.parameters.param_selector(params, s)¶
Select parameters from a Series with an Index like a.b.c, a.b.d.
params is a series with an index that contains strings seperated by “.” Therefore, params can reflect a hierarchy.
Example:
a.a 1 a.b 2 c.x 1 c.a.b 7
This method allows to select from that Series using a string.
Example:
>>> param\_selector(params, 'a'): a 1 b 2 >>> param\_selector(params, 'c.a'): b 7