tasks.diametrizer

Luigi tasks to diametrize cells.

Classes

BuildDiameterModels

Task to build diameter models from set of cells.

Diametrize

Task to build diameter models from set of cells.

Functions

_build_diameter_model(mtype[, morphs_df, ...])

Internal model builder for parallelisation.

_plot_models(models_params, models_data[, fig_folder, ext])

Plot the models.

_diametrizer(gid[, morphs_df, models_params, ...])

Module Contents

_build_diameter_model(mtype, morphs_df=None, config_model=None, morphology_path='morphology_path')

Internal model builder for parallelisation.

_plot_models(models_params, models_data, fig_folder='figures', ext='.png')

Plot the models.

class BuildDiameterModels(*args, **kwargs)

Bases: luigi_tools.task.WorkflowTask

Task to build diameter models from set of cells.

nb_jobs

Number of workers.

Type:

int

morphs_df_path
morphology_path
diameter_models_path
by_mtypes
plot_models
_diametrizer(gid, morphs_df=None, models_params=None, morphology_path='morphology_path', config=None, new_morphology_path=None)
class Diametrize(*args, **kwargs)

Bases: luigi_tools.task.WorkflowTask

Task to build diameter models from set of cells.

morphs_df_path
morphology_path
diameter_models_path
new_morphology_path
new_morphs_df_path