e_model_packager.synaptic_plasticity.workflow

Workflow to extract glusynapse cells.

Classes

PrecellConfig(*args, **kwargs)

Create config s.t.

PrecellConfigTarget(layers, pregid, postgid)

Checks that the amplitude check has not been performed yet.

PrepareMEModelDirectory(*args, **kwargs)

Task to prepare the e-model directory.

RunPyScript(*args, **kwargs)

Task to run the python script for an emodel.

RunWorkflow(*args, **kwargs)

Task to extract all cells.

class PrecellConfig(*args, **kwargs)

Bases: Task

Create config s.t. the precell runs as expected during repeated spikes.

output()

Output.

requires()

Requires the output paths to be made.

run()

Run cell and record spike delay.

class PrecellConfigTarget(layers, pregid, postgid)

Bases: Target

Checks that the amplitude check has not been performed yet.

Constructor.

exists()

Check if the spike delay is written in the configfiles.

class PrepareMEModelDirectory(*args, **kwargs)

Bases: Task

Task to prepare the e-model directory.

copy_config_data(input_dir, output_dir, emodels)

Copy params, final and recipes from config.

copy_mechanisms()

Copy mechanisms into output directory.

copy_scripts()

Copy scripts.

copy_spike_train()

Copy spike train data from pre-cell.

static copy_unoptimized_params(input_dir, output_dir, emodels)

Copy unoptimized params folder.

static get_final_dict(input_dir, emodels)

Get trimmed recipes and final dicts.

makedirs()

Make directories.

output()

Produces a .completed.txt file after all steps are done.

property output_folder

The directory containing the output files.

run()

Create directory and copy data.

class RunPyScript(*args, **kwargs)

Bases: Task

Task to run the python script for an emodel.

output()

Produces the python recordings.

requires()

Requires the output paths to be made.

run()

Executes the python script.

class RunWorkflow(*args, **kwargs)

Bases: WrapperTask

Task to extract all cells.

requires()

Create MEModelDirectory for each cell.