biophysics_fittingexploration_from_seedpointRW_analysis

RW_analysis

This module provides routines to analyze the results of a random walk exploration through biophysical parameter space.

See also

RW

Classes

Load

Class for efficiently loading exploration results

Functions

read_parameters(seed_folder, particle_id, normalized, only_in_space, only_return_parameters, param_names, param_ranges)

Read the biophysical parameters that were explored during a RW exploration.

robust_read_pickle(path)

Read a pickled dataframe. If it cannot be read, still return a dataframe, containing an error as content.

read_pickle(seed_folder, particle_id)

Read the results of a single particle of a RW exploration.

read_all(basedir, n_particles_start, n_particles_end)

Read the results of all directories contained within some base directory, independent of which seepdoint or particle.

get_inside_fraction(l)

Print the fraction of models that are inside the objective space.

normalize(df, params)

Normalize a pd.DataFrame according to the values of specified parameters.

get_param_range_evolution_from_ddf(ddf, params, return_mi_ma)

Compute the range of parameters explored by a RW exploration, as a fraction of the total parameter range.

get_index(dataframe, channel)

Compute the depolarization or hyperpolarization index.

get_depolarization_index(dataframe)

Compute the relative difference in depolarization contribution of Ca_LVA and Ca_HVA during the BAC stimulus.

get_hyperpolarization_index(dataframe)

Compute the relative difference in hyperpolarization contribution of Im and SK during the BAC stimulus.

augment_ddf_with_PCA_space(ddf)

Augment a dask dataframe with the first two principal components of the hz current space.

pandas_binby(df, c1, c2, binsize)

Bin a pandas dataframe by two columns.