The Virtual Brain Project

Table Of Contents

Previous topic

interfaces Package

Next topic

demos Package

This Page

command Package

benchmark

This module is used to measure simulation performance with the Command Profile. Some standardized simulations are run and a report is generated in the console output.

class tvb.interfaces.command.benchmark.Bench(model_kws, connectivities, conductions, int_dts, sim_lengths)[source]

Bases: object

COLW = [22, 6, 5, 9, 7, 9]
FS = '| %22s | %6s | %5s | %9s | %7s | %9s |'
LINE = '+------------------------+--------+-------+-----------+---------+-----------+'
col = '-----------'
report()[source]
run(project_id)[source]
tvb.interfaces.command.benchmark.main()[source]

Launches a set of standardized simulations and prints a report of their running time. Creates a new project for these simulations.

lab

A convenience module for the command interface .. moduleauthor:: Mihai Andrei <mihai.andrei@codemart.ro>

tvb.interfaces.command.lab.datatype_details(id)[source]
tvb.interfaces.command.lab.fire_simulation(project_id=1, **kwargs)[source]
tvb.interfaces.command.lab.import_conn_zip(project_id, zip_path)[source]
tvb.interfaces.command.lab.list_datatypes(project_id)[source]
tvb.interfaces.command.lab.list_projects()[source]
tvb.interfaces.command.lab.load_dt(id)[source]
tvb.interfaces.command.lab.new_project(name)[source]