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
Documentation unclear, incomplete, broken or wrong? Let us know